The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Clevo P950ER: can't set display brightness on Ubuntu 18.04

    Discussion in 'Linux Compatibility and Software' started by CodeNemo, Jul 11, 2018.

  1. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    I installed Windows 10 and Ubuntu 18.04 on P950ER. On Windows Control Center driver and Intel GPU driver from Clevo (not Intel official) are required to change the display brightness. On Ubuntu I tried add "acpi_blacklight=vendor" and "acpi_osi=linux" to GRUB, but it doesn't work however I press Fn+F8/F9 trying to set the brightness. Any solution?
     
  2. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
  3. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    I installed Ubuntu with standard installer ("nomodeset" added to make it work) and followed the normal steps to get the drivers. The hardwares including audio jack seem working well, but the brightness of display can't be adjusted. Should I reinstall Ubuntu?
     
  4. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    No need. Add these grub options mentioned above.
     
  5. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    I did, but still can't. Is there any software else needed?
     
  6. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    There's another way which involves passing a module option to the i915 driver.

    Researching on this. Will be back with a solution.

    Can you provide the output of:

    ls -al /sys/class/backlight
     
  7. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    Surely an Optimus laptop whose Nv GPU only works when gaming (on Windows). Appreciate it if you could provide another methods.
    More info:
    Serial No. NKP950ER0008E00268
    BIOS Version 1.05.03.TBP
     
  8. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    I'll do my best.

    Please provide the output of:

    ls -al /sys/class/backlight
     
  9. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    :~$ ls -al /sys/class/backlight
    total 0
    drwxr-xr-x 2 root root 0 7月 12 23:23 .
    drwxr-xr-x 70 root root 0 7月 13 2018 ..
    lrwxrwxrwx 1 root root 0 7月 13 2018 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
    lrwxrwxrwx 1 root root 0 7月 13 2018 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
     
  10. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Beautiful, this means that we can use the intel_backlight method.

    Here comes:

    Can you run:

    systemctl enable systemd-backlight@backlight:intel_backlight.service

    And see what it returns?
     
  11. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    :~$ systemctl enable systemd-backlight@backlight:intel_backlight.service
    The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
    settings in the [Install] section, and DefaultInstance for template units).
    This means they are not meant to be enabled using systemctl.
    Possible reasons for having this kind of units are:
    1) A unit may be statically enabled by being symlinked from another unit's
    .wants/ or .requires/ directory.
    2) A unit's purpose may be to act as a helper for some other unit which has
    a requirement dependency on it.
    3) A unit may be started when needed via activation (socket, path, timer,
    D-Bus, udev, scripted systemctl call, ...).
    4) In case of template units, the unit is meant to be enabled with some
    instance name specified.
     
  12. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
  13. CodeNemo

    CodeNemo Newbie

    Reputations:
    0
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    5
    By default Openbox isn't installed on Ubuntu 18.04, I got it manually and did all the steps in the Wiki. After that, I ran sysbacklight up/down/set, but the brightness wasn't changed. The value of intel_backlight was modified, but no effect on display, nor do using Fn+F8/F9.

    $ sudo sysbacklight set 0
    $ cat /sys/class/backlight/intel_backlight/brightness
    1
     
    Last edited: Jul 13, 2018
  14. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    785
    Messages:
    933
    Likes Received:
    867
    Trophy Points:
    106
    Sorry for the late reply, but try this:

    We can confirm that your backlight driver is indeed intel_backlight, via the contents of:

    ls /sys/class/backlight/


    Here's how you can define the backlight driver for xorg to use:

    Let's create a custom xorg conf file that won't be overwritten by Ubuntu's gpu-manager:

    sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf

    Then edit it as shown:

    sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf

    With the content:

    Section "Device"
    Identifier "card0"
    Driver "intel"
    Option "Backlight" "intel_backlight"
    BusID "PCI:0:2:0"
    EndSection


    Then log in and log out again.

    PS: Be sure to confirm that the PCIID for your Intel HD Graphics controller matches the entry above (PCI:0:2:0).
    Otherwise, change it to what your system reports.

    Run this to confirm:

    lspci -vnn | grep VGA -A 12