Skip to content

Instantly share code, notes, and snippets.

@stefanocoding
Created December 18, 2018 23:55
Show Gist options
  • Save stefanocoding/0298ee3ac24d062511f00df29b2083bf to your computer and use it in GitHub Desktop.
Save stefanocoding/0298ee3ac24d062511f00df29b2083bf to your computer and use it in GitHub Desktop.
Fix not working backlight when using NVidia propietary driver on Ubuntu 18.04 installed in a Macbook Pro Mid 2014.

After installing the latest NVidia proprietary driver (version 390) using Software & Updates > Additional Drivers, it wasn't possible to change the backlight intensity/brightness of the screen.

The solution that worked for me was to run: sudo setpci -H1 -s 00:01.00 BRIDGE_CONTROL=0. If that solution works for you too, then you may want to make the change permanent. Otherwise, you will have to run the same command each time you power on your Macbook.

Steps to make the change permanent:

  1. Open "Terminal"
  2. Run sudo gedit /etc/rc.local
  3. Enter:
#!/bin/sh

setpci -H1 -s 00:01.00 BRIDGE_CONTROL=0
  1. Run sudo chmod 755 /etc/rc.local
  2. Reboot

😄

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment