0

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?

Eliah Kagan
  • 117,780
Jack
  • 33
  • Which graphics card does your laptop use? Check whether that same graphics driver is installed in Ubuntu or not. – Puspam Jul 01 '20 at 05:10
  • @Puspam, it seems driver is not installed. I'll try what is described here: https://askubuntu.com/questions/922961/nvidia-graphic-driver-is-installed-but-the-graphic-card-is-not-used?rq=1 – Jack Jul 01 '20 at 19:13

5 Answers5

0

I had the same problem & it's caused by Nvidia graphics.

Did you install " third party software " in OS installation ?

You can try to delete your not recognized graphics, but more easy is a fresh new OS installation and let system choose right drivers. Install via sudo apt install ubuntu-restricted-extras , however if it won't enough to completely purge files and paths, much easy is reinstall OS. Nothing other works for me. Feel free to choose Normal or Minimal installation in first step of this window.

enter image description here

Em Vo
  • 52
  • Thanks, @Em Vo. Yes, I installed "third party software". I understand it was right, isn't it? My laptop is a Lenovo, so I think I have this Ndivia graphics. But it's weird, with Ubuntu 14.04 I had no problems... I'll try the terminal command. TIA – Jack Jul 01 '20 at 18:52
  • I didn't work :-( – Jack Jul 01 '20 at 19:04
  • it seems driver is not installed. I'll try what is described here: https://askubuntu.com/questions/922961/nvidia-graphic-driver-is-installed-but-the-graphic-card-is-not-used?rq=1 – Jack Jul 01 '20 at 19:13
  • You probably running now via Intel driver. You should not install Nvidia driver from Software & Updates. No needed. I am also using Power safe mode to reduce battery consumption. When you need , switch to Performance mode in Nvidia x settings. – Em Vo Jul 02 '20 at 06:41
  • Thanks, I have no idea how to do that, could you please give me a lead? I've tried this command sudo brightnessctl set and it doesn't change the brightness :-(. – Jack Jul 03 '20 at 06:03
  • Brighteness,nightlight, suspend mode . That won't work if Nvidia 440 not recognized. You should let to choose your system for a right Intel driver and not install any Nvidia. New Kernels are not recognizing every Nvidia card. Did you instal third party software ? After that, you should have the opiton to control your brighteness, etc. – Em Vo Jul 03 '20 at 08:28
  • Yes, I did install third party software, from the very beginning, but it's not working yet. – Jack Jul 03 '20 at 18:53
  • I this case, you can try solutions below. For me, third party software solved this issues. – Em Vo Jul 04 '20 at 10:07
0

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!

screenshot of Additional Drivers in Software & Updates

Eliah Kagan
  • 117,780
  • As Em Vo pointed out (see their comments), an Intel graphic is installed. And no options were shown in the window you posted. Thanks for replying. – Jack Jul 05 '20 at 23:34
0

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

kanehekili
  • 6,402
  • As Em Vo pointed out (see their comments), an Intel graphic is installed. Thanks for your response. – Jack Jul 05 '20 at 23:33
  • Ok, but that information came after I've written my answer. (2 days ago) I should've asked ... – kanehekili Jul 06 '20 at 19:33
  • Thanks, @kanehekili, sorry, don't want to argue with you, but Em Vo wrote it long before you kindly answered. When I made the question, I didn't know what graphic card was installed, until Em Vo, pointed it out. – Jack Jul 08 '20 at 22:22
  • Well, then I've misread the timestamps. No harm done, glad you've got it solved. – kanehekili Jul 09 '20 at 16:17
0

A friend of mine found the solution.

Edit grub:

sudo gedit /etc/default/grub

Find this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Change it for this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

Save and close.

Update GRUB:

sudo update-grub

Restart the computer.

Eliah Kagan
  • 117,780
Jack
  • 33
0

What it helped me was the first answer to this question, but I'm going to add some extra things I had to do, here are the steps:

1º Go into the menu and click in "Software and Updates" app and go in additional drivers. It should look like this.

Software and Updates -> Additional Drivers

2º From all the options choose the latest one (the one that has the greater number) and you'll see that there are lots of the, some end in -server, others end in -open; what you have to do is choose the one that ends in nothing, for example, in the picture above I used the first one 'Using NVIDIA ... nvidia-driver-535 (propietary)' and then I clicked on apply changes, it made me restart and voila!

Note: If the screen has chosen the option 'Continue using a manually installed driver' what you have to do is execute this command:

sudo apt purge nvidia-*

and reopen your 'Software and updates' app and it should work.