Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound at all.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
assemblerhead
n00b
n00b


Joined: 23 Jan 2016
Posts: 36
Location: TX,US

PostPosted: Fri Aug 09, 2024 8:01 pm    Post subject: No sound at all. Reply with quote

Using the updated ALSA lib 1.2.11, Kernel-6-6.38, and get no sound whatever.
Tried two known good sound cards.
Un-muted everything in alsamixer.
Tried wiping the drive and starting over 4 times.
Still no sound ....

Sound Card : XonarDX
Kernel Module : virtuoso

Code:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DX [Xonar DX], device 0: Multichannel [Multichannel]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: DX [Xonar DX], device 1: Digital [Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


At wits end on this. :?:
Back to top
View user's profile Send private message
krumpf
Apprentice
Apprentice


Joined: 15 Jul 2018
Posts: 191

PostPosted: Sat Aug 10, 2024 6:48 pm    Post subject: Reply with quote

Do you have a asoundrc file that changes default card ?
Is your DX defined as main card in /etc/modprobe/alsa.conf ?
_________________
Dragon Princess Music Games Heroes and villains
Back to top
View user's profile Send private message
assemblerhead
n00b
n00b


Joined: 23 Jan 2016
Posts: 36
Location: TX,US

PostPosted: Tue Aug 13, 2024 2:13 pm    Post subject: Thanks for the response Reply with quote

The updated alsa lib has done away with the /etc/modprobe conf files.
Gentoo has also done away with the /etc/modprobe.d/ directory.
Its ALL automagically done.
Don't currently have an .asoundrc file anywhere.
Tried anything I could find in alsa wikis, or documentation.
All failed. :?
Back to top
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 537

PostPosted: Tue Aug 13, 2024 2:21 pm    Post subject: Reply with quote

Are you playing direct to "hw:0,0" ? In my experience, that's the only way to rule out ALSA fiddling with the audio chain. But you still need to ensure that all the mixer channels are turned up. I guess `snd-virtuosos` is loaded, since ALSA sees a device. I can't remember whether this card needs some proprietary firmware to be downloaded. I do remember that the Xonar cards could be quite fiddly on Linux.

BR, Lars.
Back to top
View user's profile Send private message
krumpf
Apprentice
Apprentice


Joined: 15 Jul 2018
Posts: 191

PostPosted: Tue Aug 13, 2024 7:21 pm    Post subject: Reply with quote

I got a Xonar D2X, and it works without any issue. Afaik, no extra firmware is required.
I had to change the /etc/modprobe.d/alsa.conf file to ensure the card would be loaded first by alsa, before* hda-intel. (Not sure it's needed anymore since I removed hda driver from kernel config). And then a lot of try and errors with asoundrc to get 6 channels sound with wine & mpv.

Edit : before hda-intel not after. D'oh me !
_________________
Dragon Princess Music Games Heroes and villains
Back to top
View user's profile Send private message
assemblerhead
n00b
n00b


Joined: 23 Jan 2016
Posts: 36
Location: TX,US

PostPosted: Wed Aug 21, 2024 7:24 pm    Post subject: No sound at all ???? Reply with quote

All the info possible :
Quote:

alsa-lib version 1.2.11

CFLAGS="-mtune=generic -O2 -pipe"
CXXFLAGS="-mtune=generic -O2 -pipe"


/etc/init.d # rc-service alsasound restart
* Storing ALSA Mixer Levels ... [ ok ]
* Restoring Mixer Levels ...
alsa-lib /var/tmp/portage/media-libs/alsa-lib-1.2.11/work/alsa-lib-1.2.11/src/ucm/main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 [ ok ]


/dev/snd #
by-path controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p seq timer
/proc/asound #
card0 cards devices DX oss pcm seq timers version
/proc/asound/DX #
id oxygen pcm0c pcm0p pcm1c pcm1p

/etc/modprobe.d # cat alsa.conf
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-virtuoso
options snd slots=snd-virtuoso
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# OSS/Free portion
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

Code:

 -- note : soundcore is built-in to the kernel
~ # lsmod
Module                  Size  Used by
snd_virtuoso           53248  0
snd_seq_dummy          12288  0
snd_oxygen_lib         45056  1 snd_virtuoso
snd_seq_oss            49152  0
snd_mpu401_uart        12288  1 snd_oxygen_lib
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                90112  5 snd_seq_oss,snd_seq_midi_event,snd_seq_dummy
snd_rawmidi            40960  1 snd_mpu401_uart
snd_seq_device         12288  3 snd_seq,snd_seq_oss,snd_rawmidi
snd_pcm               126976  1 snd_oxygen_lib
snd_timer              32768  2 snd_seq,snd_pcm

~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
    Default Audio Device
sysdefault
    Default Audio Device
iec958
    IEC958 (S/PDIF) Digital Audio Output
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default:CARD=DX
    Xonar DX, Multichannel
    Default Audio Device
sysdefault:CARD=DX
    Xonar DX, Multichannel
    Default Audio Device
front:CARD=DX,DEV=0
    Xonar DX, Multichannel
    Front output / input
surround21:CARD=DX,DEV=0
    Xonar DX, Multichannel
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=DX,DEV=0
    Xonar DX, Multichannel
    4.0 Surround output to Front and Rear speakers
surround41:CARD=DX,DEV=0
    Xonar DX, Multichannel
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DX,DEV=0
    Xonar DX, Multichannel
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DX,DEV=0
    Xonar DX, Multichannel
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DX,DEV=0
    Xonar DX, Multichannel
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DX,DEV=0
    Xonar DX, Multichannel
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=DX
    Xonar DX
    USB Stream Output
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum