Problems with SuperTuxKart 0.8 PowerPC

AmigaOne X1000 platform specific issues related to Linux only.

Problems with SuperTuxKart 0.8 PowerPC

Postby xeno74 » Sun Mar 17, 2013 7:19 pm

Hi,

I've downloaded SuperTuxKart 0.8 from http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.8/supertuxkart-0.8-linux-glibc2.11-ppc.tar.bz2/download. The most tracks are OK but I have sometimes a freeze of the complete desktop with following error message:

Code: Select all
radeon 0000:01:00.0 couldn't schedule ib
drm:radeon_cs_lib_chunk error Failed to schedule ib!


I think this is a graphics driver problem. What do you think?

My System: Debian Wheezy (Kernel 3.5.7)

glxinfo | grep OpenGL

Code: Select all
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL version string: 2.1 Mesa 8.0.5
OpenGL shading language version string: 1.20
OpenGL extensions:


dmesg | grep drm

Code: Select all
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (BARTS 0x1002:0x6738 0x1682:0x3107).
[drm] register mmio base: 0xA0020000
[drm] register mmio size: 131072
[drm] Detected VRAM RAM=1024M, BAR=256M
[drm] RAM width 256bits DDR
[drm] radeon: 1024M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading BARTS Microcode
[drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[drm] ring test on 0 succeeded in 3 usecs
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD4
[drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm]   DP-2
[drm]   HPD5
[drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm]   HDMI-A-1
[drm]   HPD3
[drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY1
[drm] Connector 3:
[drm]   DVI-D-1
[drm]   HPD1
[drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c
[drm]   Encoders:
[drm]     DFP4: INTERNAL_UNIPHY1
[drm] Connector 4:
[drm]   DVI-I-1
[drm]   HPD6
[drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
[drm]   Encoders:
[drm]     DFP5: INTERNAL_UNIPHY
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm] Internal thermal controller with fan control
[drm] radeon: power management initialized
[drm] fb mappable at 0x90142000
[drm] vram apper at 0x90000000
[drm] size 5242880
[drm] fb depth is 24
[drm]    pitch is 5120
fb0: radeondrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized radeon 2.18.0 20080528 for 0000:01:00.0 on minor 0


Can you help me, please?

Best wishes,

Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Problems with SuperTuxKart 0.8 PowerPC

Postby xeno74 » Sat Mar 30, 2013 7:49 pm

Image

I have tried to compile STK with optimizations. But I don't have more speed.

This is what I have done:

Code: Select all
export TARGET=powerpc-linux-gnualtivec


Code: Select all
export CFLAGS="-mcpu=power4 -mtune=power4 -maltivec -mabi=altivec -fno-strict-aliasing -O2 -pipe"


Code: Select all
export CXXFLAGS="${CFLAGS}"


I have compiled all STK dependencies with optimizations:

libogg-1.3.0

libvorbis-1.3.3

fribidi-0.19.5

openal-soft-1.15.1

Environment variables for Irrlicht:

Code: Select all
CXXFLAGS += -fexpensive-optimizations -O3 -mcpu=power4 -mtune=power4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe^M


Code: Select all
CFLAGS := -O3 -fexpensive-optimizations -mcpu=power4 -mtune=power4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES^M


Code: Select all
mkdir cmake_build
cd cmake_build
cmake ..


STK was compiled with all optimizations and optimized libraries. But the speed is the same as the STK package without optimizations.

Any ideas?

My system:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Problems with SuperTuxKart 0.8 PowerPC

Postby trevordick » Wed Apr 03, 2013 2:17 am

What RadeonHD gfx card do you have installed?

Trevor
I'm just Breezin'
User avatar
trevordick
A-Eon Technology
A-Eon Technology
 
Posts: 1379
Joined: Mon Dec 20, 2010 2:28 pm

Re: Problems with SuperTuxKart 0.8 PowerPC

Postby Raziel » Wed Apr 03, 2013 8:36 am

trevordick wrote:What RadeonHD gfx card do you have installed?

Trevor

He posted the same question on several other forums, here's the missing information:
My system: Debian Wheezy PowerPC on an AmigaONE X1000, 4 GB RAM, AMD
Radeon HD 6870 1GB (Gallium 0.4 on AMD Barts)
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 767
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: Problems with SuperTuxKart 0.8 PowerPC

Postby xeno74 » Wed Apr 03, 2013 11:09 am

Raziel wrote:
trevordick wrote:
My system: Debian Wheezy PowerPC on an AmigaONE X1000, 4 GB RAM, AMD
Radeon HD 6870 1GB (Gallium 0.4 on AMD Barts)


Yes, that's right :)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3076
Joined: Fri Mar 23, 2012 8:58 am


Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

cron