Re: [gentoo-user] Kernel 6.0 upgrade broke sound to TV over HDMI

2022-11-26 Thread Rich Freeman
On Fri, Nov 25, 2022 at 11:40 PM Dale  wrote:
>
> I found a new version of the nvidia-drivers.  I figured it might work
> with the new 6.0 kernel so I tested it.  Sure enough, it compiled and
> installed.

And this is why compiling isn't evidence that something works.  :)

What nvidia driver version are you using?

Also, why are you using it at all?  The proprietary drivers their pros
and cons.  The issues you're running into are one of the well-known
cons - if you want to run stable kernels, they'll be occasionally
breaking, and if you run mainline kernels they'll break all the time.

If you're going to run out-of-tree kernels you should almost certainly
stick to longterm kernels.

Usually people use the proprietary drivers for gaming,
high-performance 3D graphics in general, or CUDA (AI, video encoding,
etc).  If you aren't doing one of those then I suspect the
linux-supplied drivers will just work and shouldn't ever break.  You
can run stable kernels all you want with those.

-- 
Rich



Re: [gentoo-user] Kernel 6.0 upgrade broke sound to TV over HDMI

2022-11-26 Thread Arve Barsnes
On Sat, 26 Nov 2022 at 05:40, Dale  wrote:
> To get sound to go to the TV screen, I set this in Smplay preferences
> for audio where it says Output driver:  alsa:device=hw=1.7  Until now,
> that has always worked and that is several years and even a few kernel
> upgrades.  Sound for Smplayer goes to TV screen but all other sound goes
> to the main speakers through the little jack and a amp I have hooked to
> it.

I won't be telling you what to one way or the other about pulseaudio,
but I don't expect ALSA to stop working any time soon. Just for
reference, to get sound to my TV when playing video with mpv
(originally a fork of mplayer, so possibly accepts most of the same
parameters that would work for you in smplay), I use this parameter:

--audio-device=alsa/hdmi:CARD=NVidia,DEV=0

Looking at your aplay output from the old kernel, putting this in
Smplay might work:

Output driver: alsa/hdmi:CARD=NVidia,DEV=1

I wonder though if it means anything that in the new aplay -l output
for your TV it says, Subdevices: 0/1.

Cheers,
Arve