- Как установить драйвера Realtek HD на Linux: шаг за шагом руководство
- Шаг 1: Определите точную модель звуковой карты
- Шаг 2: Установите необходимые зависимости
- Шаг 3: Скачайте драйверы Realtek HD от производителя
- Шаг 4: Распакуйте драйверы и перейдите в папку
- Шаг 5: Настройка конфигурации звука
- Шаг 6: Установите драйверы
- Шаг 7: Перезагрузите систему
- Вывод
- How to install Realtek Audio Drivers for Ubuntu?
- 1 Answer 1
- Install Realtek Audio drivers in Ubuntu 20.04 (Intel Nuc nuc10i7fnh)
- 2 Answers 2
Как установить драйвера Realtek HD на Linux: шаг за шагом руководство
Realtek HD Audio является одним из самых популярных аудио-драйверов для операционных систем Windows. Но что делать, если вы используете Linux? В этой статье мы опишем пошаговое руководство по установке драйверов Realtek HD на Linux.
Шаг 1: Определите точную модель звуковой карты
Прежде всего, вам нужно определить, какая модель звуковой карты установлена в вашем компьютере. Это можно сделать с помощью команды lspci в терминале:
Команда должна выдать информацию о звуковой карте. Например:
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
Шаг 2: Установите необходимые зависимости
Перед установкой драйверов, убедитесь, что у вас установлены необходимые зависимости. Откройте терминал и выполните следующую команду:
sudo apt-get install build-essential linux-headers-generic
Шаг 3: Скачайте драйверы Realtek HD от производителя
Чтобы загрузить драйверы Realtek HD для Linux, перейдите на сайт производителя и найдите соответствующий раздел поддержки. Оттуда вы можете загрузить драйверы для вашей модели звуковой карты.
Шаг 4: Распакуйте драйверы и перейдите в папку
После того, как вы скачали драйверы, распакуйте их и перейдите в папку с помощью команд:
Шаг 5: Настройка конфигурации звука
Прежде чем компилировать драйвер, необходимо внести изменения в конфигурацию звука. Для этого откройте файл с помощью текстового редактора:
sudo nano /etc/modprobe.d/alsa-base.conf
Добавьте следующую строку в конец файла:
options snd-hda-intel model=auto
Шаг 6: Установите драйверы
Теперь, когда конфигурация звука настроена, вы можете установить драйверы. Для этого выполните следующие команды:
sudo su make make install
Шаг 7: Перезагрузите систему
После установки драйверов рекомендуется перезагрузить компьютер, чтобы изменения вступили в силу:
Вывод
В этой статье мы показали, как установить драйверы Realtek HD на Linux. Следуя этим простым шагам, вы сможете наслаждаться качественным звуком на вашем компьютере под управлением Linux.
How to install Realtek Audio Drivers for Ubuntu?
I have this issue in my computer: https://youtu.be/QX-daRypDGY I had the same issue in Windows but I fixed installing Realtek Audio Codecs (the ones in this page https://www.realtek.com/en/component/zoo/category/pc-audio-codecs-high-definition-audio-codecs-software) But the linux versions of those drivers are outdated and I cannot install them. What should I do?
Its exactly what it looks like, the system cannot «decide» what should be the output device and keep switching between both
What version of Ubuntu are you using? You also haven’t explained why you can’t install the driver from that site. The instructions are in the Readme file or the PDF file contained in the .tar.bz2 file. Also, the currently installed driver can sometimes show up if you run sudo lshw -C multimedia . The driver from Realtek might possibly be newer and not necessarily outdated.
@Terrance Kernel drivers well support Realtek devices. The problem may be with some settings specific to this laptop.
@Pilot6 I will agree on the audio, but I have a RTL8168 that is horribly supported in the Kernel. I have never had an issue with that network card since I have gone with the drivers from Realtek themselves. Anyway, OP has missed a lot of info in their question that could help more like you said a specific problem with the laptop. Or what version of Ubuntu they are running, etc.
1 Answer 1
I had same issue with Ubuntu 22.04. I had downloaded the latest file from Unix(Linux) file list. After that follow these points which are also provided in pdf inside the downloaded .tar.bz2 file.
- If your Linux system Playback is no sound output or Recording is failed. Please download workarround driver from Realtek website. https://www.realtek.com/en/component/zoo/category/pc-audio-codecs-high-definition-audio-codecs-software
- Unzip the driver source code: tar jxvpf LinuxPkg_x.xxrcxx.tar.bz2
Dont forget to replace with the file name you have downloaded. And then go inside the extracted folder,
then extract the tar file available in this folder.
tar jxvpf alsa-driver-1.0.xx.tar.bz2 cd
replace file name with your tar file.
This will check your system which compile capabilities is. If you want to compile the HDA driver part only, please follow.
./configure --with-cards=had-intel
If you get permission error, use «sudo» before 4th and 5th point.
Install Realtek Audio drivers in Ubuntu 20.04 (Intel Nuc nuc10i7fnh)
Which are two years old, and I can’t get to make correctly. (It does say it’s only for a much older kernel).
One reason I’m looking for the drivers to install (or re-install), is based on Intel’s docs at Troubleshooting Intel NUC, which, for
Front panel 3.5mm audio jack isn’t working.
says to «re-install the drivers». Of course, it also says to «enable audio» in the BIOS — the only thing I found in the BIOS was «HD Audio», which was checked — maybe there’s a setting missing.
More generally, can Ubuntu be installed on an Intel NUC, and audio configured to work at all? I’ve seen lots of recommendations for the Intel NUC as a good Linux-box — I can’t believe everyone else would have missed audio being broken.
well, `lsmod | grep ‘snd-hdmi’ shows nothing. And the kernel is whatever stock kernel comes with 20.04 — ah, it’s 5.4. So how do you manually load the module?
Nothing’s showing — did an lsmod+grep, nothing. When did sudo-modprobe, got modprobe: ERROR: could not insert ‘snd_hdmi_lpe_audio’: Unknown symbol in module, or unknown parameter . However, I have confirmed that there is some kind of audio — turned on Bluetooth, and with a Bluetoooth headset, got a connection. So it’s just the 3.5mm audio-jack that’s not working. I’m assuming that requires the Realtek drivers, but who knows?
grep the dmesg output for snd Also look for FW or firmware loading failures. What exact audio hardware does the NUC have? I guess it’s not HDMI sound at all, (only one without «Windows» in the description of the list at your link).
@ubfan1 so you’re looking for hardware/BIOS failures? I don’t think it’s broken, I can get audio out of the box — just not from the 3.5mm audio-jack. As for the type of audio-hardware, it’s whatever is at NUC10i357FN_TechProdSpec. I’ll try grepping when I get «home» from work, see what it says.
Most likely missing firmware, which should show up as a complaint in the dmesg output. The audio output has four connectors, since it includes a microphone. A stereo earphone would have three, so maybe there might be a «hardware» problem.
2 Answers 2
I finally made it work. Even if it’s not DELL, the fix in this post on Intel community forum magically works!
options snd-hda-intel model=dell-headset-multi
to the file /etc/modprobe.d/alsa-base.conf
Then reboot. Works like a charm.
It doesn’t answer the basic question (because of all the non-solutions I found, I was trying to get drivers), but it might be a solution for my box. Next time I boot up, may try it. At least it’s a minor config change, not installing old libraries, etc.
Worked like a charm for me on the NUC11PAHi7 with 21.04 — thank you so much. it shows on the settings as a headphone. but, hey, I can live with that! What a relief!
This is in response to dunbrokin’s post. I have a NUC11PAHi5 (which I assume is the same as the NUC11PAHi7 except for CPU) running Ubuntu 21.04 and am able to get the HDMI audio working by locking the screen (using Super — L or Windows — L ), wait a few seconds for the screen to go black, and then unlocking the screen.
The HDMI/Display Port — Built-in Audio output device will then appear in the audio settings. You’ll need to do it every time you reboot.
It’s not perfect, but it’s a work-around until we work out why it doesn’t appear automatically on reboot. Please let me know if you see similar behaviour with your NUC.
Interestingly when I boot-up with the Ubuntu 21.04 live USB, the HDMI audio works fine without needing to do the screen lock trick. I’ve also noticed that Ubuntu 20.04.3 and Fedora 34 have the same problem.