All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35
@ 2010-08-08  6:09 bugzilla-daemon
  2010-08-08 16:36 ` [Bug 29444] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-08  6:09 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

           Summary: OpenGL stopped working after kernel upgrade to 2.6.35
           Product: DRI
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: simon@munton.demon.co.uk


After upgrading to kernel 2.6.35, I found that when using hugin, the fast
OpenGL based panorama preview stopped working, and the program just froze. 
Same thing happens with glxgears - no gears displayed, and froze.

Backtrace from glxgears:
#0  0xb75606e6 in poll () from /lib/libc.so.6                    
#1  0xb74512eb in ?? () from /usr/lib/libxcb.so.1                
#2  0xb7453955 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0xb764a078 in _XReply () from /usr/lib/libX11.so.6           
#4  0xb7789cef in ?? () from /usr/lib/libGL.so.1                 
#5  0xb77891b8 in ?? () from /usr/lib/libGL.so.1                 
#6  0xb77602fd in glXSwapBuffers () from /usr/lib/libGL.so.1
#7  0x0804a548 in ?? ()
#8  0xb74a1b86 in __libc_start_main () from /lib/libc.so.6
#9  0x080490f1 in ?? ()

Backtrace from hugin:
#0  0xb601d71c in poll () from /lib/libc.so.6
#1  0xb56e32eb in ?? () from /usr/lib/libxcb.so.1
#2  0xb56e5955 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0xb62a0078 in _XReply () from /usr/lib/libX11.so.6
#4  0xb63da08b in ?? () from /usr/lib/libGL.so.1
#5  0xb63d899f in ?? () from /usr/lib/libGL.so.1
#6  0xa0ca9ce7 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so
#7  0xa0caa5b0 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so
#8  0xa0c88b22 in ?? () from /usr/lib/xorg/modules/dri/r300_dri.so
#9  0xb63d8304 in ?? () from /usr/lib/libGL.so.1
#10 0xb63b0eac in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#11 0xb6495367 in wxGLContext::SetCurrent(wxGLCanvas const&) const () from
/usr/lib/libwx_gtk2u_gl-2.8.so.0
#12 0x0815f016 in GLViewer::SetUpContext (this=0x883ab90) at
/home/simon/build/hugin-2010.0.0/src/hugin1/hugin/GLViewer.cpp:105
#13 0x0815f3e0 in GLViewer::RedrawE (this=0x883ab90, e=...) at
/home/simon/build/hugin-2010.0.0/src/hugin1/hugin/GLViewer.cpp:156

Doing a bisect on the kernel showed the problem started following commit:
bc35afdb182d4c48c889fe27ba7a5d7ea0c8194d
 drm/radeon/kms: add query for crtc hw id from crtc id to get info V2

As a test, in the X radeon dirver, I then changed drmmode_crtc_hw_id() in
drmmode_display.c to ignore the value from the kernel:

--- xf86-video-ati-20100804/src/drmmode_display.c.orig  2010-08-04
21:54:57.000000000 +0100
+++ xf86-video-ati-20100804/src/drmmode_display.c       2010-08-07
22:14:56.000000000 +0100
@@ -547,7 +547,7 @@
                drmmode_crtc->hw_id = -1;
                return;
        }
-       drmmode_crtc->hw_id = tmp;
+       drmmode_crtc->hw_id = -1; /*tmp;*/
 }

 static void

After this change glxgears and hugin both work as before the kernel upgrade.


X server    1.8.2
mesa        7.8.2
libdrm      2.4.21
radeon driver   git cc0a167ff2db9b097891883ded147af1d67e4407

Sapphire X1650 pro AGP
RADEON(0): Chipset: "ATI Radeon X1650" (ChipID = 0x71c6)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
@ 2010-08-08 16:36 ` bugzilla-daemon
  2010-08-08 17:45 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-08 16:36 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #1 from Alex Deucher <agd5f@yahoo.com> 2010-08-08 09:36:14 PDT ---
Does your kernel have this patch:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=0baf2d8fe43fdd81faa30e65ff71785c99c78520

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
  2010-08-08 16:36 ` [Bug 29444] " bugzilla-daemon
@ 2010-08-08 17:45 ` bugzilla-daemon
  2010-08-09 15:42 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-08 17:45 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #2 from Simon Munton <simon@munton.demon.co.uk> 2010-08-08 10:45:17 PDT ---
I'm using a vanilla 2.6.35 kernel, which includes that patch

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
  2010-08-08 16:36 ` [Bug 29444] " bugzilla-daemon
  2010-08-08 17:45 ` bugzilla-daemon
@ 2010-08-09 15:42 ` bugzilla-daemon
  2010-08-09 20:17 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-09 15:42 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #3 from Alex Deucher <agd5f@yahoo.com> 2010-08-09 08:42:01 PDT ---
Please attach your dmesg and xorg log.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-08-09 15:42 ` bugzilla-daemon
@ 2010-08-09 20:17 ` bugzilla-daemon
  2010-08-09 20:18 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-09 20:17 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #4 from Simon Munton <simon@munton.demon.co.uk> 2010-08-09 13:17:45 PDT ---
Created an attachment (id=37743)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37743)
Output from dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-08-09 20:17 ` bugzilla-daemon
@ 2010-08-09 20:18 ` bugzilla-daemon
  2010-08-09 20:19 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-09 20:18 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #5 from Simon Munton <simon@munton.demon.co.uk> 2010-08-09 13:18:53 PDT ---
Created an attachment (id=37744)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37744)
xorg log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-08-09 20:18 ` bugzilla-daemon
@ 2010-08-09 20:19 ` bugzilla-daemon
  2010-08-12 21:27 ` bugzilla-daemon
  2010-08-12 21:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-09 20:19 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

Simon Munton <simon@munton.demon.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37743|application/octet-stream    |text/plain
          mime type|                            |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-08-09 20:19 ` bugzilla-daemon
@ 2010-08-12 21:27 ` bugzilla-daemon
  2010-08-12 21:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-12 21:27 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

--- Comment #6 from Simon Munton <simon@munton.demon.co.uk> 2010-08-12 14:27:00 PDT ---
It seems that I need the pci=nomsi option on the kernel command line.
Without it, the radeon card uses MSI, but the kernel doesn't get any
interrupts, and waiting for video blanking never ends.

I tried pci=nomsi after seeing this bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=29327

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 29444] OpenGL stopped working after kernel upgrade to 2.6.35
  2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-08-12 21:27 ` bugzilla-daemon
@ 2010-08-12 21:42 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-08-12 21:42 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29444

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #7 from Alex Deucher <agd5f@yahoo.com> 2010-08-12 14:42:55 PDT ---


*** This bug has been marked as a duplicate of bug 29327 ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-08-12 21:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-08  6:09 [Bug 29444] New: OpenGL stopped working after kernel upgrade to 2.6.35 bugzilla-daemon
2010-08-08 16:36 ` [Bug 29444] " bugzilla-daemon
2010-08-08 17:45 ` bugzilla-daemon
2010-08-09 15:42 ` bugzilla-daemon
2010-08-09 20:17 ` bugzilla-daemon
2010-08-09 20:18 ` bugzilla-daemon
2010-08-09 20:19 ` bugzilla-daemon
2010-08-12 21:27 ` bugzilla-daemon
2010-08-12 21:42 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.