Page 5 of 18
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Mon Aug 10, 2015 8:14 pm
by marcus
FYI: I tested Jason's "be-fixes" branch (
http://cgit.freedesktop.org/~jekstrand/ ... p/be-fixes) without any additional patches. The results were:
32-bit root window: Still no visuals available
16-bit root window:
Software rendering (Gallium 0.4 on softpipe): Correct colours in glxgears
Hardware rendering (Gallium 0.4 on AMD TURKS (DRM 2.40.0)): Wrong colours in glxgears
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Mon Aug 10, 2015 8:53 pm
by xeno74
marcus wrote:FYI: I tested Jason's "be-fixes" branch (
http://cgit.freedesktop.org/~jekstrand/ ... p/be-fixes) without any additional patches. The results were:
32-bit root window: Still no visuals available
16-bit root window:
Software rendering (Gallium 0.4 on softpipe): Correct colours in glxgears
Hardware rendering (Gallium 0.4 on AMD TURKS (DRM 2.40.0)): Wrong colours in glxgears
Many thanks for testing. OK, Oded's patches didn't solve our problems.

Correct?
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Mon Aug 10, 2015 8:56 pm
by marcus
Not all of them at least...
Only one patch by Oded is on the branch (the swizzle one), the other one is still under debate (and Oded himself had some new thoughts on it). There are a few other patches by Marek and by Jason himself, there might be more. I'm hoping for this one for example:
http://lists.freedesktop.org/archives/m ... 91284.html 
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Tue Aug 11, 2015 10:54 am
by xeno74
marcus wrote:Not all of them at least...
Only one patch by Oded is on the branch (the swizzle one), the other one is still under debate (and Oded himself had some new thoughts on it). There are a few other patches by Marek and by Jason himself, there might be more. I'm hoping for this one for example:
http://lists.freedesktop.org/archives/m ... 91284.html 
Thank you very much for your information and thank you for testing! I've found some further information today.
[Mesa-dev] [PATCH] mesa/formats: Only do byteswapping for packed formats:
http://lists.freedesktop.org/archives/m ... 91186.html
PLEASE cross your fingers that the guys can solve the problems. I hope we can activate 3D acceleration with the right colors on AMD Radeon HD 7XXX graphics cards and higher. The new AMDGPU kernel DRM driver is already compiled as a kernel module and included in the kernel 4.2 package.
Cheers,
Christian
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Wed Aug 12, 2015 8:29 pm
by xeno74
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Wed Aug 12, 2015 10:03 pm
by marcus
Small update: All commits on Jason's "be-fixes" branch have now been merged to the master branch (which will become Mesa 11). This includes Oded's "v2" patch.
No further improvment in behaviour, as far as I can tell.
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Thu Aug 13, 2015 7:53 am
by xeno74
marcus wrote:Small update: All commits on Jason's "be-fixes" branch have now been merged to the master branch (which will become Mesa 11). This includes Oded's "v2" patch.
No further improvment in behaviour, as far as I can tell.
Have you compiled it yet?
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Thu Aug 13, 2015 11:32 am
by xeno74
I tried it out without patching today.
Code: Select all
git clone git://anongit.freedesktop.org/mesa/mesa mesa-git
Code: Select all
./autogen.sh --prefix /usr/local/mesa-git --with-gallium-drivers="r600,swrast" --enable-texture-float
Code: Select all
export LD_LIBRARY_PATH=/usr/local/mesa-git/lib/
name of display: :0.0
libGL: OpenDriver: trying /usr/local/mesa-git/lib/dri/r600_dri.so
libGL: Can't open configuration file /home/christian/.drirc: No such file or directory.
libGL: Can't open configuration file /home/christian/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/local/mesa-git/lib/dri/swrast_dri.so
libGL: Can't open configuration file /home/christian/.drirc: No such file or directory.
libGL: Can't open configuration file /home/christian/.drirc: No such file or directory.
display: :0 screen: 0
direct rendering: Yes
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: r600
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on softpipe
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.0-devel (git-86a72ee)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.0.0-devel (git-86a72ee)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
After loading the unofficial Mesa 10.0.4 all problems were gone.
Code: Select all
export LD_LIBRARY_PATH=/usr/local/mesa-10.0.4/lib/
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.0.4
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.0.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Thu Aug 13, 2015 12:22 pm
by xeno74
Unfortunately the problems are still exist in Mesa. You still need our unofficial Mesa versions to get 3D acceleration on new Linux distributions.
Re: Mesa 9.2.2-1 and 10.0.0-1
Posted: Thu Aug 13, 2015 1:42 pm
by marcus
The patch for the fbConfig issue (by Michel Dänzer) is neither on be-fixes or master. I did try including it manually though, but it did not work for me. Only 16-bit root window works. :-/