ETA: I installed third part software from the beginning.
I've updated the Intel drivers:
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt-get update
sudo apt-get upgrade
sudo apt install mesa-utils
After restarting the computer:
glxinfo | grep "OpenGL version" glxgears
The information shown by Terminal seems to be OK, but still the brightness control doesn't work.
Hope everyone is doing fine. I've recently upgraded my laptop, Ubuntu 14.04 LTS to Ubuntu 20.04 LTS. I've installed Unity Desktop and have realized that the brightness control (System settings - Brightness & Lock) is not working. When I try to change the brightness using the bar, nothing changes.
Does anyone know how to solve it?
Мой друг нашел решение.
Редактировать grub
:
sudo gedit /etc/default/grub
Найти эту строку:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Измените ее на:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
Сохраните и закрыть.
Обновление GRUB:
sudo update-grub
Перезагрузите компьютер.
How annoying it is if the brightness control doesn't work? Pretty annoying! There's a simple solution, which I tried and worked out well.
Go to 'Software & Updates' --> choose 'Additional Drivers' there you can find NVIDA Corporation binary driver and below that open source. You have to choose the open source. Ta-da!
У меня была такая же проблема, и она вызвана графикой Nvidia.
Вы установили " стороннее программное обеспечение »в установке ОС?
Вы можете попытаться удалить вашу нераспознанную графику , но более простой является новая установка новой ОС, и система может выбрать правильные драйверы. Установить с помощью sudo apt установить ubuntu-limited-extras
, однако, если этого недостаточно для полной очистки файлов и путей, гораздо проще переустановить ОС. Ничто другое не работает для меня. Не стесняйтесь выбирать нормальную или минимальную установку в первом шаге этого окна.
If you are running Nvidia (which your question did not clearly state) the best results are using the proprietary drivers (you can select and install them via the Hardware app, if not already done so) But that driver doesn't allow you to set the brightness by default. But this solution worked on my thinkpad:
! This will only work with the proprietary NVIDIA drivers !
create /etc/X11/xorg.conf.d/21-Nvidia.conf
by opening an editor with sudo (open a terminal):
sudo mkdir -p /etc/X11/xorg.conf.d/
sudo nano /etc/X11/xorg.conf.d/21-Nvidia.conf
Copy this code into your editor:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Save it with Crtl+X.
Restart. Then it should work