Can't see weapons or players/bots

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Tue Nov 18, 2008 9:14 pm

  • Disable pulseaudio.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Fri Nov 21, 2008 6:13 pm

  • Alien wrote:Disable pulseaudio.


    No good. When I start the game with pasuspender in front of the command, I still get no sound. Output from terminal in the sound part is:

    S_Startup: initializing sound output format: 48000Hz, 16 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 44100Hz, 16 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 22050Hz, 16 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 11025Hz, 16 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 11025Hz, 8 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 11025Hz, 8 bit, 1 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: initializing sound output format: 8000Hz, 8 bit, 1 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    SndSys_Init: can't initialize hardware parameters (Operation not permitted)
    S_Startup: sound output initialization FAILED
    S_Startup: SndSys_Init failed.
    ioctl CDROMREADTOCHDR failed


    Sound is otherwise working, no problems outside of this game (so far).

    Killing pulseaudio process manually before starting the game helps, but I don't want to be doing that.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Sun Nov 23, 2008 3:34 pm

  • I've checked a tone of documentation on PulseAudio and it seems that I'm doing everything right, but the PulseAudio server still won't suspend while I run the game.

    Could it be that the glx script just starts the application and is no longer active after it starts, so PulseAudio starts again immideately? I'll try to check the logs.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Sun Nov 23, 2008 3:40 pm

Mon Nov 24, 2008 6:11 pm



  • Nah, I don't want to bypass PulseAudio completely, just while this game is running.

    I'm skillful enough to write a command to kill PulseAudio when I start the game, but I I would have to start it again manually later, pain in the ass. There must be some workaround for this, for instance pausing PulseAudio while some proccess of this game is active, just need to find the way.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Mon Nov 24, 2008 6:26 pm

  • So write a bash script which suspends pulseaudio, starts nexuiz and resumes working after nexuiz quits restarting pulse audio. :)
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Tue Nov 25, 2008 6:35 pm

  • Alien wrote:So write a bash script which suspends pulseaudio, starts nexuiz and resumes working after nexuiz quits restarting pulse audio. :)


    The only way of doing this that comes to me is automaticaly checking periodicaly if Nexuiz process is still active and running pulseaudio -D command if it isn't.

    That however is very stupid solution and I'm sure that someone with more knowledge can think of a better way.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Tue Nov 25, 2008 7:49 pm

  • http://linux.die.net/man/1/pasuspender
    pasuspender will suspend access to the audio devices, fork a child process, and when the child process terminates, resume access again.


    That means pasuspender nexuiz-linux-686-glx should work.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am


  • lvader wrote:on my 2-year old IBM laptop on which quake3 runs perfectly.
    as it is now, nexuiz is badly tested (you only take the big fat pc's for testing?)
    and therefore a waste of time. i will not try any strange workarounds -
    as it does not run out of the box, i'll simply delete it.


    This has nothing to do with testing, but with advanced graphics features.

    Does Crysis run on that notebook? Probably not.
    Does even Quake 4 run on that well? Probably not.

    Quake 3 uses much older technology than Nexuiz does - Q3A doesn't even use OpenGL 2.0, actually. Nexuiz could look much better with better models, by the way, the tech is way better than how it looks due to the existing content.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Nov 26, 2008 1:16 pm

  • Crysis had insane 20000 polies for model, if I'm not misinformed Stalker even more. Nexuiz has around 3000, but they could look way better even with smaller amount.
    Please compare with http://www.rsart.co.uk/2007/08/27/yes-b ... y-polygons:
    Quake 4, PC, 2006
    Player model - 2,500 polygons with multiple diffuse, specular and normal maps
    Unreal Tournament 2k3, PC, 2003
    Player model - 3,000 polygons
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Wed Nov 26, 2008 6:16 pm

  • Alien wrote:http://linux.die.net/man/1/pasuspender
    pasuspender will suspend access to the audio devices, fork a child process, and when the child process terminates, resume access again.


    That means pasuspender nexuiz-linux-686-glx should work.


    It should, but it doesn't, I can't figure out why.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Wed Nov 26, 2008 6:36 pm

  • Why is easy. Because .asoundrc routes sound through pulseaudio. If .asoundrc does that, pasuspender cannot work, as ALSA apps will contact the just suspended pulseaudio.

    Try:

    pasuspender nexuiz-linux-686-glx -sndpcm hw:0,0
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Nov 26, 2008 10:43 pm

  • divVerent wrote:Why is easy. Because .asoundrc routes sound through pulseaudio. If .asoundrc does that, pasuspender cannot work, as ALSA apps will contact the just suspended pulseaudio.

    Try:

    pasuspender nexuiz-linux-686-glx -sndpcm hw:0,0


    This is supposed to emulate the old OSS drivers, I guess. It doesn't work, I still have the same problem.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Thu Nov 27, 2008 6:17 am

  • Well, this WILL work: compile a current darkplaces version, and use that with pulseaudio and the ALSA wrapper. That will work for sure.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Nov 27, 2008 12:38 pm

  • divVerent wrote:Well, this WILL work: compile a current darkplaces version, and use that with pulseaudio and the ALSA wrapper. That will work for sure.


    Don't want to do that since I'm seriuously running out of room on my Linux partition and right now I can't risk playing with partition manager, I need this laptop for work as well.

    Any chance we might get the binaries any tme soon?
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Thu Nov 27, 2008 1:04 pm

  • Not before the next release, probably. But that could be soon.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Nov 27, 2008 2:25 pm

  • divVerent wrote:Not before the next release, probably. But that could be soon.


    How soon are we talking about? If it's a month or two, I'll simply wait.
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Thu Nov 27, 2008 3:46 pm

Thu Nov 27, 2008 4:54 pm

  • Alien wrote:http://icculus.org/twilight/darkplaces/files/darkplacesengine20081120beta1.zip


    Ok, but what exactly am I supposed to do with it?
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Thu Nov 27, 2008 7:17 pm

  • rename the darkplaces- executables to nexuiz- ones, and use them instead of nexuiz-linux-686-glx.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Nov 27, 2008 8:29 pm

  • It seems that everything works, but I'll try to do some proper testing tomorrow.

    Am I just imaginating it or the models have much more detail now?
    morbius
    Member
     
    Posts: 16
    Joined: Tue Nov 04, 2008 7:33 pm

Thu Dec 25, 2008 12:22 pm

  • het can some1 plz put up the 2.4 exe somewhere an post a link.. dont wanna dl the entire 2.4.. same problem.. intel integrated graphics on this ancient machine.. works fine on my newer one..
    theusurper
    Member
     
    Posts: 20
    Joined: Tue Dec 23, 2008 6:17 pm
    Location: Bangalore, India

Sat Dec 27, 2008 4:33 pm

Previous


Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest