Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help! Ubuntu Power Users and Gamers
New Posts  All Forums:Forum Nav:

Help! Ubuntu Power Users and Gamers

post #1 of 27
Thread Starter 
Greetz
I have been having a great time playing Linux Quake 3, rediscovering the game and enjoying the advantages of hardware waaay beyond for what it was written and the various advantages only available in Linux, one of which is substantially lower ping. Naturally I talk to high pingers about how they can fix that.

I've been helping a player who is pretty awesome despite bad connection. I got him to install Ubuntu 10,04 64 bit and everything blows his mind except sound only works in everything but Q3. That happened to me also with Point Release but was solved when I installed SDL support and Innoculus ioquake3

http://ioquake3.org/

It did not solve his sound problem however and I am hesitant to have him uninstall PulseAudio since it is part of Gnome which I rarely use but is all he has. As you might imagine I have Googled my a$$ off but have yet to find a fix. Please help, I don't want to lose the powerful 1st impression Linux has made.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #2 of 27
in wineconfig, in the audio tab, make sure it is set to the asla sound driver.

also right click on system and go to "edit menus", then to the system->preferneces on the left hand side, then on the right hand pane, look for "multimedia systems selector", check it, hit close, then go to system->preferences->multimedia systems selector, on audi have him change teh default out from default, to alsa. (a restart might be required)

this is the only was able to get audio working in fallout3 for my friend.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #3 of 27
Thread Starter 
Quote:
Originally Posted by transhour View Post
in wineconfig, in the audio tab, make sure it is set to the asla sound driver.

also right click on system and go to "edit menus", then to the system->preferneces on the left hand side, then on the right hand pane, look for "multimedia systems selector", check it, hit close, then go to system->preferences->multimedia systems selector, on audi have him change teh default out from default, to alsa. (a restart might be required)

this is the only was able to get audio working in fallout3 for my friend.
Thanks transhour but Quale3 is installed native Linux here. This is especially true of the modded engines like ezquake, DarkPlaces, and this one ioquake. Ioquake may be a bit controversial to some but the code is clean. I have installed it in Arch, Ubuntu, Slax, Salix, of course Slackware and even in OS/2 with gcc and X libraries. It has worked perfectly everywhere once installed.

However since he has Gnome I'm at a disadvantage, especially since sound does work in system. I'm hoping Lattyware sees this since he's a PulseAudio proponent. If I don;t find an answer in a day or two I'm gonna have him uninstall Pulse and get Esound. I really don't wanna do that, especially over IM.

If you know about Gnome and/or Pulse please follow up.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #4 of 27
well you still can switch the main multimedia from pulse to alsa using the second half of what i posted
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #5 of 27
Quote:
Originally Posted by transhour View Post
well you still can switch the main multimedia from pulse to alsa using the second half of what i posted
Pulse uses alsa, it's just a mixer, and when you go from pulse to alsa your either routing around the mixer or you disable it.

No sound in Q3? Run the game in console and tell him to post everything it tells us as it's starting. It will tell us something about a sound error I'm sure of it. =)

Another out of the way (but might help in other areas) solution is installing OSSv4, but I have problems with OSSv4 in WINE and CS:S. Oddly no other game does what CS:S and OSSv4 do, you get a 1sec sound delay and it bothers the hell out of me since the only reason I have steam is to play CS:S and that happens to be the game I play the most.... you can understand the problem there.

Anyways report back!

[edit] Pulse tends to cause more problems than it solves because many programs aren't written for it and that can cause conflicts between programs trying to fight for control of ALSA. ALSA has its own mixer and that causes a huge problem. He might have Pulse installed and you should ask him as disabling Pulse might solve his problem.
Edited by mushroomboy - 8/18/10 at 3:04pm
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #6 of 27
He's probably having dependency issues. Since he's using 64bit, the game may be trying to load 32bit sound libraries and causing confusion (happens all the time). Launching the game from the terminal should give more clues. If a library mismatch is the cause, then a simple symbolic link should fix it. Another problem could be that the game calls for a particular sound lib that's a few versions too old than the one Ubuntu uses.
Magicbox
(17 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX Nitro+ RX480 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
OSOSMonitorKeyboard
Kubuntu  Windows 10 Pro Dell U2515H CM Quickfire TK (Cherry Blue) 
PowerCaseMouseMouse Pad
Cooler Master Silent Pro M 850W Cooler Master HAF 912 Logitech G502 Logitech G440 
Audio
Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
Magicbox
(17 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX Nitro+ RX480 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
OSOSMonitorKeyboard
Kubuntu  Windows 10 Pro Dell U2515H CM Quickfire TK (Cherry Blue) 
PowerCaseMouseMouse Pad
Cooler Master Silent Pro M 850W Cooler Master HAF 912 Logitech G502 Logitech G440 
Audio
Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
post #7 of 27
Thread Starter 
Quote:
Originally Posted by Melcar View Post
He's probably having dependency issues. Since he's using 64bit, the game may be trying to load 32bit sound libraries and causing confusion (happens all the time). Launching the game from the terminal should give more clues. If a library mismatch is the cause, then a simple symbolic link should fix it. Another problem could be that the game calls for a particular sound lib that's a few versions too old than the one Ubuntu uses.
Thanks to mushroomboy and Melcar for reinforcing terminal output cuz I've been kinda avoiding that issue since this guy is not only newb but is only excited about less lag so I didn't wanna hit him too hard too soon.

The Q3 installer is 64 bit, Maybe you could try it?


http://ioquake3.org/get-it/
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #8 of 27
Quote:
Originally Posted by Melcar View Post
He's probably having dependency issues. Since he's using 64bit, the game may be trying to load 32bit sound libraries and causing confusion (happens all the time). Launching the game from the terminal should give more clues. If a library mismatch is the cause, then a simple symbolic link should fix it. Another problem could be that the game calls for a particular sound lib that's a few versions too old than the one Ubuntu uses.
The game calls for OSS and that isn't shipped in any version of Ubuntu (and isn't used much at all) but is rather emulated via OSS emulation through ALSA. You could be right about the 32bit lib for the game but I don't remember exactly how that works with Q3, I'm going to install and go have a look at to see if there is a 64bit binary.

[edit]
ioquake3 negates the 32bit libs by running a 64bit binary, case of 32bit libs should be closed.

Code:
------ Initializing Sound ------
Loading "libopenal.so.0"...
Failed to load library: "libopenal.so.0".
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  705
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x32f5920 dma buffer
No background file.
----------------------
Sound initialization successful.
That's what were looking for. Also note that it says ALSA which means the ioquake has brought ALSA support to the game, I'm guessing that wasn't originally there.
Edited by mushroomboy - 8/18/10 at 8:14pm
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #9 of 27
Thread Starter 
Quote:
Originally Posted by mushroomboy View Post
The game calls for OSS and that isn't shipped in any version of Ubuntu (and isn't used much at all) but is rather emulated via OSS emulation through ALSA. You could be right about the 32bit lib for the game but I don't remember exactly how that works with Q3, I'm going to install and go have a look at to see if there is a 64bit binary.

[edit]
ioquake3 negates the 32bit libs by running a 64bit binary, case of 32bit libs should be closed.

Code:
------ Initializing Sound ------
Loading "libopenal.so.0"...
Failed to load library: "libopenal.so.0".
SDL_Init( SDL_INIT_AUDIO )... OK
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  705
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x32f5920 dma buffer
No background file.
----------------------
Sound initialization successful.
That's what were looking for. Also note that it says ALSA which means the ioquake has brought ALSA support to the game, I'm guessing that wasn't originally there.
I didn't know for certain that Q3 called for OSS but everything else I knew. I just don't know Ubuntu well or PulseAudio for that matter since it isn't installed by default in Slackware . i knew ioquake employs Alsa via SDL as I'd tried SDL Quake first before I found the cleaner, more powerful ioquake.

I posted the link and asked others to try it for a couple reasons. One was to show that there are both 32 bit and 64 bit engines available so the confirmation of that didn't come from me, the one posting the problem. I commonly take little for granted when someone is having troubles. So many problems are from some tiny error that gets overlooked and even repeated. Thanks for nailing that down.

Are you running PulseAudio?

PS - BTW ioquake has many sweet improvements and updates to config possibilities not the least of which is widescreen support via q3config.cfg and massive user control of game options and tweaks. CTF is just awesome!

PPS I'm hoping to convert half the clan to Linux
Edited by enorbet2 - 8/18/10 at 9:25pm
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #10 of 27
PulseAudio is a part of Gnome in Ubuntu?
I use OSS, never looked back.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help! Ubuntu Power Users and Gamers