[Mesa-dev] [radeonsi] Blender/vsraytrace/fsraytrace/gsraytrace - GPUShader: compile error
Richard Biener
rguenther at suse.de
Tue Nov 13 07:19:57 UTC 2018
SR#648671
On Tue, 13 Nov 2018, Dieter Nützel wrote:
> GREAT hint Tim!
>
> Yes, of course.
>
> /home/dieter> gcc --version
> gcc (SUSE Linux) 8.2.1 20181025 [gcc-8-branch revision 265488]
>
> So I have to ping SUSE to push the fix, too.
>
> Thanks a lot.
>
> Dieter
>
> Am 12.11.2018 08:28, schrieb Timothy Arceri:
> > I'm guessing your using GCC 8.2.1 to compile Mesa? There was a compiler bug:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1645400
> >
> > On 12/11/18 2:11 pm, Dieter Nützel wrote:
> > > Hello,
> > >
> > > I get brocken shaders with Blender and the above demos didn't start
> > > any longer.
> > >
> > > NOT NIR related.
> > > Have to start bisect.
> > >
> > > OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.27.0,
> > > 4.19.0-rc1-1.g7262353-default+, LLVM 8.0.0)
> > > OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel
> > > (git-590fcb50e7)
> > > OpenGL core profile shading language version string: 4.50
> > >
> > > mesa-demos/glsl> blender
> > > Read prefs: /home/dieter/.config/blender/2.79/config/userpref.blend
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: pci id for fd 16: 1002:67df, driver radeonsi
> > > libGL: OpenDriver: trying /usr/local/lib64/dri/tls/radeonsi_dri.so
> > > libGL: OpenDriver: trying /usr/local/lib64/dri/radeonsi_dri.so
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > usr/share/libdrm/amdgpu.ids version: 1.0.0
> > > libGL: Using DRI3 for screen 0
> > > Read blend: /data/Blender/BMW3v2.blend
> > > 2.66 versioning fix: replacing black sky with premultiplied alpha for
> > > scene Scene
> > > Read blend: /data/Blender/BMW27GE.blend
> > > GPUShader: compile error:
> > > 0:1177(22): error: invalid input layout qualifier used
> > > [-]
> > >
> > > Read blend: /data/Blender/BMW27.blend
> > > skipping driver '100*power', automatic scripts are disabled
> > > skipping driver '-100*power', automatic scripts are disabled
> > > skipping driver '-90*brake', automatic scripts are disabled
> > > skipping driver '90*brake', automatic scripts are disabled
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > Read blend: /data/Blender/sanisidro.blend
> > > Read blend: /data/Blender/bh.blend
> > > Info: Read library: '/projeto.blend', '//../../projeto.blend', parent
> > > '<direct>'
> > > Warning: Cannot find lib '/projeto.blend'
> > > Warning: LIB: Group: 'Projeto' missing from '/projeto.blend', parent
> > > '<direct>'
> > > Info: Read library: '/projeto.blend', '//../../projeto.blend', parent
> > > '<direct>'
> > > Warning: Unable to open '/projeto.blend': No such file or directory
> > > Warning: Cannot find lib '/projeto.blend'
> > > Warning: LIB: Group: 'Projeto' missing from '/projeto.blend', parent
> > > '<direct>'
> > >
> > > GPUShader: compile error:
> > > 0:1177(22): error: invalid input layout qualifier used
> > > [-]
> > >
> > > mesa-demos/glsl> ./fsraytrace
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: pci id for fd 4: 1002:67df, driver radeonsi
> > > libGL: OpenDriver: trying /usr/local/lib64/dri/tls/radeonsi_dri.so
> > > libGL: OpenDriver: trying /usr/local/lib64/dri/radeonsi_dri.so
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > libGL: Can't open configuration file /usr/local/etc/drirc: No such file or
> > > directory.
> > > usr/share/libdrm/amdgpu.ids version: 1.0.0
> > > libGL: Using DRI3 for screen 0
> > > Error: problem compiling shader: 0:48(2): error: invalid input layout
> > > qualifier used
> > >
> > > Same with 'vsraytrace' and 'gsraytrace'.
> > >
> > > Thanks,
> > > Dieter
> > > _______________________________________________
> > > mesa-dev mailing list
> > > mesa-dev at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
--
Richard Biener <rguenther at suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
More information about the mesa-dev
mailing list