Bug 31463

Summary: VLC crashes on fullscreen with GLX output and colortiling enabled
Product: Mesa Reporter: Trevour <bio_tube>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: 7.9   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Trevour 2010-11-08 05:40:03 UTC
It works in window mode, but it crashes the instant it switches to fullscreen, giving the familiar "drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info."; I've checked and this isn't fixed in master, either; r600g performs as expected, so this is definitely a Mesa bug(I've already pulled the latest in the 7.9 branch). dmesg gives the following:

[ 1953.411625] radeon 0000:02:00.0: r600_cs_track_validate_cb:220 cb height (724) invalid
[ 1953.411630] radeon 0000:02:00.0: r600_packet3_check:1252 invalid cmd stream 502
[ 1953.411633] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 1953.412662] vlc[9975]: segfault at 8 ip 000000343e24718b sp 00007f2e54a8e8b8 error 4 in libQtDBus.so.4.6.3[343e200000+77000]
Comment 2 Trevour 2010-11-08 08:00:52 UTC
I pulled the drm-core-next branch in order to apply the pageflipping patches(I also pulled drm-radeon-testing before that to apply the first batch), so I've got the patch.
Comment 3 Alex Deucher 2010-11-08 08:17:17 UTC
Are you sure you've booted the right kernel?  You should never hit that message with the patch applied.  Also, the line numbers indicate a non-patched kernel.
Comment 4 Trevour 2010-11-08 11:30:44 UTC
That was it - I've got two kernels(2.6.36-amd64-drt-pageflip+ and 2.6.36-amd64-drt-pageflip2+); GRUB2(GRUB classic stopped working for me) got them in the wrong order(placing the former before the latter), so I swapped them in grub.cfg, which apparently got regenerate somewhere along the line, leaving me with the first round of pageflip patches. I've deleted the old kernel to make sure this doesn't happen again.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.