LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Sound problems with VIA VT1708S after installing NVIDIA drivers (http://www.linuxquestions.org/questions/slackware-14/sound-problems-with-via-vt1708s-after-installing-nvidia-drivers-4175467225/)

Brosch91 06-24-2013 05:42 PM

Sound problems with VIA VT1708S after installing NVIDIA drivers
 
Hi everyone, I recently installed Slackware 14 on my pc which happens to use the onboard sound VIA VT1708S which worked fine until I rebooted my machine after installing NVIDIA's proprietary drivers. I've searched and I can't find any fixes that work. One example being this one, which didn't work: http://hennr.name/2011/06/29/how-to-...ds-under-linux
So I have no idea what to do at this point. If it helps, heres my /proc/asound/cards output:

root@BroschPOW3R-Linux:~# cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf9e78000 irq 21

Thanks in advance, let me know if you need anymore information than that and I will do my best to get it

EDIT: In addition, my motherboard is the ASUS M4N98TD EVO and it uses the Nforce 980a chipset

allend 06-24-2013 06:04 PM

Welcome to LQ!

Does this help? http://docs.slackware.com/howtos:har...s_on_slackware

Brosch91 06-24-2013 06:27 PM

Thanks for replying, I appreciate your help!
I tried aplay on 0,0 (which is the analog signal which is the one I need) and this is what happens:
Code:

root@BroschPOW3R-Linux:~#  aplay -D hw0,0 test.wav
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM hw0,0
aplay: main:696: audio open error: No such file or directory
root@BroschPOW3R-Linux:~#

any thoughts? Maybe I'm typing that in wrong?

Heres my output of the other two commands, just in case it helps.

Code:

root@BroschPOW3R-Linux:~#  lsmod | grep snd
snd_seq_dummy          1455  0
snd_seq_oss            29048  0
snd_seq_midi_event      5620  1 snd_seq_oss
snd_seq                51330  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device          5228  3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            39311  0
snd_mixer_oss          15532  1 snd_pcm_oss
snd_hda_codec_hdmi    23993  0
snd_hda_codec_via      39067  1
snd_hda_intel          23299  0
snd_hda_codec          81989  3 snd_hda_intel,snd_hda_codec_via,snd_hda_codec_hdmi
snd_hwdep              6484  1 snd_hda_codec
snd_pcm                73335  4 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_pcm_oss
snd_page_alloc          7081  2 snd_pcm,snd_hda_intel
snd_timer              18830  2 snd_pcm,snd_seq
snd                    58091  12 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_via,snd_hda_codec_hdmi,snd_mixer_oss,snd_pcm_oss,snd_seq_device,snd_seq,snd_seq_oss
soundcore              5570  1 snd

Code:

root@BroschPOW3R-Linux:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708S HP [VT1708S HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


allend 06-24-2013 06:40 PM

Quote:

aplay -D hw0,0 test.wav
test.wav needs to a sound file on your system. You could try using /usr/share/sounds/alsa/Noise.wav
Code:

aplay -D hw:0,0 /usr/share/sounds/alsa/Noise.wav

Brosch91 06-24-2013 06:45 PM

Oh yeah, figures -.-. But either way it still seems to output the same error:

Code:

root@BroschPOW3R-Linux:/usr/share/sounds/alsa# aplay -D hw0,0 Noise.wav
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM hw0,0
aplay: main:696: audio open error: No such file or directory


allend 06-24-2013 06:55 PM

Please post the output of 'aplay -L'.

Brosch91 06-24-2013 07:19 PM

Quote:

Originally Posted by allend (Post 4977878)
Please post the output of 'aplay -L'.

here you go:

Code:

root@BroschPOW3R-Linux:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=NVidia
    HDA NVidia, VT1708S Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Digital
    IEC958 (S/PDIF) Digital Audio Output


allend 06-24-2013 07:24 PM

Does this work?
Code:

aplay -D sysdefault /usr/share/sounds/alsa/Noise.wav

Brosch91 06-24-2013 07:26 PM

Yes it does!!

allend 06-24-2013 07:36 PM

Good. Your 'aplay -L' output does not show a 'default' device.
Try creating a file /etc/asound.conf containing
Code:

pcm.!default {
        type hw
        card 0
        device 0
}

ctl.!default {
        type hw         
        card 0
        device 0
}

It is probably easiest to reboot to test this.

Brosch91 06-24-2013 07:48 PM

No such luck, I booted up and the sound still didn't work, and XFCE said something about it not working and being reverted back to default or something like that
Also, I didn't think of it, but it says this when I play that test sound under sysdefault

Code:

root@BroschPOW3R-Linux:~# aplay -D sysdefault /usr/share/sounds/alsa/Noise.wav
ALSA lib conf.c:1690:(snd_config_load1) :11:2:Unexpected }
ALSA lib conf.c:3406:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

Also I'd like to add that I tried it as "aplay -D default" and that worked too. so both sysdefault and default work, but for some reason it doesn't want to work with anything else still?

allend 06-24-2013 09:03 PM

Quote:

ALSA lib conf.c:1690:(snd_config_load1) :11:2:Unexpected }
This suggests a problem with your /etc/asound.conf file, Perhaps a missing curly bracket?

Brosch91 06-24-2013 09:10 PM

I don't know if this might be relevant but I think it's more than a coincidence.
I just setup my laptop to boot right to the graphical interface and I accidentally booted right into KDE instead of XFCE (I did the same thing on my other PC that this topic is mainly concerned about), then after that my laptop's sound is now broken too. Something is going on with KDE that is making my sound cards on both computers non-functional, because my laptop's sound was working just fine until I accidentally booted into KDE. Any thoughts on that?

allend 06-25-2013 08:38 AM

Perhaps KDE is trying to access an inappropriate sound device and causing a lockup.
Try booting into KDE and then go to System Settings -> Hardware -> Multimedia -> Phonon and on the Device Preference tab check the ordering of available audio devices (use the Test button to check for a working device). On the Backend tab check that GStreamer is the default backend.

Brosch91 06-25-2013 02:18 PM

Quote:

Originally Posted by allend (Post 4978318)
Perhaps KDE is trying to access an inappropriate sound device and causing a lockup.
Try booting into KDE and then go to System Settings -> Hardware -> Multimedia -> Phonon and on the Device Preference tab check the ordering of available audio devices (use the Test button to check for a working device). On the Backend tab check that GStreamer is the default backend.

Alright thanks for your continued help. I appreciate it very much allend! Anyways, I looked at the settings and GStreamer is #1 in the list, and my VIA VT1708S chip is as well. unfortunately I did a test sound on both default and my VIA chip itself, neither of them would play a sound. So I don't know. But another thing that might help find the cause of my problem is my dmesg, which I put up here, so I don't create a big wall of text on here: http://pastebin.com/92BS2jgm

here are a few things that make me scratch my head from it:

Code:

[  32.948576] snd_hda_intel 0000:04:00.1: PME# disabled
[  32.967231] snd_hda_intel 0000:04:00.1: PCI INT B disabled

That makes me think that maybe my soundcards got disabled somehow from booting into KDE?

Code:

[  10.147102] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:10.0/0000:02:00.0/0000:03:00.0/0000:04:00.1/sound/card1/input7
[  10.147465] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:10.0/0000:02:00.0/0000:03:00.0/0000:04:00.1/sound/card1/input8
[  10.147825] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:10.0/0000:02:00.0/0000:03:00.0/0000:04:00.1/sound/card1/input9
[  10.148185] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:10.0/0000:02:00.0/0000:03:00.0/0000:04:00.1/sound/card1/input10

four inputs of the same thing?


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