Code:From 99054a12175583ab4ef2f14e5a1fe6146e830479 Mon Sep 17 00:00:00 2001 From: Tobias Droste <email@example.com> Date: Tue, 7 Feb 2012 16:20:21 +0100 Subject: [PATCH] gallium/gbm: r300 and r600 now depend on libdrm fixes undefined references in libradeonwinsys.a when linking Signed-off-by: Tobias Droste <firstname.lastname@example.org> --- src/gallium/targets/gbm/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/targets/gbm/Makefile b/src/gallium/targets/gbm/Makefile index ce56f93..2737b79 100644 --- a/src/gallium/targets/gbm/Makefile +++ b/src/gallium/targets/gbm/Makefile @@ -72,11 +72,13 @@ nouveau_SYS = -ldrm_nouveau r300_LIBS = \ $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ $(TOP)/src/gallium/drivers/r300/libr300.a +r300_SYS += -ldrm_radeon # r600 pipe driver r600_LIBS = \ $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \ $(TOP)/src/gallium/drivers/r600/libr600.a +r600_SYS += -ldrm_radeon # vmwgfx pipe driver vmwgfx_LIBS = \ -- 1.7.7
Last edited by droste; 02-07-2012 at 10:21 AM.
But video playback with xv doesn't work, regardless of the resolution. Playback with vdpau seems to work.
After this it works.Code:radeon 0000:01:00.0: evergreen_surface_value_conv_check:329 invalid array mode 5 radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 454 [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
Video playback with xv still leads to a xserver crash.
I have applied the two 0001-drm* patches (can you please provide the second patch in less comfortable way than in a mail to a mailinglist complete with headers with the patch attached encoded in base64?)
Is it normal that git apply doesn't have any output whatsoever?
But it seems good:
I have only tested xonotic on "high" so far. Looks ok, only some minor problems with reflections in the water.Code:[ 13.302] (**) RADEON(0): Option "ColorTiling2D" "on"
HD 6550M, 3.3rc2
No, it doesn't:
Result=Code:xrandr --output HDMI-0 --rotate right --mode 1600x1200 --right-of LVDS --output LVDS --mode 1600x900
Right screen looks good, left screen is very broken. When I move windows on the right screen the broken graphics on the left screen move as well. Screenshot with scrot looks normal for both screens.
Happens also with no 2d color tiling enabled. Happens only when the right screen is rotated left OR right. With rotate normal it looks ok.
It also looks good with xrandr --output HDMI-0 --rotate right --mode 1280x1024 --right-of LVDS --output LVDS --mode 1024x768.
Maybe both need to be the same aspect ratio for rotation?
The problem are not the kernel patches. Just installed mainline 3.3rc2 and it still happens. My uneducated guess would be the ddx.
Last edited by ChrisXY; 02-08-2012 at 04:56 AM.
Hey, if stuff is in git master, couldn't I just install xorg-edgers on ubuntu and recompile the ubuntu kernel with patch?
If I want to test this that is.