LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 09-05-2017, 09:45 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 494
Blog Entries: 3

Rep: Reputation: 157Reputation: 157
No sound in Rocket League


I received a free promo code to get this game on steam when in purchased a zotac graphics card, and the game had Linux support, so i just installed it today.

Starting the game, it all works fine, except there is no sound at all. I have no idea why, as all other games / youtube / music etc all works fine. It's just this one game.

Does anyone play this and knows how to get sound? I am using pulseaudio (which i believe is the culprit as always...).
 
Old 09-06-2017, 05:22 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,718

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
Some of those games just spewed sound at a particular I/O address. 0x220 was for sound blaster & compatible cards. Others use a higher spot 0x768? Can you find what address it uses? I presume sound is ok on other things.
 
Old 09-06-2017, 06:17 AM   #3
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 67
Rocket League should use whatever your default pulseaudio soundcard is. If you start up rocket league and then look on the pulseaudio volume control (pavucontrol) do you see rocket league in the playback tab at all?
 
Old 09-07-2017, 02:10 AM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 494
Blog Entries: 3

Original Poster
Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by business_kid View Post
Some of those games just spewed sound at a particular I/O address. 0x220 was for sound blaster & compatible cards. Others use a higher spot 0x768? Can you find what address it uses? I presume sound is ok on other things.
Sounds works fine everywhere else, it's just this one game producing no sound at all.
I'm not sure how to find which I/O address is in use.

Quote:
Originally Posted by af7567 View Post
Rocket League should use whatever your default pulseaudio soundcard is. If you start up rocket league and then look on the pulseaudio volume control (pavucontrol) do you see rocket league in the playback tab at all?
Yes. See attached screenshot. Although, the greyed out bar below the volume slider never shows any activity.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170907_070758.png
Views:	23
Size:	27.9 KB
ID:	25828  
 
Old 09-07-2017, 08:24 AM   #5
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 67
It looks like your rocket league at least knows to use pulseaudio since it is showing up there on the volume control. When I run rocket league I have it listed twice in the volume control. Once for the game sounds, and once for the in game chat. It looks like yours has only got the voice chat stream open but not the game sounds. Have you checked the audio settings in game to make sure all the volume sliders in there are turned up and that it is set to headphones / speakers correctly.

I have attached a screenshot of my pavucontrol when rocket league is running at the main menu. The "Playback Stream" is the voice chat, and "Simple DirectMedia..." is the actual game sounds.
Attached Thumbnails
Click image for larger version

Name:	pavucontrol.png
Views:	13
Size:	35.7 KB
ID:	25829  
 
Old 09-08-2017, 12:14 AM   #6
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 494
Blog Entries: 3

Original Poster
Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by af7567 View Post
It looks like your rocket league at least knows to use pulseaudio since it is showing up there on the volume control. When I run rocket league I have it listed twice in the volume control. Once for the game sounds, and once for the in game chat. It looks like yours has only got the voice chat stream open but not the game sounds. Have you checked the audio settings in game to make sure all the volume sliders in there are turned up and that it is set to headphones / speakers correctly.

I have attached a screenshot of my pavucontrol when rocket league is running at the main menu. The "Playback Stream" is the voice chat, and "Simple DirectMedia..." is the actual game sounds.
Yes i've looked there, and messed with all sound settings, putting the full etc. Also tried toggling "DirectSound" to off, in one of the game configs. But still no sound.

I am using a USB headset, not that it should mean anything as it works for everything else in terms of mic/sound. But i did try to use my 3.5 jack speakers, as the sound device, but still no sound there either.

I'm on Slackware by the way. Which Distro are you using where sound is working?

Last edited by coralfang; 09-08-2017 at 12:16 AM.
 
Old 09-08-2017, 05:34 AM   #7
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 67
I am using slackware64 current. I have installed steam using alienbobs package. I currently have version 1.0.0.51 of the steamclient package installed, just noticed that is an old one and the latest seems to be 1.0.0.54

edit:
I just had a look at /usr/bin/steam from the latest steamclient package and it has
Code:
export LD_PRELOAD='/usr/$LIB/libasound.so.2'
export SDL_AUDIODRIVER=alsa
I had commented these lines out on my system before since I started using pulseaudio.

edit2:
I just tested rocket league with those 2 environment variables set and the game crashes at startup. So I edited my /usr/bin/steam to comment out the LD_PRELOAD and the SDL_AUDIODRIVER lines again and rocket league works again with sound.

Last edited by af7567; 09-08-2017 at 05:47 AM.
 
1 members found this post helpful.
Old 09-09-2017, 06:50 AM   #8
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 494
Blog Entries: 3

Original Poster
Rep: Reputation: 157Reputation: 157
Thank you! Same with my system, i had 1.0.0.51 installed, upgraded it, and commented those 2 lines in the launcher script, and Rocket League now plays sound correctly. Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Rocket League promised for Linux, MAME open source after 19 years, and more gaming news LXer Syndicated Linux News 0 03-13-2016 04:11 AM
PLEASE HACK MY COMPUTER to install League of Legends LiamLucas Linux - Newbie 4 06-06-2012 11:10 AM
Looking for help regarding Wine and League of Legends McGubby LinuxQuestions.org Member Intro 1 03-19-2012 11:09 PM
League Of Legends on Ubuntu? dirtydog7655 Linux - Games 1 03-30-2011 09:49 PM
Ivy League Graduate School indigo Glitter General 9 02-23-2011 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration