Re: [Dri-devel] Problems with vblank IRQ on G400
On Mit, 2002-12-11 at 21:43, Ian Romanick wrote: > > [...] now it just times out and returns EBUSY. Looking at /proc/interrupts, > I see that both the G400 and my ethernet card are sharing (d'oh...) int 11. > I run gears in the background and watch the interrupt count, but it only > increases about as often as I see the link-activity light on my hub flash. :( > > It seems that the vblank interrupt isn't being turned on. Ideas? Hmm, can you insert some debugging output for the relevant registers in strategic places? -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Problems with vblank IRQ on G400
On Wed, Dec 11, 2002 at 10:32:13AM -0800, Ian Romanick wrote: > Has anybody run into problems with the vblank interrupt support on G400? In > mgaWaitForVBlank the 'if ( !mmesa->mgaScreen->irq )' test fails (i.e., user > mode thinks there's an IRQ), but in the kernel mga_wait_vblank returns with > errno set to EINVAL. THe only was I can see that this would happen is if > the 'if (!dev->irq)' test is true (i.e., kernel model thinks there is NOT an > IRQ). That part of the problem seems to be solved. I think I may have had an older kernel module for MGA. However, now it just times out and returns EBUSY. Looking at /proc/interrupts, I see that both the G400 and my ethernet card are sharing (d'oh...) int 11. I run gears in the background and watch the interrupt count, but it only increases about as often as I see the link-activity light on my hub flash. :( It seems that the vblank interrupt isn't being turned on. Ideas? -- Smile! http://antwrp.gsfc.nasa.gov/apod/ap990315.html --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Dri-devel] Problems with vblank IRQ on G400
Has anybody run into problems with the vblank interrupt support on G400? In mgaWaitForVBlank the 'if ( !mmesa->mgaScreen->irq )' test fails (i.e., user mode thinks there's an IRQ), but in the kernel mga_wait_vblank returns with errno set to EINVAL. THe only was I can see that this would happen is if the 'if (!dev->irq)' test is true (i.e., kernel model thinks there is NOT an IRQ). Ideas? -- Smile! http://antwrp.gsfc.nasa.gov/apod/ap990315.html --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel