Skip to contentSkip to conversation

New: UMS broken with recent kernels and Mesa on rv280

Bug 27784 [email protected] 1 participant 10 messages Apr 22, 2010 – May 31, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: UMS broken with recent kernels and Mesa on rv280
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r200
AssignedTo: [email protected]
ReportedBy: [email protected]

For some reason i got only black window instead of nice gears.

It works with KMS.

Kernel: drm-radeon-testing up to

commit 10fd883ce384706f88554a0b08cc4d63345e7d8b

Author: Dave Airlie <[email protected]>
Date:   Tue Apr 20 16:34:20 2010 +1000

agp/intel: put back check that we have a driver for the bridge.

libdrm:

commit 894c86e8400f13f1ee0dfe23ca4b5f98c32d9223

Author: Kristian Høgsberg <[email protected]>
Date:   Fri Apr 9 16:33:38 2010 -0400

Revert "Fix pkgconfig includes for /usr/include/drm"

xf86-video-ati:

commit 2a6b409496f26da0436972b5feae6ea035dde08d

Author: Owain Ainsworth <[email protected]>
Date:   Mon Apr 19 14:37:33 2010 +0100

Reference count shared driver mappings.

mesa:

commit 9e258fc2bd6f2b9950606a0a92bb92c8959d9efd

Author: Vinson Lee <[email protected]>
Date:   Tue Apr 20 18:48:04 2010 -0700

gallivm: Remove unnecessary headers.

xserver:

commit 35d208125fa0ec78e8d694adc52886b977e789cf

Author: Tiago Vignatti <[email protected]>
Date:   Wed Apr 21 18:28:13 2010 +0300

xfree86: fix not reached code in fi1236 driver from i2c

libpciacces:

commit af2be74979aeab9a2fc4c933462e97ce70f816b6

Author: Samuel Thibault <[email protected]>
Date:   Tue Jan 19 18:37:43 2010 +0100

libpciaccess x86 backend

logs will follow .....

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

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

--- Comment #1 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:14:01 PDT --- Created an attachment (id=35227)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35227)
X log

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 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #2 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:16:46 PDT --- Created an attachment (id=35228)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35228)
xorg.conf

Playing with colorTiling was unhelpful. Playing with resolution changes nothing. It simply doesn't work if i set DefaultDepth to 16 (for UMS). Disabling PAT support via nopat kernel option changes nothing.

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 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #3 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:17:26 PDT --- Created an attachment (id=35229)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35229)
dmesg

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 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #4 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:22:29 PDT --- Glxgears in UMS was working (with same userspace) up to kernel

commit 6d6b89bd2e316b78d668f761d380837b81fa71ef
Merge: 13dda80 2507c05
Author: Linus Torvalds <[email protected]>
Date: Tue Mar 2 07:55:08 2010 -0800

in mainline. I halted git-bisect because original good/bad pair was not about this bug, i wrongly assumed new kernel was unable to "fix" bug 22576.

I can re-run git-bisect, but it will take time ... anyone want to beat me on 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.
#5 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

Andrew Randrianasulu <[email protected]> changed:

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

  Attachment #35229|0                           |1

is obsolete| |

--- Comment #5 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:26:32 PDT --- Created an attachment (id=35230)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35230)
dmesg

Sorry, original dmesg was splitted by syslog, it seems. Here is more complete version.

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.
#6 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #6 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:29:22 PDT --- MTRR (under X):

guest@slax:~$ cat /proc/mtrr 
reg00: base=0x000000000 (    0MB), size=  512MB, count=1: write-back
reg01: base=0x0d0000000 ( 3328MB), size=  128MB, count=1: write-combining
reg05: base=0x0e0000000 ( 3584MB), size=  128MB, count=2: write-combining
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.
#7 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #7 from Andrew Randrianasulu <[email protected]> 2010-04-21 20:30:47 PDT --- Created an attachment (id=35231)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35231)
lspci -vvvn

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.
#8 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

--- Comment #8 from Andrew Randrianasulu <[email protected]> 2010-05-13 11:09:02 PDT --- According to http://article.gmane.org/gmane.comp.video.dri.devel/46026
("Regression: commit 566d84d1 breaks glxgears on r200") it was commit 566d84d172161cb6c0c4dd834c34abbac6bf7b38 (drm/radeon:
r100/r200 ums: block ability for userspace app to trash 0 page and beyond) .....

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.
#9 lore raw

[Bug 27784] UMS broken with recent kernels and Mesa on rv280

In reply to [email protected]

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

Andrew Randrianasulu <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Andrew Randrianasulu <[email protected]> 2010-05-31 12:14:05 PDT --- At least glxgears back to normal with 2.6.35-rc1 mainline kernel ....

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.