Bug 537573

Summary: chess segfaults on at least radeons
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: chessAssignee: Hans de Goede <hdegoede>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: atorkhov, hdegoede
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-15 10:35:02 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
Ogre log file
none
Another log after changing the Ogre.cfg none

Description Bruno Wolff III 2009-11-14 15:59:09 UTC
Description of problem:
chess starts up and I get a black screen for a seconds and then the program exists with a segfault. The output example will be from my rv280 at home, but it also crashed on an rv530 that I don't have access to right this minute.

Version-Release number of selected component (if applicable):
1.0-27.fc12

How reproducible:
100% so far, but I have tried some of the other OpenGL settings.

Steps to Reproduce:
1.Run chess
2.
3.
  
Actual results:
Finished parsing scripts for resource group Internal
Texture: WindowsLook.tga: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Mesh: Loading Board.mesh.
Texture: Board.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: oak.png: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
Allocating 1024 x 1024 radeon RBO (pitch 1024)
Segmentation fault


Expected results:


Additional info:

Comment 1 Bruno Wolff III 2009-11-14 16:02:35 UTC
Created attachment 369533 [details]
Ogre log file

Comment 2 Bruno Wolff III 2009-11-14 16:16:12 UTC
Created attachment 369537 [details]
Another log after changing the Ogre.cfg

After changing the preferred mode and to not use full screen the game mostly worked. Perhaps this points toward an Ogre bug rather than a chess bug.
It looks like there might be a font problem, as there were some blocks displayed after I hit escape and I would have expected some text there. It will be easier to test this when I have access to the other machine again.
Here is what my ogre.cfg file looks like for chess:
Render System=OpenGL Rendering Subsystem

[OpenGL Rendering Subsystem]
Display Frequency=70 MHz
FSAA=0
Full Screen=No
RTT Preferred Mode=PBuffer
VSync=No
Video Mode= 800 x  600
sRGB Gamma Conversion=

Comment 3 Hans de Goede 2009-11-15 10:35:02 UTC
It works fine for me, even with the default (fullscreen) settings, so I suspect this is a mesa bug, as there are more issues with mesa in combination with ogre, marking this as a duplicate of the ogre-samples does not play well with mesa bug.

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