LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Something wrong with opengl or direct rendering? (https://www.linuxquestions.org/questions/linux-newbie-8/something-wrong-with-opengl-or-direct-rendering-701042/)

ahc_fan 01-30-2009 10:41 AM

Something wrong with opengl or direct rendering?
 
This problem is occuring with Mandriva 2009 using the fglrx 8.52.3 driver. The latest driver does the same thing. It's hard for me to explain what happens but whenever I run something that uses 3d acceleration the screen gets all messed up. I can vaguely make out where windows and buttons are but everything is all pixelated until I close the program causing it. I tried to take a screenshot of this but in the screenshot everything appears normal. So far this has happened when I use KDE's composite effects using shared memory, Blender with direct rendering(doesn't happen with Blender without DRI), and 3d games using wine.

What's weird is that the very first time I installed Mandriva I installed Wine and Guild Wars and it actually worked. I believe I closed Guild Wars and the next time I opened it this problem started and has been happening ever since. Even after formatting the partitions and reinstalling.

According to glxinfo direct rendering is enabled. Xorg.0.log has no errors but a bunch of warnings that AIGLX 3d driver claims to not support some visual 0x??. There are 80 of these warnings starting at 0x23 ending at 0x72. I have noticed that if I run compiz-fusion with glx all of these warnings disappear yet if I run any other compositing or none at all, even if I disable composite extension altogether, the warnings come back.

Thanks in advance. Any help would be greatly appreciated!

farslayer 01-30-2009 11:51 AM

Have you worked through the dri troubleshooting page yet ? http://dri.freedesktop.org/wiki/DriTroubleshooting

ahc_fan 01-30-2009 12:20 PM

Thanks for the link. In the AGP section of that page it says to do "dmesg | grep drm". I did and got no output. Does this mean drm is not being loaded by the kernel? If so how can I fix that? I'm afraid I have no experience compiling kernel modules from source.

I'm also confused because everything else on that page checks out -- no errors or missing info. Also the output from running blender from the command line seems (to me anyway) to indicate that drm is working properly:

Quote:

Compiled with Python version 2.5.2.
Checking for installed Python... got it!
libGL: XF86DRIGetClientDriverName: 8.52.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports PCI:1:0:0


All times are GMT -5. The time now is 05:10 PM.