1
Obecná podpora / nefunguje zvuk na noteboku
« Poslední příspěvek od jarohala kdy Dnes v 17:33:20 » Dobrý deň,nainštaloval som si vedľa windows ubuntu 24.04.LTS ,zvuk mi ide len cez bluetoot sluchátka,z notebooku nie.Dá sa mi poradiť?

zuzik@zuzik-desktop:~$ sudo apt-get update && sudo apt-get upgrade
[sudo] password for zuzik:
Hit:1 http://cz.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://cz.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease
Hit:4 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal InRelease
Hit:5 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:7 http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu focal InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
Hit:10 http://ppa.launchpad.net/rvm/smplayer/ubuntu focal InRelease
Hit:11 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:12 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libcmis-0.5-5v5 libjuh-java libjurt-java libmwaw-0.3-3 libneon27-gnutls
liborcus-0.15-0 libreoffice-style-tango libridl-java libunoloader-java
libwps-0.4-4 libxmlsec1 libxmlsec1-nss python3-dbus.mainloop.pyqt5
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
libjuh-java libjurt-java libridl-java
The following packages will be upgraded:
apt apt-utils brave-browser brave-keyring e2fsprogs initramfs-tools
initramfs-tools-bin initramfs-tools-core libappstream-glib8 libapt-pkg6.0
libcom-err2 libext2fs2 libprotobuf-c1 libss2 libuno-cppu3
libuno-purpenvhelpergcc3-3 libuno-salhelpergcc3-3 libunoloader-java logsave
ubuntu-advantage-tools ubuntu-minimal ubuntu-pro-client
ubuntu-pro-client-l10n ubuntu-standard
24 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 138 MB of archives.
After this operation, 57,1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libapt-pkg6.0 amd64 2.0.11 [843 kB]
Get:2 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 libuno-salhelpergcc3-3 amd64 4:7.6.7-0ubuntu0.20.04.1~lo1 [251 kB]
Get:3 https://brave-browser-apt-release.s3.brave.com stable/main amd64 brave-keyring all 1.19 [8 116 B]
Get:4 https://brave-browser-apt-release.s3.brave.com stable/main amd64 brave-browser amd64 1.89.143 [133 MB]
Get:5 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 apt amd64 2.0.11 [1 280 kB]
Get:6 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 libuno-cppu3 amd64 4:7.6.7-0ubuntu0.20.04.1~lo1 [322 kB]
Get:7 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 libuno-purpenvhelpergcc3-3 amd64 4:7.6.7-0ubuntu0.20.04.1~lo1 [250 kB]
Get:8 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 libunoloader-java all 4:7.6.7-0ubuntu0.20.04.1~lo1 [245 kB]
Get:9 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 apt-utils amd64 2.0.11 [213 kB]
Get:10 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 initramfs-tools all 0.136ubuntu6.8 [9 212 B]
Get:11 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 initramfs-tools-core all 0.136ubuntu6.8 [47,8 kB]
Get:12 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 logsave amd64 1.45.5-2ubuntu1.2 [10,2 kB]
Get:13 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libext2fs2 amd64 1.45.5-2ubuntu1.2 [183 kB]
Get:14 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 e2fsprogs amd64 1.45.5-2ubuntu1.2 [527 kB]
Get:15 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 initramfs-tools-bin amd64 0.136ubuntu6.8 [11,0 kB]
Get:16 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libcom-err2 amd64 1.45.5-2ubuntu1.2 [9 580 B]
Get:17 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libss2 amd64 1.45.5-2ubuntu1.2 [11,3 kB]
Get:18 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-pro-client-l10n amd64 37.1ubuntu0~20.04 [18,8 kB]
Get:19 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-pro-client amd64 37.1ubuntu0~20.04 [237 kB]
Get:20 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-advantage-tools all 37.1ubuntu0~20.04 [11,0 kB]
Get:21 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-minimal amd64 1.450.3 [3 116 B]
Get:22 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-standard amd64 1.450.3 [3 156 B]
Get:23 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libappstream-glib8 amd64 0.7.16-1ubuntu2 [135 kB]
Get:24 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf-c1 amd64 1.3.3-1ubuntu0.3 [19,3 kB]
Fetched 138 MB in 36s (3 785 kB/s)
Preconfiguring packages ...
(Reading database ... 247193 files and directories currently installed.)
Preparing to unpack .../libapt-pkg6.0_2.0.11_amd64.deb ...
Unpacking libapt-pkg6.0:amd64 (2.0.11) over (2.0.10) ...
Setting up libapt-pkg6.0:amd64 (2.0.11) ...
(Reading database ... 247193 files and directories currently installed.)
Preparing to unpack .../archives/apt_2.0.11_amd64.deb ...
Unpacking apt (2.0.11) over (2.0.10) ...
Setting up apt (2.0.11) ...
(Reading database ... 247193 files and directories currently installed.)
Preparing to unpack .../apt-utils_2.0.11_amd64.deb ...
Unpacking apt-utils (2.0.11) over (2.0.10) ...
Preparing to unpack .../initramfs-tools_0.136ubuntu6.8_all.deb ...
Unpacking initramfs-tools (0.136ubuntu6.8) over (0.136ubuntu6.7) ...
Preparing to unpack .../initramfs-tools-core_0.136ubuntu6.8_all.deb ...
Unpacking initramfs-tools-core (0.136ubuntu6.8) over (0.136ubuntu6.7) ...
Preparing to unpack .../logsave_1.45.5-2ubuntu1.2_amd64.deb ...
Unpacking logsave (1.45.5-2ubuntu1.2) over (1.45.5-2ubuntu1.1) ...
Preparing to unpack .../libext2fs2_1.45.5-2ubuntu1.2_amd64.deb ...
Unpacking libext2fs2:amd64 (1.45.5-2ubuntu1.2) over (1.45.5-2ubuntu1.1) ...
Setting up libext2fs2:amd64 (1.45.5-2ubuntu1.2) ...
(Reading database ... 247193 files and directories currently installed.)
Preparing to unpack .../00-e2fsprogs_1.45.5-2ubuntu1.2_amd64.deb ...
Unpacking e2fsprogs (1.45.5-2ubuntu1.2) over (1.45.5-2ubuntu1.1) ...
Preparing to unpack .../01-initramfs-tools-bin_0.136ubuntu6.8_amd64.deb ...
Unpacking initramfs-tools-bin (0.136ubuntu6.8) over (0.136ubuntu6.7) ...
Preparing to unpack .../02-brave-keyring_1.19_all.deb ...
Unpacking brave-keyring (1.19) over (1.17) ...
Preparing to unpack .../03-brave-browser_1.89.143_amd64.deb ...
Unpacking brave-browser (1.89.143) over (1.74.48) ...
Preparing to unpack .../04-libcom-err2_1.45.5-2ubuntu1.2_amd64.deb ...
Unpacking libcom-err2:amd64 (1.45.5-2ubuntu1.2) over (1.45.5-2ubuntu1.1) ...
Preparing to unpack .../05-libss2_1.45.5-2ubuntu1.2_amd64.deb ...
Unpacking libss2:amd64 (1.45.5-2ubuntu1.2) over (1.45.5-2ubuntu1.1) ...
Preparing to unpack .../06-ubuntu-pro-client-l10n_37.1ubuntu0~20.04_amd64.deb ...
Unpacking ubuntu-pro-client-l10n (37.1ubuntu0~20.04) over (34~20.04) ...
Preparing to unpack .../07-ubuntu-pro-client_37.1ubuntu0~20.04_amd64.deb ...
Unpacking ubuntu-pro-client (37.1ubuntu0~20.04) over (34~20.04) ...
Preparing to unpack .../08-ubuntu-advantage-tools_37.1ubuntu0~20.04_all.deb ...
Unpacking ubuntu-advantage-tools (37.1ubuntu0~20.04) over (34~20.04) ...
Preparing to unpack .../09-ubuntu-minimal_1.450.3_amd64.deb ...
Unpacking ubuntu-minimal (1.450.3) over (1.450.2) ...
Preparing to unpack .../10-ubuntu-standard_1.450.3_amd64.deb ...
Unpacking ubuntu-standard (1.450.3) over (1.450.2) ...
Preparing to unpack .../11-libappstream-glib8_0.7.16-1ubuntu2_amd64.deb ...
Unpacking libappstream-glib8:amd64 (0.7.16-1ubuntu2) over (0.7.16-1ubuntu1) ...
Preparing to unpack .../12-libprotobuf-c1_1.3.3-1ubuntu0.3_amd64.deb ...
Unpacking libprotobuf-c1:amd64 (1.3.3-1ubuntu0.3) over (1.3.3-1ubuntu0.1) ...
Preparing to unpack .../13-libuno-salhelpergcc3-3_4%3a7.6.7-0ubuntu0.20.04.1~lo1_amd64.deb ...
Unpacking libuno-salhelpergcc3-3 (4:7.6.7-0ubuntu0.20.04.1~lo1) over (1:6.4.7-0ubuntu0.20.04.15) ...
Preparing to unpack .../14-libuno-cppu3_4%3a7.6.7-0ubuntu0.20.04.1~lo1_amd64.deb ...
Unpacking libuno-cppu3 (4:7.6.7-0ubuntu0.20.04.1~lo1) over (1:6.4.7-0ubuntu0.20.04.15) ...
Preparing to unpack .../15-libuno-purpenvhelpergcc3-3_4%3a7.6.7-0ubuntu0.20.04.1~lo1_amd64.deb ...
Unpacking libuno-purpenvhelpergcc3-3 (4:7.6.7-0ubuntu0.20.04.1~lo1) over (1:6.4.7-0ubuntu0.20.04.15) ...
Preparing to unpack .../16-libunoloader-java_4%3a7.6.7-0ubuntu0.20.04.1~lo1_all.deb ...
Unpacking libunoloader-java (4:7.6.7-0ubuntu0.20.04.1~lo1) over (1:6.4.7-0ubuntu0.20.04.15) ...
Setting up apt-utils (2.0.11) ...
Setting up libappstream-glib8:amd64 (0.7.16-1ubuntu2) ...
Setting up libcom-err2:amd64 (1.45.5-2ubuntu1.2) ...
Setting up brave-keyring (1.19) ...
Setting up ubuntu-standard (1.450.3) ...
Setting up libprotobuf-c1:amd64 (1.3.3-1ubuntu0.3) ...
Setting up libss2:amd64 (1.45.5-2ubuntu1.2) ...
Setting up logsave (1.45.5-2ubuntu1.2) ...
Setting up brave-browser (1.89.143) ...
Setting up libuno-salhelpergcc3-3 (4:7.6.7-0ubuntu0.20.04.1~lo1) ...
Setting up libunoloader-java (4:7.6.7-0ubuntu0.20.04.1~lo1) ...
Setting up ubuntu-pro-client (37.1ubuntu0~20.04) ...
Installing new version of config file /etc/apparmor.d/ubuntu_pro_apt_news ...
Installing new version of config file /etc/apparmor.d/ubuntu_pro_esm_cache ...
Installing new version of config file /etc/apt/apt.conf.d/20apt-esm-hook.conf ...
Setting up initramfs-tools-bin (0.136ubuntu6.8) ...
Setting up ubuntu-pro-client-l10n (37.1ubuntu0~20.04) ...
Setting up e2fsprogs (1.45.5-2ubuntu1.2) ...
update-initramfs: deferring update (trigger activated)
e2scrub_all.service is a disabled or a static unit not running, not starting it.
Setting up libuno-cppu3 (4:7.6.7-0ubuntu0.20.04.1~lo1) ...
Setting up ubuntu-advantage-tools (37.1ubuntu0~20.04) ...
Setting up initramfs-tools-core (0.136ubuntu6.8) ...
Setting up libuno-purpenvhelpergcc3-3 (4:7.6.7-0ubuntu0.20.04.1~lo1) ...
Setting up initramfs-tools (0.136ubuntu6.8) ...
update-initramfs: deferring update (trigger activated)
Setting up ubuntu-minimal (1.450.3) ...
Processing triggers for libc-bin (2.31-0ubuntu9.18+esm1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libreoffice-common (4:7.6.7-0ubuntu0.20.04.1~lo1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.8) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-176-generic
zuzik@zuzik-desktop:~$ sudo apt-get install linux-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-firmware is already the newest version (1.187.39).
linux-firmware set to manually installed.
The following packages were automatically installed and are no longer required:
libcmis-0.5-5v5 libjuh-java libjurt-java libmwaw-0.3-3 libneon27-gnutls
liborcus-0.15-0 libreoffice-style-tango libridl-java libunoloader-java
libwps-0.4-4 libxmlsec1 libxmlsec1-nss python3-dbus.mainloop.pyqt5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
zuzik@zuzik-desktop:~$ sudo apt-get install --reinstall linux-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcmis-0.5-5v5 libjuh-java libjurt-java libmwaw-0.3-3 libneon27-gnutls
liborcus-0.15-0 libreoffice-style-tango libridl-java libunoloader-java
libwps-0.4-4 libxmlsec1 libxmlsec1-nss python3-dbus.mainloop.pyqt5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 136 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://cz.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-firmware all 1.187.39 [136 MB]
Fetched 136 MB in 35s (3 869 kB/s)
(Reading database ... 247248 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.187.39_all.deb ...
Unpacking linux-firmware (1.187.39) over (1.187.39) ...
Setting up linux-firmware (1.187.39) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-176-generic
update-initramfs: Generating /boot/initrd.img-5.15.0-173-generic
zuzik@zuzik-desktop:~$ glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 12.0.0, 256 bits) (0xffffffff)
Version: 21.2.6
Accelerated: no
Video memory: 13895MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
zuzik@zuzik-desktop:~$
koupený na CD s knížkou. Což je spíš smutný, protože i za tu dobu o tom systému vím pořád kulové. nano hdmi_fix_instalace.sh
Vložte toto:
#!/bin/bash
# Kompletní HDMI fix pro Ubuntu 26.04 LTS – Dell Optiplex 3070 + Philips TV
echo "==> Spouštím instalaci HDMI fixu..."
if [ "$EUID" -ne 0 ]; then
echo "Tento skript musí běžet jako root."
echo "Spusť ho příkazem: sudo bash hdmi_fix_instalace.sh"
exit 1
fi
USER_NAME=$(logname)
echo "==> Vytvářím PipeWire konfiguraci..."
mkdir -p /etc/pipewire/pipewire.conf.d
cat > /etc/pipewire/pipewire.conf.d/hdmi-route.conf << 'EOC'
context.objects = [
{ factory = adapter
args = {
factory.name = api.alsa.pcm.sink
node.name = "HDMI-Forced"
node.description = "HDMI Output (Forced)"
media.class = "Audio/Sink"
api.alsa.path = "hw:0,3"
api.alsa.period-size = 1024
api.alsa.headroom = 0
audio.format = "S16LE"
audio.rate = 48000
audio.channels = 2
}
}
]
EOC
echo "==> Nastavuji WirePlumber pravidla..."
mkdir -p /etc/wireplumber/wireplumber.conf.d
cat > /etc/wireplumber/wireplumber.conf.d/10-hdmi-forced.conf << 'EOW'
monitor.alsa.rules = [
{
matches = [
{ node.name = "HDMI-Forced" }
]
actions = {
update-props = {
"node.disabled" = false
"node.pause-on-idle" = false
}
}
}
]
EOW
echo "==> Vytvářím systemd službu s delay..."
mkdir -p /etc/systemd/user
cat > /etc/systemd/user/pipewire-hdmi-fix.service << 'EOS'
[Unit]
Description=Restart PipeWire pro stabilní HDMI po přihlášení
After=graphical-session.target
[Service]
Type=oneshot
ExecStartPre=/bin/sleep 8
ExecStart=/usr/bin/systemctl --user restart pipewire pipewire-pulse wireplumber
[Install]
WantedBy=default.target
EOS
echo "==> Aktivace systemd služby..."
sudo -u "$USER_NAME" systemctl --user daemon-reload
sudo -u "$USER_NAME" systemctl --user enable pipewire-hdmi-fix.service
echo
echo "============================================================"
echo " INSTALACE DOKONČENA"
echo
echo " 1) Restartujte počítač."
echo " 2) Po přihlášení počkejte 8–10 sekund."
echo " 3) Otevřete Nastavení → Zvuk a vyberte:"
echo " HDMI Output (Forced)"
echo
echo " HDMI by nyní mělo fungovat bez nutnosti ručního přepínání."
echo "============================================================"
echo
✅ Jak skript spustit
1. Uložte soubor.
2. Nastavte práva:
chmod +x hdmi_fix_instalace.sh
3. Spusťte:
sudo ./hdmi_fix_instalace.sh
4. Restartujte PC. sabraq, přečtu pečlivěji během dne. Děkuji! (a ještě se podívám do toho var/log, to jsem před tím už nestihla - mám tam jen jeden soubor)
Pro zajímavost, zjistila jsem, že mi v 'poruchovém' stavu neběží po startu ani klávesnice (takže jedině tvrdý restart).
Další vedlejší poznámka:
Když udělám Timeshift, můžu následně vypnout a spustit PC a vše běží. Při tomto druhém spuštění se něco změní (bez mé akce) a následně už monitor nejede. Musím tedy rovnou přes 'nomodeset' abych se vyhnula tvrdému restartu.
a teď jsem pro kompletnost udělala všechno 2x, jednou ve verzi 'nomodeset' a pak po timeshiftu, pro usnadnění je to v tomhle souboru, 2 karty (před a po)
https://docs.google.com/document/d/1K9QX5DbtZWbDbItUsuNzF8_Ryma8dDNBW_8cX2WzgMs/edit?usp=sharing
sudo apt-get update && sudo apt-get upgradesudo apt-get install linux-firmwaresudo apt-get install --reinstall linux-firmwareglxinfo -B