Bug 106015 - dri should be loaded for CLE266
Summary: dri should be loaded for CLE266
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Beta 2
Hardware: Other All
: P2 - High : Normal
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 16:37 UTC by Thorsten Kukuk
Modified: 2005-08-23 09:11 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Xorg.0.log (36.36 KB, text/x-log)
2005-08-22 09:06 UTC, Thorsten Kukuk
Details
Output of glxinfo (3.95 KB, text/plain)
2005-08-22 09:07 UTC, Thorsten Kukuk
Details
output of glxinfo on SL10.0B2 (4.19 KB, text/plain)
2005-08-22 13:06 UTC, Thorsten Kukuk
Details
New via DRI driver (1.87 MB, application/octet-stream)
2005-08-22 14:56 UTC, Stefan Dirsch
Details
unichrome DRI driver (1.87 MB, application/octet-stream)
2005-08-22 15:23 UTC, Stefan Dirsch
Details
glxinfo output with new RPM (3.42 KB, text/plain)
2005-08-23 05:53 UTC, Thorsten Kukuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Kukuk 2005-08-20 16:37:15 UTC
The DRI module should be loaded for the VIA CLE266 (at least for 
1106:3122), else XvMC does not work (and so the mpeg2 decoder on this 
chip). SaX2 identifies the card as CLE3122 (don't know from where the 
difference comes, lspci says CLE266).
Comment 1 Marcus Schaefer 2005-08-22 08:04:58 UTC
Stefan ? 
Comment 2 Stefan Dirsch 2005-08-22 08:11:22 UTC
So DRI does work? Please attach X.org logfile and output of glxinfo. 
Comment 3 Thorsten Kukuk 2005-08-22 09:04:53 UTC
I don't know if DRI works. I don't think so, but the XvMC extension of 
the VIA CLE266 chip to access the hardware mpeg2 decoder only works if 
the dri module is loaded. Else you get the error message: XvMC disabled 
because no DRI loaded" or so (don't have the exact message here). 
 
Attached the output, but from 9.3, since I need to reinstall SL10.0  
at first. 
Comment 4 Thorsten Kukuk 2005-08-22 09:06:01 UTC
Created attachment 46837 [details]
Xorg.0.log
Comment 5 Thorsten Kukuk 2005-08-22 09:07:20 UTC
Created attachment 46838 [details]
Output of glxinfo
Comment 6 Thorsten Kukuk 2005-08-22 09:11:45 UTC
The exact message without DRI is: 
 
(WW) VIA(0): [XvMC] Cannot use XvMC without DRI! 
 
 
Applications report: 
Xlib:  extension "XVideo-MotionCompensation" missing on display ":0.0" 
 
Loading dri makes watching mpeg2 fun again. 
Comment 7 Stefan Dirsch 2005-08-22 09:19:45 UTC
> (II) VIA(0): direct rendering enabled   
 
Xserver says yes, but an OpenGL client doesn't think so: 
 
> direct rendering: No 
 
Please attach also the output of 
 
  LIBGL_DEBUG=1 VIA_DEBUG=1 glxinfo 2>&1 
 
It's good to hear that XvMC works, but I also would like to know if 3D  
support somewhat works. I don't have access to such a machine. 
Comment 8 Stefan Dirsch 2005-08-22 10:08:40 UTC
I fixed the descriptions of the chips in x11DB now:

CLE 3122 --> CLE266
VT 7205  --> KM400

added "dri" to be loaded by default on CLE266. I let this bugreport open until I
know more about the 3D support problems.
Comment 9 Thorsten Kukuk 2005-08-22 10:21:35 UTC
I think this is the problem of the not working OpenGL: 
 
libGL error: dlopen /usr/X11R6/lib/modules/dri/unichrome_dri.so failed 
(/usr/X11R6/lib/modules/dri/unichrome_dri.so: undefined symbol: 
viaTexCombineState) 
libGL error: unable to find driver: unichrome_dri.so 
 
If you search with google for it, it seems to be a common problem. 
Comment 10 Thorsten Kukuk 2005-08-22 10:24:28 UTC
I will try to retest SL10.0B2 this afternoon or tomorrow, this is 
still SL9.3. 
Comment 11 Stefan Dirsch 2005-08-22 10:33:43 UTC
Ok. Of course I need the information for 10.0. ;-)
Comment 12 Thorsten Kukuk 2005-08-22 13:05:24 UTC
Now from SL10.0B2. The unreslved symbol still exits. 
Comment 13 Thorsten Kukuk 2005-08-22 13:06:04 UTC
Created attachment 46907 [details]
output of glxinfo on SL10.0B2
Comment 14 Stefan Dirsch 2005-08-22 13:38:37 UTC
I think I know what's wrong. via_texcombine.c with the implementation of this
function is missing in Imakefile for building. I'll provide a new DRI driver for
testing ASAP.
Comment 15 Stefan Dirsch 2005-08-22 14:56:28 UTC
Created attachment 46956 [details]
New via DRI driver

Please copy it to /usr/X11R6/lib/modules/dri and 
attach the output of 

  LIBGL_DEBUG=1 glxinfo 2>&1 

again. There's no need to restart the Xserver.
Comment 16 Thorsten Kukuk 2005-08-22 15:15:51 UTC
Sure via_dri is the right one? unichrome_dri is the one in the 
error message and via_dri.so from you don't contain this function, neither. 
Comment 17 Stefan Dirsch 2005-08-22 15:23:08 UTC
Created attachment 46968 [details]
unichrome DRI driver

Good catch. I think I did sth. stupid. Try this one. Alhtough it doesn't look
that different.
Comment 18 Stefan Dirsch 2005-08-22 17:09:34 UTC
Hmm ... better try the complete RPM

--> ~sndirsch/xorg-x11-Mesa-6.8.2-92.i586.rpm
Comment 19 Thorsten Kukuk 2005-08-23 05:53:04 UTC
Created attachment 47068 [details]
glxinfo output with new RPM

Looks much better now.
Comment 20 Stefan Dirsch 2005-08-23 07:14:15 UTC
Indeed! Thanks for testing. I'll apply my patch. Will be fixed for Beta4. 
Comment 21 Stefan Dirsch 2005-08-23 09:11:01 UTC
done.