Bug 38070

Summary: Blender fonts are blurry
Product: Mesa Reporter: Pascal Billery-Schneider <sagittarius>
Component: Drivers/DRI/r200Assignee: Default DRI bug account <dri-devel>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: 7.10   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot, dmesg, glxinfo, Xorg.0.log, xorg.conf
Blender screenshots portions after mesa git

Description Pascal Billery-Schneider 2011-06-08 03:18:35 UTC
Created attachment 47711 [details]
Screenshot, dmesg, glxinfo, Xorg.0.log, xorg.conf

3D works great but Blender fonts do not display correctly on my ATI rv280 9200 graphic card.

01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)

The only workaround is to use:
LIBGL_ALWAYS_SOFTWARE=1 blender

My installation is on Mageia distro with KMS enabled (default):

glxinfo|grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R200 (RV280 5960) 20090101  TCL DRI2

and with these packages:

x11-server-xorg-1.10.1-1.mga1
x11-driver-video-ati-6.14.1-4.mga1
mesa-7.10.2-4.mga1
lib64drm2-2.4.25-1.mga1
lib64drm_radeon1-2.4.25-1.mga1
Comment 1 Pascal Billery-Schneider 2011-06-08 05:47:38 UTC
I forgot to say that when I open the user preferences in Blender, Blender crashes with:

X Error of failed request:  BadMatch (invalid parameter attributes)                                                                                                                                                
  Major opcode of failed request:  155 (GLX)                                                                                                                                                                       
  Minor opcode of failed request:  11 (X_GLXSwapBuffers)                                                                                                                                                           
  Serial number of failed request:  1007                                                                                                                                                                           
  Current serial number in output stream:  1008


So, the only way for the moment to be able to use Blender is to toggle composite and run de special script ./blender-softwaregl :(
Comment 2 Alex Deucher 2011-06-08 08:00:34 UTC
Does mesa from git help?
Comment 3 Pascal Billery-Schneider 2011-06-08 08:42:05 UTC
First thank you for your interest.

Well, I did not try yet on this computer for this one is for my work.

I shall look at http://www.mesa3d.org/install.html ?
Comment 4 Pascal Billery-Schneider 2011-06-08 10:12:51 UTC
I managed to compile mesa git according to: http://www.x.org/wiki/radeonBuildHowTo

with these options:

DRI_DRIVERS="radeon,r200,r300,r600,swrast" && ./autogen.sh --prefix=/opt/xorg --with-dri-drivers=$DRI_DRIVERS --disable-gallium --enable-glx-tls --with-dri-driverdir=/opt/xorg/lib/dri/

So I get now:
ldconfig -p | grep libGL.so
        libGL.so.1 (libc6,x86-64, Système d'exploitation ABI : Linux 2.4.20) => /opt/xorg/lib/libGL.so.1
        libGL.so.1 (libc6,x86-64) => /usr/lib64/libGL.so.1
        libGL.so.1 (libc6) => /usr/lib/libGL.so.1
        libGL.so (libc6,x86-64, Système d'exploitation ABI : Linux 2.4.20) => /opt/xorg/lib/libGL.so
        libGL.so (libc6,x86-64) => /usr/lib64/libGL.so

I'am going to reboot and see.
Comment 5 Pascal Billery-Schneider 2011-06-08 11:17:10 UTC
So.

It seems much better with git mesa. I've made a small try therefore.

No need to specify a GL variable to display the fonts, no crash when opening dialogbox.

But there are still little artefacts when mouse cursor is "hovering" menus or buttons.
Comment 6 Pascal Billery-Schneider 2011-06-08 11:25:03 UTC
Created attachment 47729 [details]
Blender screenshots portions after mesa git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.