RE: i915 trouble -- IRQ being disabled
I have the same problem too. I ran glxgears for a long time then glxgears got hung. I looked into it and found the 915 interrupt handler wasn't called, so dev_priv->sarea_priv->last_dispatch is not updated anymore. However the ring buffer works fine and the appropriate data had been written into the hardware status page. The problem still happened after I unloaded/loaded drm module. But this problem doesn't happen on another machine. The following patch works fine for me (The IRQ is still disabled). diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c index 5ff8788..b2905bb 100644 --- a/shared-core/i915_irq.c +++ b/shared-core/i915_irq.c @@ -331,8 +331,10 @@ static int i915_wait_irq(drm_device_t * DRM_DEBUG("%s irq_nr=%d breadcrumb=%d\n", __FUNCTION__, irq_nr, READ_BREADCRUMB(dev_priv)); - if (READ_BREADCRUMB(dev_priv) >= irq_nr) + if (READ_BREADCRUMB(dev_priv) >= irq_nr) { + dev_priv->sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv); return 0; + } dev_priv->sarea_priv->perf_boxes |= I915_BOX_WAIT; Thanks Haihao -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Monteiro Basto Sent: 2007年1月30日 0:36 To: Dominik Brodowski Cc: [EMAIL PROTECTED]; dri-devel@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: i915 trouble -- IRQ being disabled anything related with this issue ? https://bugs.freedesktop.org/show_bug.cgi?id=9200#c8 On Sun, 2007-01-28 at 22:14 -0500, Dominik Brodowski wrote: > Hi, > > When I switch from the "X Window System Version 7.1.1" console to a > terminal, IRQ 10: > > 10: 20XT-PIC-XTuhci_hcd:usb1, ehci_hcd:usb4, yenta, > yenta, [EMAIL PROTECTED]::00:02.0 > > gets disabled (irq 10: nobody cared). The hardware is > > 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated > Graphics Device (rev 02) > > and I was able to "git bisect" it down to the drm patches which went in > after 2.6.19 and before 2.6.19-rc1 got released. > > While I have some other issues related to that IRQ line (usb autosuspend > can causes the IRQ 10 becoming disabled, too), this issue only appeared once > the drm/i915 patches got merged, so I logically derive that this is a > separate issue. > > Any ideas? Any debugging you want me to do? > > Dominik > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > ___ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV-- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: i915 trouble -- IRQ being disabled
anything related with this issue ? https://bugs.freedesktop.org/show_bug.cgi?id=9200#c8 On Sun, 2007-01-28 at 22:14 -0500, Dominik Brodowski wrote: > Hi, > > When I switch from the "X Window System Version 7.1.1" console to a > terminal, IRQ 10: > > 10: 20XT-PIC-XTuhci_hcd:usb1, ehci_hcd:usb4, yenta, > yenta, [EMAIL PROTECTED]::00:02.0 > > gets disabled (irq 10: nobody cared). The hardware is > > 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated > Graphics Device (rev 02) > > and I was able to "git bisect" it down to the drm patches which went in > after 2.6.19 and before 2.6.19-rc1 got released. > > While I have some other issues related to that IRQ line (usb autosuspend > can causes the IRQ 10 becoming disabled, too), this issue only appeared once > the drm/i915 patches got merged, so I logically derive that this is a > separate issue. > > Any ideas? Any debugging you want me to do? > > Dominik > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > ___ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: i915 trouble -- IRQ being disabled
On Sun, 2007-01-28 at 22:14 -0500, Dominik Brodowski wrote: > > [...] I was able to "git bisect" it down to the drm patches which went in > after 2.6.19 and before 2.6.19-rc1 got released. Can you bisect it down to a single commit? If that's not possible with the kernel tree, you can try the drm git tree from git://git.freedesktop.org/git/mesa/drm . > Any ideas? Any debugging you want me to do? echo 1 >/sys/module/drm/parameters/debug before switching to console might provide something interesting in the kernel output. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: x11-dri on macbookpro with radeon 9600
Ah yes, I didn't see that :( [too much time on the computer] Sorry for disturbing.. regards, Benjamin Dave Airlie wrote: > On Mon, 29 Jan 2007, Benjamin Menk?c wrote: > >> Hi, I have tried for about 30h to get my this working on my gentoo >> linux. I used the portage overlay as described here: >> http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers which uses >> the latest glit sources. >> However everytime I start X I get "no devices detected". Does anybody >> have the drivers running on a MacBookPro Core2Duo? > > I doubt you have a 9600, more likely an X1600, which isn't supported > by any open source drivers, because ATI hate freedom. > > Dave. > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel