Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia GTX 960, HDMI audio doesn't work
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
SirEdgar2nd
n00b
n00b


Joined: 30 Jun 2010
Posts: 32

PostPosted: Wed May 20, 2015 3:56 am    Post subject: nVidia GTX 960, HDMI audio doesn't work Reply with quote

Here is lsmod, at least the important looking bits

Code:

Module                  Size  Used by
nvidia               8497241  34
snd_hda_codec_hdmi     37022  0
snd_hda_codec_realtek    55623  1
snd_hda_codec_generic    50552  1 snd_hda_codec_realtek
snd_hda_intel          18192  6
snd_hda_controller     18683  1 snd_hda_intel
snd_hda_codec          86297  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_pcm                79734  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              18713  1 snd_pcm
snd                    55320  17 snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore               5167  2 snd,snd_hda_codec
acpi_cpufreq            6850  0


Here is lspci
Code:

01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. GM206 [GeForce GTX 960]
        Flags: bus master, fast devsel, latency 0, IRQ 49
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        [virtual] Expansion ROM at fe000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [420] Advanced Error Reporting
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia

01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
        Subsystem: eVga.com. Corp. Device 2966
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at fe080000 (32-bit, non-prefetchable) [size=16K]
        Flags: bus master, fast devsel, latency 0, IRQ 47                                                      [62/391]
        Memory at fe080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel


and aplay -L
Code:

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=SB
    HDA ATI SB, ALC892 Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    Front speakers
surround21:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output


And finally my /etc/modprobe.d/alsa.conf file

Code:

# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore


# OSS/Free portion - card #1
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

# OSS/Free portion - card #1
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

##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1


snd cards_limit doesn't seem to do anything on my machine, anyways I tried modifying alsa.conf multiple different ways, uncommenting and recommenting card #2, raising the cards_limit an then putting it back to default, nothing seems to work. ._. And yes I am using the nvidia proprietary driver.[/code]
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Wed May 20, 2015 11:46 pm    Post subject: Reply with quote

Hi
did you use the Gentoo driver release ?
Try using the Nvidia Driver for Linux, install...... but CLOSE ALL X11 Sessions (Runlevel)
Run than nvidia-xconfig
start your X11 and Gui
Use the Nvidia Gui and select the needed Resolution for you first/second Screen......
Often there is Problem adressing Nvidia Chips correctly..... no idea why so
use alsa-mixer to set up HDMI Sound.....

it works, same here, thats it

Have Fun

SN
Back to top
View user's profile Send private message
SirEdgar2nd
n00b
n00b


Joined: 30 Jun 2010
Posts: 32

PostPosted: Thu May 21, 2015 12:33 am    Post subject: Reply with quote

Schnulli wrote:
Hi
did you use the Gentoo driver release ?
Try using the Nvidia Driver for Linux, install...... but CLOSE ALL X11 Sessions (Runlevel)
Run than nvidia-xconfig
start your X11 and Gui
Use the Nvidia Gui and select the needed Resolution for you first/second Screen......
Often there is Problem adressing Nvidia Chips correctly..... no idea why so
use alsa-mixer to set up HDMI Sound.....

it works, same here, thats it

Have Fun

SN


Didn't do anything.

Alsa mixer still see's my HDA Nvidia card there, but it has no controls for it. In aplay -L it shows exactly what I copy pasted there.
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Thu May 21, 2015 10:15 am    Post subject: Reply with quote

if there is nothing shown, your System - Kernel - dosnt know what it is and how to address ;)
Recompile your Kernel.....
Try your Luck, here it works
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri May 22, 2015 1:51 am    Post subject: Re: nVidia GTX 960, HDMI audio doesn't work Reply with quote

[quote="SirEdgar2nd"]
Code:

...
options snd cards_limit=1


You have an entry in the wiki that explains howto handle hmdi
But before reading it, raise your limit to enable the 2nd card
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