Code Monkey home page Code Monkey logo

Comments (9)

zaps166 avatar zaps166 commented on June 30, 2024

AFAIK Steam Deck runs modified Arch Linux. Does it use pipewire or pulseaudio? Can you check if you have 32-bit SDL2 and pipewire/pulseaudio libs installed?

from nfsiise.

FireGate13 avatar FireGate13 commented on June 30, 2024

using pactl info command, it shows Server Name: PulseAudio (on PipeWire 0.3.45). Can you help me how to check the above libraries..?

from nfsiise.

zaps166 avatar zaps166 commented on June 30, 2024

Ok, so you have PipeWire. I don't know why you don't have sound. Check:

  • if you have nfs2se on the audio application list (e.g. pavucontrol) and it's not muted
  • look if you have env | grep SDL_AUDIODRIVER
  • install some libs from: lib32-pipewire, lib32-pulse, lib32-alsa-lib
  • to use native pipewire with SDL2, run: SDL_AUDIODRIVER=pipewire nfs2se (requires lib32-pipewire), otherwise it will fallback to pulseaudio (via pipewire, lib32-pulse), otherwise it will fallback to alsa (via pipewire, requires lib32-alsa-lib and pipewire-alsa)

from nfsiise.

FireGate13 avatar FireGate13 commented on June 30, 2024
  • no the application is not muted
  • nothing in the env output
  • unfortunately you cannot install extra libraries on SteamOs (the filesystem is locked, and i am afraid to mess with it)
  1. Packages (1) lib32-pipewire-1:0.3.44-1 (it is not installed)
  2. warning: lib32-alsa-lib-1.2.6.1-1 is up to date
  3. error: target not found: lib32-pulse
  • SDL_Init failed: Audio target 'pipewire' not available
  • the output of the executable states the following:
    ALSA lib conf.c:4110:(config_file_load) cannot stat file/directory /etc/alsa/conf.d
    ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
    ALSA lib conf.c:4110:(config_file_load) cannot stat file/directory /etc/alsa/conf.d

from nfsiise.

zaps166 avatar zaps166 commented on June 30, 2024
  • sorry, lib32-libpulse - check this package

Something is wrong with 32-bit audio on this OS. Maybe try to run:
SDL_AUDIODRIVER=pulse nfs2se ?

from nfsiise.

FireGate13 avatar FireGate13 commented on June 30, 2024

lib32-libpulse-15.0-1 is not installed... as i mentioned we cannot upgrade system files on steamdeck.
trying with =pulse and it fails :(
SDL_Init failed: Failed loading pa_get_library_version: ./nfs2se: undefined symbol: _pa_get_library_version

from nfsiise.

zaps166 avatar zaps166 commented on June 30, 2024

The last chance is SDL_AUDIODRIVER=alsa nfs2se

Looks like something is wrong with SteamOS libraries (undefined symbol: _pa_get_library_version shouldn't happen). Maybe try to download and unpack all needed 32-bit libraries to a directory and set LD_LIBRARY_PATH there?

Maybe try also to add "Non-Steam Game" and set compatibility to Steam Linux Runtime?

from nfsiise.

FireGate13 avatar FireGate13 commented on June 30, 2024

omg ! i have sound!!!
i did added nf2se as a non steam game and i set compatibility to "steam linux runtime" and it worked!

from nfsiise.

zaps166 avatar zaps166 commented on June 30, 2024

👍

from nfsiise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.