I'm getting similar errors as PuckPoltergeist with a 6950 2GB with 1440x900 screen resolution.
Similarly, all of the git versions are up to date and patched.
These kinds of errors are with ColorTiling+ColorTiling2D set to off in xorg.conf:
These are with either on:Code:[ 14.397349] radeon 0000:01:00.0: evergreen_cs_track_validate_texture:728 texture bo too small (layer size 5529600, offset 0, max layer 1, depth 1, bo size 5324800) (1536 900) [ 14.397351] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 14.905432] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 cb[0] bo too small (layer size 5554176, offset 0, max layer 1, bo size 5529600, slice 21695) [ 14.905434] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:447 problematic surf: (1536 904) (1 4 1 0 0 4 0) [ 14.905435] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 462
It's impossible to get a working screen (for me) unless the DDX is reverted to a non-patched version.Code:[ 142.928652] radeon 0000:01:00.0: evergreen_cs_track_validate_texture:728 texture bo too small (layer size 5529600, offset 0, max layer 1, depth 1, bo size 5324800) (1536 900) [ 142.928654] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 143.169816] radeon 0000:01:00.0: evergreen_surface_value_conv_check:329 invalid array mode 5 [ 143.169818] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 462 [ 143.169819] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 143.235577] radeon 0000:01:00.0: evergreen_surface_value_conv_check:329 invalid array mode 5 [ 143.235578] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 819 [ 143.235580] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
I'm getting similar errors as PuckPoltergeist with a 6950 2GB with 1440x900 screen resolution.
All of the relevant software are git master versions with the patches applied where applicable (now that mesa and xf86-video-ati are updated, that leaves kernel).
These kinds of errors are with ColorTiling+ColorTiling2D set to off in xorg.conf:
These are with either on:Code:[ 14.397349] radeon 0000:01:00.0: evergreen_cs_track_validate_texture:728 texture bo too small (layer size 5529600, offset 0, max layer 1, depth 1, bo size 5324800) (1536 900) [ 14.397351] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 14.905432] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 cb[0] bo too small (layer size 5554176, offset 0, max layer 1, bo size 5529600, slice 21695) [ 14.905434] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:447 problematic surf: (1536 904) (1 4 1 0 0 4 0) [ 14.905435] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 462
It's impossible to get a working screen (for me) unless the DDX is reverted to a non-patched version.Code:[ 142.928652] radeon 0000:01:00.0: evergreen_cs_track_validate_texture:728 texture bo too small (layer size 5529600, offset 0, max layer 1, depth 1, bo size 5324800) (1536 900) [ 142.928654] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 143.169816] radeon 0000:01:00.0: evergreen_surface_value_conv_check:329 invalid array mode 5 [ 143.169818] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 462 [ 143.169819] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream ! [ 143.235577] radeon 0000:01:00.0: evergreen_surface_value_conv_check:329 invalid array mode 5 [ 143.235578] radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 819 [ 143.235580] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
I got about the same problem. Black screen with working mouse in gdm or E17.
Solution :
1 - Unplug the second monitor.
2 - Launch X, login
3 - Plug second monitor
4 - xrandr the second monitor
5 - ???
6 - Profit!
My second monitor is VGA with a DVI adaptor, I don't know if it's related.
Note : I get plenty ofwhen I try to launch X with the two monitor. With the unpluging trick, I don't get any cs error.Code:[ 95.902752] radeon 0000:01:00.0: r600_cs_track_validate_cb invalid tiling 5 for 0 (0x08110568) [ 95.902754] radeon 0000:01:00.0: r600_packet3_check:1604 invalid cmd stream 856 [ 95.902755] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
Yay, it's in mesa master:
Code:../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a(radeon_drm_winsys.o): In function `radeon_winsys_destroy': radeon_drm_winsys.c:(.text+0xbc): undefined reference to `radeon_surface_manager_free' ../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a(radeon_drm_winsys.o): In function `radeon_drm_winsys_create': radeon_drm_winsys.c:(.text+0x3e9): undefined reference to `radeon_surface_manager_free' radeon_drm_winsys.c:(.text+0x572): undefined reference to `radeon_surface_manager_new' ../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a(radeon_drm_winsys.o): In function `radeon_drm_winsys_surface_best': radeon_drm_winsys.c:(.text+0x68): undefined reference to `radeon_surface_best' ../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a(radeon_drm_winsys.o): In function `radeon_drm_winsys_surface_init': radeon_drm_winsys.c:(.text+0x78): undefined reference to `radeon_surface_init'
Everything except the kernel bits are merged into master, successfully built libdrm (230ec7d7bbf1e8a7e263d471b21afb08c28eba0c), mesa (938671397f6e88b68e77c93d6b440f9602950fbe) and xf86-video-ati (615033f2b5e3817e335e9d022fc9fdcf8ac8b11a), built a 3.2.5 kernel with latest drm and 0001-drm-radeon-*.patch, going to reboot.
Rebooted and everything still works as before, I don't see any difference (no performance difference, no obvious regression). How can I tell 2D tiling is working?
I also "(II) RADEON(0): KMS Color Tiling: enabled" before 2D tiling, it seems to me that "ColorTiling2D" "on" is accepted so it's in use, I don't have any error/warnings in dmesg/X.log.Code:grep -i tili Xorg.0.log [ 17.568] (**) RADEON(0): Option "ColorTiling" "1" [ 17.568] (**) RADEON(0): Option "ColorTiling2D" "on" [ 17.581] (II) RADEON(0): KMS Color Tiling: enabled