Score:0

Ubuntu 22.10 & new nvidia GeForce RTX 4800 (525 driver) - sound output to HDMI works incorrect

se flag

I've recently bought and installed to existing Ubuntu 22.10 GeForce RTX 4800 instead of RTX 2060. The first trouble was to install a driver for the graphics card - there is no option for that. I've used nvidia.com official website and used it's search to find a proper one driver - 525. After the installation from a '.run' file everything works just fine, but there is a problem with sound output.

I have the following connections:

  1. A TV connected to HDMI-0;
  2. A monitor with built-in speakers connected to DisplayPort (DP-0);
  3. A sound system connected by optics to the motherboard port;
  4. A webcam with built-in microphone.
  5. A dedicated microphone connected via USB.

All worked well while using RTX 2060. Now I can't play sound to the TV through the HDMI output.

    aplay -l

output is:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [VX3211-4K    ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [LG TV        ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: NTUSB [RODE NT-USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

So there is LG TV on HDMI-1 listed. But there is no option in Settings to play to HDMI-1. The only option using HDA Nvidia is "HDMI".

Alsamixer:

┌────────────────────────────── AlsaMixer v1.2.6 ──────────────────────────────┐
│ Card: HDA NVidia                                     F1:  Help               │
│ Chip: Nvidia Generic HDMI                            F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  │
│ Item: S/PDIF                                         Esc: Exit               │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                       ┌──┐     ┌──┐     ┌──┐     ┌──┐                        │
│                       │OO│     │OO│     │OO│     │OO│                        │
│                       └──┘     └──┘     └──┘     └──┘                        │
│                    < S/PDIF >S/PDIF 1 S/PDIF 2 S/PDIF 3                      │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

No way to increase volume here.

pavucontrols sees as available options to HDA Nvidia:

  1. Digital Stereo (HDMI) Output
  2. Digital Stereo (HDMI 4) Output (unplugged)(unavailable)
  3. Digital Stereo (HDMI 3) Output (unplugged)(unavailable)
  4. Digital Stereo (HDMI 2) Output
  5. Pro Audio
  6. Off

When I choose HDMI or HDMI 2 they both plays to HDMI - my monitor with speakers instead of TV.

I can even see 2 devices on Nvidia card, but choosing any of them causing playing sound to the monitor again: Screenshot:Choosing sound devices from the quick menu

Please, give me a piece of advice.

Tooster avatar
cn flag
For now you may have to wait a bit for a better support of the driver as you seem to be riding a bleeding edge wave ;). Meanwhile you could try using PipeWire, but I doubt it will help if that is a graphics driver problem. Otherwise, try asking on Nvidia forum <https://forums.developer.nvidia.com/c/gpu-graphics/145> and link to the thread if you find any help there.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.