Skip to contentSkip to conversation

New: libdrm modetest fails, and causes kernel panic

Bug 34469 [email protected] 1 participant 5 messages Feb 19, 2011 – Apr 9, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: libdrm modetest fails, and causes kernel panic
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: darxus-gf8W+JFHfRr/[email protected]

The modetest program with -v argument should flip back and forth between a color test pattern and a solid grey screen. Running just "./modetest" said I was running 1600x1200 @75hz. I ran "./modetest -s 7:1600x1200 -v" and "./modetest -s 7:640x480 -v", both gave me a lot of garbage. I ran "./modetest -s 7:1600x1200@75 -v", and got an almost steady display alternating vertically between bars of the color pattern and the solid grey. Very roughly 20 rows of pixels each.

Later I ran just "./modetest -s 7:1600x1200@75" and got a kernel panic. I got a photo, but I need to find my CF reader. It included:
...RIP... nouveau_finish_page_flip+0xae/0x1a0 [nouveau]

I was using an NV50 family card, G92 [GeForce 8800 GT].

I believe this is related to the corruption I'm occasionally seeing in wayland's DRM output.

Built kernel from nouveau kernel repo, last commit:
commit 82eeca9a994c9676e3ab478285d02b9474d70cba
CommitDate: Thu Feb 17 11:11:28 2011 +1000

libdrm freshly rebuilt from git:
commit a697fb6acad7992c3d23bb6a663663694782eb7b
CommitDate: Thu Feb 17 20:40:30 2011 +0100

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 34469] libdrm modetest fails, and causes kernel panic

In reply to a message not in the archive

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

--- Comment #1 from Darxus <darxus-gf8W+JFHfRr/[email protected]> 2011-02-18 19:27:03 PST --- Created an attachment (id=43543)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43543)

Kernel panic

Original is higher resolution if there's anything you can't read in this.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 34469] libdrm modetest fails, and causes kernel panic

In reply to a message not in the archive

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

--- Comment #2 from Ben Skeggs <[email protected]> 2011-02-19 00:54:40 PST --- The very next commit in the tree (8e645575d469bf08c9d5d98a101ef4cfce6a9180
"drm/nouveau: Fix pageflip event") has a fix related to page flipping, could
you please try it.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 34469] libdrm modetest fails, and causes kernel panic

In reply to a message not in the archive

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

--- Comment #3 from Darxus <darxus-gf8W+JFHfRr/[email protected]> 2011-02-19 08:39:57 PST --- Sorry I failed to mention, I had applied that "drm/nouveau: Fix pageflip event"
patch manually, before it was committed. Without it the screen never update in wayland (DRM), staying frozen on the first frame. I expect modetest would have
done the same.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 34469] libdrm modetest fails, and causes kernel panic

In reply to a message not in the archive

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

Darxus <darxus-gf8W+JFHfRr/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Darxus <darxus-gf8W+JFHfRr/[email protected]> 2012-04-09 10:47:36 PDT --- This was apparently fixed at some point before Ubuntu kernel 3.0.0-17-generic
was packaged. Any idea which commit it was?

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