View previous topic :: View next topic |
Author |
Message |
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Sun Mar 25, 2018 4:26 am Post subject: stepmania defaulting to using OSS instead of ALSA |
|
|
so whenever i run stepmania(version 5.1), it always outputs this. everything but the sound works fine though.
Code: |
ALSA: Advanced Linux Sound Architecture Driver Version k4.9.76-gentoo-r1.
ALSA Driver: 0: HDA Intel PCH [PCH], device 0: Generic Analog [Generic Analog], 1/1 subdevices avail
ALSA Driver: 0: HDA Intel PCH [PCH], device 1: Generic Digital [Generic Digital], 1/1 subdevices avail
ALSA Driver: 1: HDA NVidia [NVidia], device 3: Generic Digital [Generic Digital], 1/1 subdevices avail
ALSA Driver: 2: USB Sound Device [Device], device 0: USB Audio [USB Audio], 0/1 subdevices avail
ALSA: dsnd_pcm_hw_params_set_access: Invalid argument
Couldn't load driver ALSA-sw: SetHWParams failed
Sound driver: OSS
|
does someone know what i can do about this so that it will use ALSA? |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Sun Mar 25, 2018 6:35 pm Post subject: |
|
|
Jaglover wrote: | You can enable OSS emulation in kernel. |
ive tried this and it doesnt actually work for this |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Sun Mar 25, 2018 6:52 pm Post subject: |
|
|
Quote: | Something is wrong then. Were /dev/dsp nodes created? |
im pretty sure, when i execute they do show up there |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Mon Mar 26, 2018 5:30 am Post subject: |
|
|
Jaglover wrote: | Can this game be configured to force ALSA? |
i dont think i know how to compile it to do this, ive also tried compiling it from source with the default settings but the problem is still there.
i found this though:
Quote: | That's the actual problem. It looks like your card doesn't support SND_PCM_FORMAT_S16_LE. Try changing "SoundDevice" to "default" in StepMania.ini; this will force ALSA conversions to be used. |
problem is though, i dont have this file anywhere on my computer. i have both the already compiled version (version 5.1) and also one where i downloaded the source code(version 5.2 i think) and there isnt such a file in either folder
Jaglover wrote: | You may be better off asking it on their IRC channel. |
well i dont usually use IRC for anything, i also dont know of any official IRC servers for stepmania. |
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Tue Apr 03, 2018 8:53 am Post subject: |
|
|
ok so i fixed a problem, it still isnt using ALSA though.
(im using the etterna stepmania build) i edited
Code: | etterna-0.56.2-CalcOnly/Save/Preferences.ini |
i edited the line to Code: | SoundDevice=Default |
now i no longer get Code: | ALSA: dsnd_pcm_hw_params_set_access: Invalid argument |
instead this is what is output instead
Code: | ALSA device overridden to "Default"
Couldn't load driver ALSA-sw: dsnd_pcm_open(Default): No such file or directory
Sound driver: OSS
|
does someone know what i can do to fix this? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
berardel n00b
Joined: 03 Mar 2018 Posts: 34 Location: United States
|
Posted: Wed Apr 04, 2018 3:40 am Post subject: |
|
|
ok so i fixed it completely now, thanks to the help of the stepmania IRC channel, its using pulseaudio instead of OSS.
i edited the line sound drivers to Pulse in that one file mentioned above. |
|
Back to top |
|
|
|