I've been seeing this for a while: ------------------------------------------------ joel@vaio-z1 ~ $ duke3d Duke Nukem 3D v1.4 - Atomic Edition Copyright (c) 1996 3D Realms Entertainment Using Setup file: 'DUKE3D.CFG' STUB: CONTROL_ClearAssignments (CONTROL_ClearAssignments, control.c:209) Compiling: 'GAME.CON'. Including: 'DEFS.CON'. Including: 'USER.CON'. Code Size:64840 bytes(1794 labels). * Hold Esc to Abort. * Loading art header. Checking sound inits. Unknown Multivoc error code.joel@vaio-z1 ~ $ ------------------------------------------------ It runs fine as root.. This is with duke3d 20040817. I'm willing to try solving this, but when I've tried running strace, I got no success.
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}).
*** This bug has been marked as a duplicate of 99590 ***