John Pilkington composed on 2024-05-06 12:32 (UTC+0100):

> Both my old HP boxes have F40 up-to-date.  Both are connected to an HDMI 
> tv and vga monitor, but the one dual-booted with Windows has a fixed 
> 800x600 screen size that appears only on the HDMI screen but lacks HDMI 
> audio.  I reinstalled the (Fedora provided) nouveau driver on both boxes 
> before these reboots.  The boot lines shown give rrunning systems.  Most 
> variants that I have tried freeze sooner or later.

> I still have no idea of how to pre-specify the devices that I want to use.

It's not clear to me whether you're trying to solve a video problem, an audio
problem, or both, or whether the answers apply to both hosts, or just one.

I'm *far* from being an expert in solving audio problems, but I do have a record
of virtually complete success with various old NVidia GPUs used entirely with
FOSS. The only place I've ever installed an NVidia proprietary driver is on
someone else's computer at his direction, though I'm unsure why he thought it
necessary. What I'll be pasting here shortly is from F40 with a GeForce older 
than
yours that, like my several other NVidias (5 total less than 18 years old), is
functioning totally as expected using exclusively FOSS. Possibly by comparing my
software, configuration, and tests to your own, you may be able to spot 
something
missing or conficting.

You'll note in inxi output following multiple mentions of "nouveau". Where you
will /not/ see it is for the display driver for the X server, where you will see
the "loaded" driver is "modesetting". That's actually the upstream default. It
will be automatically be used when the xorg-x11-drv-nouveau rpm is not 
installed,
but may be specified through /etc/X11/xorg.con* if desired even if
xorg-x11-drv-nouveau is installed. It's newer technology than the
"reverse-engineered, experimental" nouveau, and for me, works well with all AMD,
Intel and NVidia GPUs I own.

# inxi -AGSaz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: gb970 Kernel: 6.8.9-300.fc40.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 2.41-34.fc40 clocksource: tsc avail: hpet,acpi_pm
    parameters: ro root=LABEL=<filter> audit=0 selinux=0 ipv6.disable=1
    net.ifnames=0 noresume consoleblank=0 mitigations=off
  Desktop: TDE (Trinity) v: R14.1.2 tk: Qt v: 3.5.0 wm: Twin v: 3.0
    with: kicker vt: 7 dm: 1: TDM 2: XDM Distro: Fedora Linux 40 (Forty)
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 630] vendor: Gigabyte driver: nouveau
    v: kernel non-free: series: 390.xx+ status: legacy (EOL~2022-11-22) last:
    release: 390.157 kernel: 6.0 xorg: 1.21 arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-2016 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    ports: active: DVI-I-1,HDMI-A-1 empty: VGA-1 bus-ID: 01:00.0
    chip-ID: 10de:0f00 class-ID: 0300 temp: 48.0 C
  Display: x11 server: X.Org v: 1.20.14 compositor: Twin v: 3.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-I-1 pos: right model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.3 vendor: mesa v: 24.0.6 glx-v: 1.4 es-v: 3.1
    direct-render: yes renderer: NVC1 device-ID: 10de:0f00 memory: 982.4 MiB
    unified: no
  API: Vulkan v: 1.3.280 layers: 1 device: 0 type: cpu name: llvmpipe (LLVM
    18.1.1 128 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GF108 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
  API: ALSA v: k6.8.9-300.fc40.x86_64 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: aRts v: 1.5.10 status: active with: artswrapper status: off
    tools: artsdsp
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: off 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
# rpm -qa|egrep
'alsa|arts|audio|codec|demul|fmpeg|gstr|jack|kodi|26[45]|mix|mpv|pavu|puls|sof-f|sound|vlc|wire|xdg'|sort
alsa-firmware-1.2.4-12.fc40.noarch
alsa-lib-1.2.11-2.fc40.x86_64
alsa-sof-firmware-2024.03-2.fc40.noarch
alsa-tools-firmware-1.2.11-2.fc40.x86_64
alsa-ucm-1.2.11-2.fc40.noarch
alsa-utils-1.2.11-1.fc40.x86_64
audiofile-0.3.6-38.fc40.x86_64
esound-libs-0.2.41-33.fc40.x86_64
gstreamer1-1.22.12-1.fc40.x86_64
gstreamer1-plugins-bad-free-1.22.12-1.fc40.x86_64
gstreamer1-plugins-bad-free-libs-1.22.12-1.fc40.x86_64
gstreamer1-plugins-base-1.22.12-1.fc40.x86_64
gstreamer1-plugins-good-1.22.12-1.fc40.x86_64
jack-audio-connection-kit-1.9.22-5.fc40.x86_64
libde265-1.0.15-2.fc40.x86_64
phonon-qt5-backend-gstreamer-4.10.0-10.fc39.x86_64
pipewire-1.0.5-2.fc40.x86_64
pipewire-alsa-1.0.5-2.fc40.x86_64
pipewire-jack-audio-connection-kit-libs-1.0.5-2.fc40.x86_64
pipewire-libs-1.0.5-2.fc40.x86_64
pipewire-plugin-jack-1.0.5-2.fc40.x86_64
pipewire-pulseaudio-1.0.5-2.fc40.x86_64
pipewire-utils-1.0.5-2.fc40.x86_64
pipewire-v4l2-1.0.5-2.fc40.x86_64
pulseaudio-libs-16.1-7.fc40.x86_64
pulseaudio-libs-glib2-16.1-7.fc40.x86_64
pulseaudio-utils-16.1-7.fc40.x86_64
python3-alsa-1.2.7-9.fc40.x86_64
sound-theme-freedesktop-0.8-21.fc40.noarch
soundtouch-2.3.1-6.fc40.x86_64
trinity-arts-1.5.10-14.1.2_1.fc40.x86_64
trinity-kmix-14.1.2-1.fc40.x86_64
webrtc-audio-processing-1.3-1.fc40.x86_64
webrtc-audio-processing0.3-0.3.1-12.fc40.x86_64
wireplumber-0.5.2-1.fc40.x86_64
wireplumber-libs-0.5.2-1.fc40.x86_64
x264-libs-0.164-13.20231001git31e19f92.fc40.x86_64
x265-libs-3.6-1.fc40.x86_64
xdg-user-dirs-0.18-4.fc40.x86_64
xdg-utils-1.2.1-1.fc40.noarch
zita-alsa-pcmi-0.6.1-4.fc40.x86_64
# alsactl info
#
# Sound card
#
- card: 0
  id: NVidia
  name: HDA NVidia
  longname: HDA NVidia at 0xfcffc000 irq 19
  driver_name: HDA-Intel
  mixer_name: Nvidia GPU 14 HDMI/DP
  components: HDA:10de0014,10de0101,00100100
  controls_count: 28
  pcm:
    - stream: PLAYBACK
      devices:
        - device: 3
          id: HDMI 0
          name: HDMI 0
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 7
          id: HDMI 0
          name: HDMI 0
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 8
          id: HDMI 0
          name: HDMI 0
          subdevices:
            - subdevice: 0
              name: subdevice #0
        - device: 9
          id: HDMI 0
          name: EA243WM
          subdevices:
            - subdevice: 0
              name: subdevice #0
alsactl: rawmidi_device_list:105: snd_ctl_rawmidi_next_device
# wpctl status
PipeWire 'pipewire-0' [1.0.5, root@gb970, cookie:3196818462]
 └─ Clients:
        33. WirePlumber                         [1.0.5, root@gb970, pid:1249]
        42. WirePlumber [export]                [1.0.5, root@gb970, pid:1249]
        53. PipeWire ALSA [tdeinit]             [1.0.5, root@gb970, pid:1305]
        60. wpctl                               [1.0.5, root@gb970, pid:1849]

Audio
 ├─ Devices:
 │      32. GF108 High Definition Audio Controller [alsa]
 │
 ├─ Sinks:
 │  *   45. GF108 High Definition Audio Controller Digital Stereo (HDMI 4) 
[vol: 0.64]
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Video
 ├─ Devices:
 │
 ├─ Sinks:
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Settings
 └─ Default Configured Devices:
# pw-cli list-objects Device
        id 32, type PipeWire:Interface:Device/3
                object.serial = "43"
                factory.id = "14"
                client.id = "42"
                device.api = "alsa"
                device.description = "GF108 High Definition Audio Controller"
                device.name = "alsa_card.pci-0000_01_00.1"
                device.nick = "HDA NVidia"
                media.class = "Audio/Device"
# pw-cli list-objects Node
        id 29, type PipeWire:Interface:Node/3
                object.serial = "29"
                factory.id = "10"
                priority.driver = "20000"
                node.name = "Dummy-Driver"
        id 30, type PipeWire:Interface:Node/3
                object.serial = "30"
                factory.id = "10"
                priority.driver = "19000"
                node.name = "Freewheel-Driver"
        id 34, type PipeWire:Interface:Node/3
                object.serial = "44"
                factory.id = "10"
                client.id = "42"
                priority.session = "100"
                priority.driver = "1"
                node.name = "Midi-Bridge"
                media.class = "Midi/Bridge"
        id 45, type PipeWire:Interface:Node/3
                object.serial = "47"
                object.path = "alsa:pcm:0:hdmi:0,3:playback"
                factory.id = "18"
                client.id = "42"
                device.id = "32"
                priority.session = "600"
                priority.driver = "600"
                node.description = "GF108 High Definition Audio Controller 
Digital
Stereo (HDMI 4)"
                node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3"
                node.nick = "EA243WM"
                media.class = "Audio/Sink"
        id 46, type PipeWire:Interface:Node/3
                object.serial = "48"
                factory.id = "13"
                client.id = "42"
                node.description = "BLE MIDI 1"
                node.name = "bluez_midi.server"
                media.class = "Midi/Bridge"
# aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, EA243WM
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [EA243WM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
# systemctl -l --no-pager --global --user status pipewire.{service,socket}
pipewire-pulse.{service,socket} wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset:
disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
             /etc/systemd/user/pipewire.service.d
             └─override.conf
     Active: active (running) since Mon 2024-05-06 23:23:31 EDT; 18min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1248 (pipewire)
      Tasks: 2 (limit: 19151)
     Memory: 6.0M (peak: 6.5M)
        CPU: 121ms
     CGroup: 
/user.slice/user-0.slice/user@0.service/session.slice/pipewire.service
             └─1248 /usr/bin/pipewire

May 06 23:23:31 gb970 systemd[920]: Started pipewire.service - PipeWire 
Multimedia
Service.
May 06 23:23:31 gb970 pipewire[1248]: mod.jackdbus-detect: Failed to receive
jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name is not 
activatable

● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: 
enabled)
    Drop-In: /etc/systemd/user/pipewire.socket.d
             └─override.conf
     Active: active (running) since Mon 2024-05-06 23:21:28 EDT; 20min ago
   Triggers: ● pipewire.service
     Listen: /run/user/0/pipewire-0 (Stream)
             /run/user/0/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-0.slice/user@0.service/app.slice/pipewire.socket

May 06 23:21:28 gb970 systemd[920]: Listening on pipewire.socket - PipeWire
Multimedia System Sockets.

○ pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled;
preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
             /etc/systemd/user/pipewire-pulse.service.d
             └─override.conf
     Active: inactive (dead)
TriggeredBy: ● pipewire-pulse.socket

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; 
preset:
enabled)
    Drop-In: /etc/systemd/user/pipewire-pulse.socket.d
             └─override.conf
     Active: active (listening) since Mon 2024-05-06 23:21:28 EDT; 20min ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/0/pulse/native (Stream)
     CGroup: 
/user.slice/user-0.slice/user@0.service/app.slice/pipewire-pulse.socket

May 06 23:21:28 gb970 systemd[920]: Listening on pipewire-pulse.socket - 
PipeWire
PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset:
enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Mon 2024-05-06 23:23:31 EDT; 18min ago
   Main PID: 1249 (wireplumber)
      Tasks: 5 (limit: 19151)
     Memory: 9.3M (peak: 10.0M)
        CPU: 350ms
     CGroup: 
/user.slice/user-0.slice/user@0.service/session.slice/wireplumber.service
             └─1249 /usr/bin/wireplumber

May 06 23:23:31 gb970 systemd[920]: Started wireplumber.service - Multimedia
Service Session Manager.
May 06 23:23:32 gb970 wireplumber[1249]: Failed to get percentage from UPower:
org.freedesktop.DBus.Error.NameHasNoOwner
May 06 23:23:32 gb970 wireplumber[1249]: BlueZ system service is not available
May 06 23:23:32 gb970 wireplumber[1249]: SPA handle 'api.libcamera.enum.manager'
could not be loaded; is it installed?
May 06 23:23:32 gb970 wireplumber[1249]: PipeWire's libcamera SPA plugin is
missing or broken. Some camera types may not be supported.
# aplay /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ OK HDMI output :)
# aplay -D default /usr/local/share/sound/alsa/test.wav && sleep 5
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ OK HDMI output :)
# aplay -D hdmi:0,3 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ OK HDMI output :)
# aplay -D hw:0,9 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ OK HDMI output :)
# aplay -D hdmi /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ but no output :(
# aplay -D hdmi:0,0 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ but no output :(
# aplay -D hdmi:0,1 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ but no output :(
# aplay -D hw:0,3 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ but no output :(
# aplay -D hw:0,7 /usr/local/share/sound/alsa/test.wav
Playing WAVE '/usr/local/share/sound/alsa/test.wav' : Signed 16 bit Little 
Endian,
Rate 44100 Hz, Stereo
## ^ but no output :(
#
Good luck with your audio. Getting Linux audio to me is inexplicable hocus 
pocus.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to