Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20869 - [libdrm] causes xmoto segfault with some levels

Attached to Project: Arch Linux
Opened by mathieu (mlouis) - Thursday, 16 September 2010, 19:38 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 12 February 2011, 22:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ronald van Haren (pressh)
Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When starting some levels xmoto stops due to a segmentation fault. I don't know what is the particularity of levels causing this, for instance loading the level "X8 - Oxygen" (last level update) makes xmoto crash. There are other levels but I can't remember their names.
I only selected x86_64 because I didn't have the occasion to test on Archlinux i686 (if someone with ati open source driver using an i686 kernel could confirm).
I had to use gdb to find out that it comes from libdrm (cf log files: libdrm_radeon.so.1 is provided by libdrm package) wich is used by ati open source drivers (xf86-video-ati), to confirm that I tested with catalyst drivers, and it does work.

Additional info:
* package version(s)
xmoto 0.5.3-1
libdrm 2.4.21-2
xf86-video-ati 6.13.1-1
Xorg 1.8.1.902

* log files:
xmoto's log : http://pastebin.com/wv5samWC
xmoto using gdb : http://pastebin.com/aepfYu75

Steps to reproduce:
- Use ati open source drivers.
- Launch a level like "X8 - Oxygen" wich causes xmoto's crashing
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 12 February 2011, 22:31 GMT
Reason for closing:  Works for me
Comment by mathieu (mlouis) - Friday, 17 September 2010, 10:08 GMT
Installing libdrm-2.4.17-4 makes launching those levels possible but the game is globally unplayable due to very low performances, it runs approximately at 5-7 fps...
Comment by Andreas Radke (AndyRTR) - Tuesday, 07 December 2010, 17:21 GMT
How's state with recent libdrm/Xorg/mesa?
Comment by mathieu (mlouis) - Sunday, 19 December 2010, 11:26 GMT
Still the same.
Comment by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 13:45 GMT
I've just installed xmoto for testing and everything seems to work fine. I also cannot find the X8 - Oxygen level to load.

Please also try new mesa/xorg from testing. Please check also your Xorg.0.log and dmesg. Please also try removing your users game configs. Adding the xmoto maintainer. It doesn't seem to be a mesa/libdrm bug to me.
Comment by mathieu (mlouis) - Thursday, 23 December 2010, 22:25 GMT
I don't think its an xmoto bug because like I said, it does work with ATI catalyst drivers, and yet I tried to delete every single xmoto config file and reinstall it, and the problem persists. Also, nothing related to xmoto in Xorg's logs or dmesg.

AndyRTR: Its weird you couldn't find "X8 - Oxygen" level, I re-downloaded every levels today and I found it, anyway, I found an other wich fails to load (last updated level, when I'm writing this message): "Viking's Sanctuary"

Now I'm using:
xmoto 0.5.4-1
libdrm 2.4.22-3
xf86-video-ati 6.13.2-2
Xorg 1.9.2
Comment by Andreas Radke (AndyRTR) - Friday, 24 December 2010, 10:36 GMT
Ok. I had to download the levels. Both examples run for me. So there's not problem with my Xorg stack from testing using r300 gallium driver. The game did freeze 2 times for me when exiting levels or quitting the game. But I don't assume that Xorg related.

So I'm about to close thisbug as works for me. Please confirm the packages from testing with a full -Syu. Make sure you run your AMD card in kms mode.

Loading...