Not a member yet? Why not Sign up today
Create an account  

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
No Audio - Unable To Use Sound Card

#1
Hello! First post here, unfortunately a bug but hopefully I'll be more active otherwise as well.

I'm running into a bit of an issue on my machine running Ubuntu 18.04 LTS. I've got a sound card installed as I need it for a 5.1 setup, but unfortunately I don't get any audio with the XanMod kernel. The audio previously worked with generic Linux kernels in the 4.15 and 4.18 series. I do see the device actually listed when I open up my sound settings, and I can even fiddle with it in `alsamixer`, but I notice that I can't actually activate the output. My built-in card on the mobo is just force enabled regardless. I don't particularly know where to get information about my system audio as I've never had to look into it, but I can provide most of my basic system information to start, and provide additional data moving forward.

My `inxi -Fxzc0` output:
```
System:    Host: schyken-ryzen-horizon Kernel: 4.18.4-xanmod3 x86_64
           bits: 64 gcc: 8.2.0
           Desktop: Gnome 3.28.3 (Gtk 3.22.30-1ubuntu1)
           Distro: Ubuntu 18.04.1 LTS
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME B350-PLUS v: Rev X.0x serial: N/A
           UEFI: American Megatrends v: 4011 date: 04/19/2018
CPU:       8 core AMD Ryzen 7 2700 Eight-Core (-MT-MCP-)
           arch: Zen rev.2 cache: 4096 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 54299
           clock speeds: max: 3400 MHz 1: 1349 MHz 2: 1354 MHz 3: 2726 MHz
           4: 2747 MHz 5: 2876 MHz 6: 3094 MHz 7: 1356 MHz 8: 1357 MHz
           9: 2715 MHz 10: 3273 MHz 11: 2756 MHz 12: 3059 MHz 13: 1354 MHz
           14: 1356 MHz 15: 1355 MHz 16: 1356 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon RX Vega]
           bus-ID: 0c:00.0
           Display Server: x11 (X.Org 1.19.6 ) driver: amdgpu
           Resolution: 2560x1440@59.95hz
           OpenGL: renderer: Radeon RX Vega (VEGA10 / DRM 3.26.0 / 4.18.4-xanmod3, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
           driver: snd_hda_intel bus-ID: 0e:00.3
           Card-2 Advanced Micro Devices [AMD/ATI] Device aaf8
           driver: snd_hda_intel bus-ID: 0c:00.1
           Card-3 Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series]
           driver: snd_hda_intel bus-ID: 09:00.0
           Card-4 Logitech HD Pro Webcam C920 driver: USB Audio usb-ID: 003-003
           Card-5 C-Media driver: USB Audio usb-ID: 001-002
           Sound: Advanced Linux Sound Architecture v: k4.18.4-xanmod3
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: f000 bus-ID: 04:00.0
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2250.5GB (2.4% used)
           ID-1: /dev/nvme0n1 model: Samsung_SSD_960_EVO_250GB size: 250.1GB
           ID-2: /dev/sda model: WDC_WDS500G2B0A size: 500.1GB
           ID-3: /dev/sdb model: WDC_WDS500G2B0A size: 500.1GB
           ID-4: /dev/sdc model: WDC_WDS500G2B0A size: 500.1GB
           ID-5: /dev/sdd model: WDC_WDS500G2B0A size: 500.1GB
Partition: ID-1: / size: 224G used: 27G (12%) fs: btrfs dev: /dev/nvme0n1p3
           ID-2: /home size: 224G used: 27G (12%) fs: btrfs dev: /dev/nvme0n1p3
           ID-3: /boot size: 1.4G used: 214M (17%) fs: ext4 dev: /dev/nvme0n1p2
           ID-4: swap-1 size: 6.99GB used: 0.00GB (0%)
           fs: swap dev: /dev/nvme0n1p4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: N/A mobo: N/A gpu: 38.0
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 451 Uptime: 14 min Memory: 1925.5/32161.9MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
```
Reply

#2
Hello @Schyken, welcome to Xanmod forum!

In order to solve this issue, please try these instructions first:
Code:
$ sudo modprobe snd-card-sb16
# test if this single first command works, if not, continue
$ pulseaudio --start
$ sudo apt-get install pavucontrol
$ pavucontrol
# configuration, profile, select 'analog stereo out'

If no success, please try:
https://www.maketecheasier.com/fix-no-so...ue-ubuntu/

You can get more extensive information about Ubuntu sound here:
https://help.ubuntu.com/community/SoundT...gProcedure
Related info: https://www.tldp.org/HOWTO/Alsa-sound-5.html
"(...) the grandest occasion the past or present has seen, or the future can hope to see." -- Cervantes.
Reply

#3
(29-08-2018, 12:28 PM)tropic Wrote: Hello @Schyken, welcome to Xanmod forum!

In order to solve this issue, please try these instructions first:
Code:
$ sudo modprobe snd-card-sb16
# test if this single first command works, if not, continue
$ pulseaudio --start
$ sudo apt-get install pavucontrol
$ pavucontrol
# configuration, profile, select 'analog stereo out'

If no success, please try:
https://www.maketecheasier.com/fix-no-so...ue-ubuntu/

You can get more extensive information about Ubuntu sound here:
https://help.ubuntu.com/community/SoundT...gProcedure
Related info: https://www.tldp.org/HOWTO/Alsa-sound-5.html

The modprobe returns:
```
modprobe: FATAL: Module snd-card-sb16 not found in directory /lib/modules/4.18.4-xanmod3
```
And though I tried setting the configuration of the card to analog stereo out as well as analog 5.1 out, no luck.
Reply

#4
Please, try last effort with:
Code:
$ sudo kill `ps uax |grep pulseaudio | grep -v grep | awk '{print $2}'` ; sudo rmmod snd-hda-intel
$ sudo modprobe snd-hda-intel
$ cat /proc/asound/Creative/pcm0p/sub0/hw_params

SoundBlaster Z series are not the most easy cards for Linux, unfortunately.
However if it worked for you with 4.15 and 4.18 generic, it should work.
I hope this issue will get solved as expected.
"(...) the grandest occasion the past or present has seen, or the future can hope to see." -- Cervantes.
Reply

#5
(30-08-2018, 12:27 PM)tropic Wrote: Please, try last effort with:
Code:
$ sudo kill `ps uax |grep pulseaudio | grep -v grep | awk '{print $2}'` ; sudo rmmod snd-hda-intel
$ sudo modprobe snd-hda-intel
$ cat /proc/asound/Creative/pcm0p/sub0/hw_params

SoundBlaster Z series are not the most easy cards for Linux, unfortunately.
However if it worked for you with 4.15 and 4.18 generic, it should work.
I hope this issue will get solved as expected.

Thanks for all your help BTW. The first command returns `rmmod: ERROR: Module snd_hda_intel is in use` when I run it. The third command returns nothing. The final command returns `closed`.
Reply

#6
(31-08-2018, 06:49 AM)Schyken Wrote:
(30-08-2018, 12:27 PM)tropic Wrote: Please, try last effort with:
Code:
$ sudo kill `ps uax |grep pulseaudio | grep -v grep | awk '{print $2}'` ; sudo rmmod snd-hda-intel
$ sudo modprobe snd-hda-intel
$ cat /proc/asound/Creative/pcm0p/sub0/hw_params

SoundBlaster Z series are not the most easy cards for Linux, unfortunately.
However if it worked for you with 4.15 and 4.18 generic, it should work.
I hope this issue will get solved as expected.

Thanks for all your help BTW. The first command returns `rmmod: ERROR: Module snd_hda_intel is in use` when I run it. The third command returns nothing. The final command returns `closed`.


'Module snd_hda_intel is in use' is not expected after 'sudo kill' command.

A major fix to avoid such unexpected result should be as follows:
Code:
$ sudo nano /etc/rc.local
# before the "END" at the bottom of the rc.local file add next two lines
rmmod snd_hda_intel 
modprobe snd_hda_intel position_fix=1
# save (ctrl+o) and then exit (ctrl+x)
$ sudo reboot

I have no more ideas, I hope this will work!  Dodgy
"(...) the grandest occasion the past or present has seen, or the future can hope to see." -- Cervantes.
Reply



[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump:


Users browsing this thread:
1 Guest(s)