ubuntuusers.de

Kein Hdmi Sound mehr in den Klangeinstellungen

Status: Gelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

pepre Team-Icon

Supporter
Avatar von pepre

Anmeldungsdatum:
31. Oktober 2005

Beiträge: 6474

Wohnort: Erlangen

Bitte poste die Ausgabe von

cat /lib/udev/rules.d/71-nvidia.rules

hakel2020

Anmeldungsdatum:
21. Januar 2021

Beiträge: 1169

Prüf' doch mal, ob diese Befehle die Nvidia aufwecken.

pulseaudio -k 

oder

systemctl --user restart pulseaudio.service  

Den 2.ten Befehl kannte ich noch gar nicht, hört sich aber gut an!

Danach "aplay -l" oder mit pavucontrol HDMI auswählen.

P.S. diese Befehle sind natürlich keine (Dauer)Lösung. ☹

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Unterteile es grad in Zwei Antworten.....

cat /lib/udev/rules.d/71-nvidia.rules
# Tag the device as master-of-seat so that logind is happy
# (see LP: #1365336)
SUBSYSTEM=="pci", ATTRS{vendor}=="0x10de", DRIVERS=="nvidia", TAG+="seat", TAG+="master-of-seat"

# Start and stop nvidia-persistenced on power on and power off
# respectively
ACTION=="add", DEVPATH=="/bus/pci/drivers/nvidia", TAG+="systemd", ENV{SYSTEMD_WANTS}="nvidia-persistenced.service"

# Load and unload nvidia-modeset module
ACTION=="add", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe nvidia-modeset"
ACTION=="remove", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe -r nvidia-modeset"

# Load and unload nvidia-drm module
ACTION=="add", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe nvidia-drm"
ACTION=="remove", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe -r nvidia-drm"

# Load and unload nvidia-uvm module
ACTION=="add", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe nvidia-uvm"
ACTION=="remove", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/modprobe -r nvidia-uvm"

# This will create the device nvidia device nodes
ACTION=="add", DEVPATH=="/bus/pci/drivers/nvidia", RUN+="/sbin/ub-device-create"

# Create the device node for the nvidia-uvm module
ACTION=="add", DEVPATH=="/module/nvidia_uvm", SUBSYSTEM=="module", RUN+="/sbin/ub-device-create"

# Enable runtime PM for NVIDIA VGA/3D controller devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", TEST=="power/control", ATTR{power/control}="auto"

# Enable runtime PM for NVIDIA Audio devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", TEST=="power/control", ATTR{power/control}="auto"

# Enable runtime PM for NVIDIA USB xHCI Host Controller devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", TEST=="power/control", ATTR{power/control}="auto"

# Enable runtime PM fo NVIDIA USB Type-C UCSI devices
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", TEST=="power/control", ATTR{power/control}="auto"

einmal so.....

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Zu

pulseaudio -k
aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC295 Analog [ALC295 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

und bei Pavucontrol ist nichts zu finden!

habe dann einfach

systemctl --user restart pulseaudio.service 

trotz "oder" versucht und leider das selbe Ergebniss bekommen!

pepre Team-Icon

Supporter
Avatar von pepre

Anmeldungsdatum:
31. Oktober 2005

Beiträge: 6474

Wohnort: Erlangen

Bitte die Ausgaben von

cat /etc/apt/sources.list

und

find /etc/apt/

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal universe
deb http://de.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://de.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

und.....

find /etc/apt/
/etc/apt/
/etc/apt/sources.list.d
/etc/apt/sources.list.d/google-chrome.list.save
/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list
/etc/apt/auth.conf.d
/etc/apt/apt.conf.d
/etc/apt/apt.conf.d/50appstream
/etc/apt/apt.conf.d/20auto-upgrades
/etc/apt/apt.conf.d/20apt-esm-hook.conf
/etc/apt/apt.conf.d/60icons-hidpi
/etc/apt/apt.conf.d/20archive
/etc/apt/apt.conf.d/50unattended-upgrades
/etc/apt/apt.conf.d/01autoremove
/etc/apt/apt.conf.d/20dbus
/etc/apt/apt.conf.d/20packagekit
/etc/apt/apt.conf.d/88libdvdcss-pkg
/etc/apt/apt.conf.d/15update-stamp
/etc/apt/apt.conf.d/60icons
/etc/apt/apt.conf.d/50command-not-found
/etc/apt/apt.conf.d/99update-notifier
/etc/apt/apt.conf.d/70debconf
/etc/apt/apt.conf.d/20snapd.conf
/etc/apt/apt.conf.d/01autoremove-kernels
/etc/apt/apt.conf.d/00aptitude
/etc/apt/apt.conf.d/00trustcdrom
/etc/apt/apt.conf.d/01-vendor-ubuntu
/etc/apt/apt.conf.d/10periodic
/etc/apt/trusted.gpg
/etc/apt/preferences.d
/etc/apt/sources.list.save
/etc/apt/trusted.gpg.d
/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Zeige mal wegen dem hier

[    6.834095] snd_hda_intel 0000:01:00.1: can't change power state from D3hot to D0 (config space inaccessible)

die Ausgabe von

tree /sys/bus/pci/devices/0000:01:00.1

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Hy,

sorry für die späte Antwort!

tree /sys/bus/pci/devices/0000:01:00.1
/sys/bus/pci/devices/0000:01:00.1
├── aer_dev_correctable
├── aer_dev_fatal
├── aer_dev_nonfatal
├── ari_enabled
├── broken_parity_status
├── class
├── config
├── consistent_dma_mask_bits
├── current_link_speed
├── current_link_width
├── d3cold_allowed
├── device
├── dma_mask_bits
├── driver -> ../../../../bus/pci/drivers/snd_hda_intel
├── driver_override
├── enable
├── irq
├── link
├── local_cpulist
├── local_cpus
├── max_link_speed
├── max_link_width
├── modalias
├── msi_bus
├── numa_node
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── remove
├── rescan
├── resource
├── resource0
├── revision
├── subsystem -> ../../../../bus/pci
├── subsystem_device
├── subsystem_vendor
├── uevent
└── vendor

4 directories, 41 files

Hoffe so war es gewünscht !?....bin nur unsicher da ich erst tree installieren musste. Wollte sonst nichts auswerfen!

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Ist noch Windows auf dem PC Installiert? Zeige bitte noch mal

sudo dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'

Die Karte ist auf jeden Fall nicht eingerichtet wurden.

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Hmm...bin bzw. bis jetzt war ich mir ziemlich sicher das ich bei der Installation formatiert hatte! Aber wie gesagt, bin nicht die hellste Kerze hierbei und lasse mich gerne eines besseren belehren! Hat wie gesagt bis vor kurzem alles reibunglos gefunzt!

sudo dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[sudo] Passwort für rick: 
[    0.126036] ACPI: Added _OSI(Linux-Dell-Video)
[    0.126037] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.126037] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    0.300945] pci 0000:01:00.0: reg 0x30: [mem 0xdf000000-0xdf07ffff pref]
[    0.300961] pci 0000:01:00.0: Enabling HDA controller
[    0.300964] pci 0000:01:00.0: BAR 1: assigned to efifb
--
[    0.481180] DMAR: ACPI device "device:7b" under DMAR at fed90000 as 00:15.0
[    0.513996] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.514000] software IO TLB: mapped [mem 0x87182000-0x8b182000] (64MB)
[    0.514309] check: Scanning for low memory corruption every 60 seconds
--
[    0.645017] integrity: Loading X.509 certificate: UEFI:db
[    0.645033] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.645033] integrity: Loading X.509 certificate: UEFI:db
[    0.645051] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.645052] integrity: Loading X.509 certificate: UEFI:db
--
[    3.759983] AES CTR mode by8 optimization enabled
[    3.828650] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.832304] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
--
[    3.839737] iwlwifi 0000:04:00.0: Allocated 0x00400000 bytes for firmware monitor.
[    3.848182] snd_hda_codec_realtek: unknown parameter 'model' ignored
[    3.848913] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.848914] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.848916] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.848917] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.848918] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.848919] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x12
[    3.890413] iwlwifi 0000:04:00.0: base HW address: 00:e1:8c:98:dc:cb
[    3.892568] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[    3.968187] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
--
[    5.010097] pci 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
[    5.010164] snd_hda_intel 0000:01:00.1: can't change power state from D3hot to D0 (config space inaccessible)
[    5.010315] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    5.010435] snd_hda_intel 0000:01:00.1: Disabling MSI
[    5.010446] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    5.010491] snd_hda_intel 0000:01:00.1: number of I/O streams is 30, forcing separate stream tags
[    5.112233] hdaudio hdaudioC1D0: no AFG or MFG node found
--
[    5.112266] hdaudio hdaudioC1D7: no AFG or MFG node found
[    5.112268] snd_hda_intel 0000:01:00.1: no codecs initialized
[    5.125819] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.80  Fri May  7 06:55:54 UTC 2021
--
[   49.178237] audit: type=1400 audit(1623697341.832:65): apparmor="DENIED" operation="capable" profile="/snap/snapd/12057/usr/lib/snapd/snap-confine" pid=2038 comm="snap-confine" capability=4  capname="fsetid"
[   50.929681] audit: type=1326 audit(1623697343.549:66): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2038 comm="snap-store" exe="/snap/snap-store/542/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7efd85c48639 code=0x50000
[   51.163378] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-0): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
--
[   52.515390] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-0): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[   53.556217] audit: type=1107 audit(1623697346.140:67): pid=901 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=2038 label="snap.snap-store.ubuntu-software" peer_pid=917 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   53.556551] audit: type=1107 audit(1623697346.140:68): pid=901 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=2038 label="snap.snap-store.ubuntu-software" peer_pid=917 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   53.571682] audit: type=1107 audit(1623697346.156:69): pid=901 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=2038 label="snap.snap-store.ubuntu-software" peer_pid=917 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   53.571974] audit: type=1107 audit(1623697346.156:70): pid=901 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=2038 label="snap.snap-store.ubuntu-software" peer_pid=917 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[   53.900645] audit: type=1400 audit(1623697346.480:71): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/PackageKit/Vendor.conf" pid=2038 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   63.247021] audit: type=1400 audit(1623697355.770:72): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=2038 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   63.256359] audit: type=1400 audit(1623697355.777:73): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/discord/discord.desktop" pid=2038 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   63.281127] audit: type=1400 audit(1623697355.805:74): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=2038 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   63.288038] audit: type=1400 audit(1623697355.809:75): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/discord/discord.desktop" pid=2038 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[   63.700802] audit: type=1326 audit(1623697356.220:76): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2038 comm="pool-org.gnome." exe="/snap/snap-store/542/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7efd85c3e4e7 code=0x50000
[   63.733829] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-0): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.

bin für alle Ideen offen 😀

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 11311

Wohnort: München

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Jackpot......es läuft wieder! Vielen Dank an alle für die Mühe! Tolle Community!

Eine letzte Frage, sollte/kann ich es vielleicht nochmal auf Deutsch hier hineinschreiben für alle, die wie ich sehr unerfahren sind und mit ihrem Englisch nicht sonderlich überzeugen können und dann auf erledigt gehen? Hab als unerfahrener oft die Erfahrung gemacht das dass Hilfreich wäre! Ist das erste mal das ich selber ins Forum schreib und bin mir nicht sicher ob das üblich ist 😬? Will niemand auf die Füße treten!

seahawk1986

Anmeldungsdatum:
27. Oktober 2006

Beiträge: 11311

Wohnort: München

Ich denke über das Problem könnten noch mehr Nutzer drüber stolpern und wenn du dir die Mühe machen willst, das noch mal auf deutsch zusammenzufassen, freut das sicher einige.

CarlMikMoss

(Themenstarter)

Anmeldungsdatum:
6. Juni 2021

Beiträge: 15

Wohnort: SÜW

Ok, also letztlich löste, nach der der Suche, folgende Option mein Problem und ich kann wieder Hdmi Sound am Tv ausgeben.

pcie_port_pm=off

im Terminal ausführen. Anschließend in der Datei /etc/default/grub die Zeile (bei mir Zeile 10) - ändern bzw. pcie_port_pm=off hinzufüfgen und speichern

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

in

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_port_pm=off"

Zum Schluss noch....

$ sudo update-grub

ausführen!

Danke nochmal für die tolle Hilfe an alle hier! Nur durch Menschen wie euch macht jemand wie mir Ubuntu Spaß!

Antworten |