Bug 540087

Summary: Wine crash with "drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream."
Product: [Fedora] Fedora Reporter: Pavel Ondračka <pavel.ondracka>
Component: xorg-x11-drv-atiAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jglisse, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 12:07:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg
none
full wine output none

Description Pavel Ondračka 2009-11-22 10:27:17 UTC
Created attachment 372884 [details]
dmesg

Description of problem:
When trying to run game Sins of a Solar Empire with Wine, it crash before entering menu. I would usually report this at wine bugzilla, but this last line of wine output seems suspicious:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

end of dmesg:
[drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0 needs 174720 bytes but is 151552
[drm:r100_cs_track_texture_print] *ERROR* pitch                      1
[drm:r100_cs_track_texture_print] *ERROR* use_pitch                  0
[drm:r100_cs_track_texture_print] *ERROR* width                      32
[drm:r100_cs_track_texture_print] *ERROR* width_11                   0
[drm:r100_cs_track_texture_print] *ERROR* height                     32
[drm:r100_cs_track_texture_print] *ERROR* height_11                  0
[drm:r100_cs_track_texture_print] *ERROR* num levels                 5
[drm:r100_cs_track_texture_print] *ERROR* depth                      5
[drm:r100_cs_track_texture_print] *ERROR* bpp                        4
[drm:r100_cs_track_texture_print] *ERROR* coordinate type            1
[drm:r100_cs_track_texture_print] *ERROR* width round to power of 2  1
[drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 1
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
 
This doesn't look like a problem with Wine, also because according to reports at AppDB this game is usually Gold or Platinum. Maybe some driver problem?

Version-Release number of selected component (if applicable):
wine.i686                         1.1.32-1.fc12
mesa-dri-drivers.i686             7.6-0.15.fc12
xorg-x11-drv-ati.i686             6.13.0-0.11.20091119git437113124.fc12
kernel.i686                       2.6.31.6-134.fc12

Comment 1 Pavel Ondračka 2009-11-22 10:28:11 UTC
Created attachment 372885 [details]
full wine output

Comment 2 Jérôme Glisse 2009-11-23 12:07:47 UTC

*** This bug has been marked as a duplicate of bug 533615 ***

Comment 3 Pavel Ondračka 2009-12-01 08:19:38 UTC
Booting with nomodeset solved this issue.