Summary: | duke3d runs only as root | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joël <world.root> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | flash3001, zmedico |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | bzipped output of "strace -f duke3d 2>duke3d.log" |
Description
Joël
2005-07-14 06:36:01 UTC
No problem with sdl-mixer-1.2.5-r1, only sdl-mixer-1.2.6. Pydance has the same problem with sdl-mixer-1.2.6 (root privileges required). This problem does not affect all sdl-mixer apps. For example, sdlroids plays sound normally with either version of sdl-mixer. http://forums.gentoo.org/viewtopic-t-352229-highlight-.html if it works for root but not user, that could indicate a permissions problem. Try running it under strace as the user and look for what's failing. Can't reproduce the problem over here. 1.2.6 is working fine across the board. I can confirm comment #1. Using sdl-mixer-1.2.5-r1, the game runs fine as a user. Thanks for the workaround :-) Regarding comment #2, unfortunately, it seems strace doesn't provide much info.. maybe because of a child process that isn't traced ? running duke3d as root is a pretty bad idea. use the -f flag to strace to trace child processes. Created attachment 64878 [details]
bzipped output of "strace -f duke3d 2>duke3d.log"
Hope this helps..
It's a permission problem for the music.raw file that is automatically created in the current directory when sdl-mixer-1.2.6 is built with USE="mikmod". Some games like dude3d and pydance put the music.raw into a directory where the user does not necessarily have write permission (/usr/share/games/${PN}). |