Bugzilla – Bug 147216
No DRI with S3 Unichrome KM400
Last modified: 2006-02-20 11:25:15 UTC
After getting my graphic card to work with "VBEModes" "true" I tried DRI. But with gfxinfo I get the message: direct rendering: no I tried the composite shadow effects in KDE but they don't work although I enabled Composite in xorg.conf. With Ubuntu Dapper Beta I get DRI support without problems. I will attach all relevant files - my Ubuntu Dapper xorg.conf file included.
Created attachment 65997 [details] lspci -v
Created attachment 65999 [details] glxinfo -v
Created attachment 66000 [details] hwinfo --gfx
Created attachment 66001 [details] hwinfo --gfx
Created attachment 66003 [details] Xorg.0.log
Created attachment 66004 [details] SUSE 10.1 Beta2 xorg.conf
DRI is disabled for via by default because it has been broken in the past. --> /etc/profile.d/via.sh --> /etc/profile.d/via.csh Does unsetting LIBGL_ALWAYS_INDIRECT ("unset LIBGL_ALWAYS_INDIRECT") work for you?
Created attachment 66006 [details] Ubuntu Dapper beta xorg.conf file
Composite effects in KDE work now! :) But I wonder why glxinfo still has the message: direct rendering: no!?? But how fast is that - now it's faster than under Kubuntu Dapper beta. Really great work! The Vista killer is here - now! ;) You should make a check button in SAX2 for S3 Unichrome cards which disables the environment variable LIBGL_ALWAYS_INDIRECT and add the composite section to xorg.conf so that users get great desktop effects with KDE. I will work a little bit with it and see if something crashes... Hope SUSE 10.1 comes out soon :)
Could you try LIBGL_DEBUG=1 glxinfo and add/attach the output? Thanks.
Created attachment 66037 [details] LIBGL_DEBUG=1 glxinfo
Hmm. No additional information. :-( Strange ...
Created attachment 66057 [details] LIBGL_DEBUG=1 glxinfo -v How about that? I added a -v option.
No, does not help. I expected a different output. :-(
In SUSE 10 I just moved the files via.sh and via.csh to another place. After that I got direct rendering there. I tried the same thing on 10.1 Beta3 but stil glxinfo says no direct rendering.
Hmm ... still using the "vesa" driver? See comment #5.
No: SUSE 10: With SUSE 10 everything works now with "via" driver and the option "VBEModes" "true". There I also have glxinfo: direct rendering on. BUT I have updated to Xorg 6.9 from your supplementary offer. I just moved /etc/profile.d/via.sh and .../via.csh to another place to get direct rendering. SUSE 10.1: In SUSE 10.1 Beta3 I also made the same settings like in 10. But moving .../via.sh and .../via.csh was not successfull... Now I can enable composite effects in KDE with shadows, translucent windows etc. moving windows is very smooth and fast but glxinfo still tells me no direct rendering... If you can manage to bring back the direct rendering like it was in 10, I can test it in Beta4 if it's working stable. Then I will test it with glxgears, Tuxracer and 3D screen savers to see if it's fast and also stable. I attach my SUSE 10 Xorg.0.log and my SUSE 10 xorg.conf.
Created attachment 66612 [details] SUSE 10 Xorg.0.log
Created attachment 66613 [details] SUSE 10 xorg.conf
Created attachment 66614 [details] SUSE 10 glxinfo -v
Read again my comment #16. You need to use the "via" driver instead.
Sorry, seems to be that I attached the the xorg.conf with enabled vesa driver. I'm in Beta3 now and I created all the information again and marked it as Beta3. I moved the files via.csh and via.sh from /etc/profile.d to / so that LIBGL_ALWAYS_INDIRECT=1 is NOT set. Hope that's not the problem that I moved it to / instead of setting it to 0 for example. But I wanted be sure 100% that this variable isn't set. That's all information I can give at the moment. I will test Beta4 when it comes out on thursday. I have to learn for exam now ;)
Created attachment 66623 [details] SUSE 10.1 Beta3 hwinfo --gfx
Created attachment 66624 [details] SUSE 10.1 Beta3 xorg.conf
IT WORKS NOW!!! Don't know what happened to my xorg.conf - it was a complete mess... So what I did: I copied the xorg.conf from SUSE 10 installation to 10.1 installation. Now it works! I attach the currently used xorg.conf file which I copied from 10 and now use in 10.1 Beta3. Plus the output of glxinfo -v which shows me direct rendering now. I will test everything with Beta4 again. Have to learn now ;)
Created attachment 66637 [details] SUSE 10.1 Beta3 xorg.conf WORKS!
Created attachment 66639 [details] SUSE 10.1 Beta3 glxinfo -v DIRECT RENDERING YES
Ok. Closing as fixed since DRI works now, when removing the profile scripts.