3D not working after software suspend/resume

2004-10-10 Thread Bill Gou
after a software suspend/resume cycle, running glxgears emits the following error msgs and quits: libGL warning: 3D driver claims to not support visual 0x22 libGL warning: 3D driver claims to not support visual 0x23 libGL warning: 3D driver claims to not support visual 0x26 libGL warning: 3D

Re: Kernel oops when loading i830 module

2004-07-23 Thread Bill Gou
Dave Airlie wrote: again please, found another error in the logic, this is like programming by numbers!!! thanks be to God you found these issues before I submitted this for the kernel :-) Still can't unload it. It seems the problem is that the kernel thought the driver is in use, and did

Re: Kernel oops when loading i830 module

2004-07-21 Thread Bill Gou
Dave Airlie wrote: The module couldn't be unloaded. I tried to unload it right after loading, rmmod complains i830: Device or resource busy. lsmod shows: Module Size Used byTainted: PF i830 66620 1 jeez this is annoying me :-), there was a bug

Re: Kernel oops when loading i830 module

2004-07-20 Thread Bill Gou
Dave Airlie wrote: Okay my final attempt :-) is now checked in... the last issue that register_chrdev returns a 0 when the fops is the same caused your last problem.. hopefully this work.. if you can load/unload this module and see if it works... then I'll add the couple of lines to

Re: Kernel oops when loading i830 module

2004-07-14 Thread Bill Gou
Dave Airlie wrote: First I built the i830 module from 2.4.24. Then I tried to unload the current module which was built from dri cvs, the kernel gave me an oops. See attachment for the decoded oops. okay there is something wrong with the unload but I can't see it straight away, can you

Re: Kernel oops when loading i830 module

2004-07-14 Thread Bill Gou
Dave Airlie wrote: okay there is something wrong with the unload but I can't see it straight away, can you insmod the i830 from the snapshot with drm_opts=debug and then rmmod it and send me the dmesg output I'd like to track that one down... I'll then make the fix I think is needed to stop

Re: Kernel oops when loading i830 module

2004-07-14 Thread Bill Gou
Dave Airlie wrote: I've checked in a fix for this load/unload it probably won't help your main situation yet but I'd appreciate if you could check it the module load and unload, if that works I'll try and fix your specific problem or at least rule out the DRM. oops again, seems this

Re: Kernel oops when loading i830 module

2004-07-11 Thread Bill Gou
Dave Airlie wrote: On Thu, 8 Jul 2004, Bill Gou wrote: Hi there, I'm running X.org 6.7, kernel 2.4.24. Whenever I load the i830 module compiled from dri snapshot, I get a kernel oops. Below is the ksymoops and 'lspci -v'output. I can see the issue, I just have to think of a clean

Kernel oops when loading i830 module

2004-07-07 Thread Bill Gou
Hi there, I'm running X.org 6.7, kernel 2.4.24. Whenever I load the i830 module compiled from dri snapshot, I get a kernel oops. Below is the ksymoops and 'lspci -v'output. ksymoops 2.4.9 on i686 2.4.24-1. Options used -V (default) -k /proc/ksyms (default) -l