Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Asus G750JW brightness not adjustable on Ubuntu 13.04

  1. #1
    Join Date
    Aug 2013
    Beans
    8

    Asus G750JW brightness not adjustable on Ubuntu 13.04

    First I tried to install 12.04LTS, succeded, but had some hard time getting the network to work. Finally decided to give a try to 13.04, and network run from first attempt (for wireless I had to install this driver: http://people.canonical.com/~ypwong/..._223_95.tar.gz). Also, right button from touchpad does not work, but I did not try to solve it as I use a mouse.

    I would like to be able to adjust brightness too, as now it runs at max and is a little hard to the eyes.
    When I press Fn+F5(F6), the value from /sys/class/backlight/acpi_video0/brightness is changed accordingly in the range 0..100, but with no effect on display brightness.
    I'm using the nvidia driver.

    Did someone solve this issue?
    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Hello and welcome to the forums.

    A little more information would help. Open a terminal window, type in the following commands and post back the results.

    1. Your current kernel command line:
    Code:
    cat /proc/cmdline
    2. Your video card and driver:
    Code:
    lspci -k | grep -A3 VGA
    3. Your backlight interfaces (in case there are more than one):
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    If you are not using any kernel parameters, you might want to consider trying the following:
    - acpi_osi=\"!Windows 2012\"
    - acpi_osi=Linux acpi_backlight=vendor
    Have a look at the "Kernel Boot Parameters" link in my signature for information on how to set kernel parameters.

  3. #3
    Join Date
    Aug 2013
    Beans
    8

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Hi Toz,
    Thanks for your answer. Here is the output:

    Code:
    >cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=b15368c9-c44a-4d0e-abdb-9bb1eb1eb687 ro quiet splash vt.handoff=7
    Code:
    > lspci -k | grep -A3 VGA
    01:00.0 VGA compatible controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 119d
        Kernel driver in use: nvidia
    01:00.1 Audio device: NVIDIA Corporation Device 0e0b (rev a1)
    Code:
    > for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    /sys/class/backlight/acpi_video0
    6
    100
    /sys/class/backlight/acpi_video1
    6
    100

  4. #4
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Frist off, can you try the acpi_backlight=vendor kernel parameter? To do this:

    1. Edit the grub config file:
    Code:
    gksu gedit /etc/default/grub
    ...enter your password when prompted.

    2. Change the line that reads:
    GRUB_CMDLINE_LINUX=""
    ...to read:
    Code:
    GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
    3. Save the file.

    4. Commit the changes to grub:
    Code:
    sudo update-grub
    5. When #4 completes, reboot your computer.

    If, on reboot, the brightness still doesn't work, can you post back again:
    Code:
    cat /proc/cmdline
    ...and
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    I'm hoping this kernel parameter will return only one backlight interface and in turn enable the function keys to work against the correct backlight interface.

  5. #5
    Join Date
    Aug 2013
    Beans
    8

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Already tried adding "acpi_osi=Linux acpi_backlight=vendor" in GRUB_CMDLINE_LINUX_DEFAULT="quiet splash", as you suggested in your first post, with no result (the only result was that FnF5(F6) was not changing the brightness slider any more). Did not try acpi_osi=\"!Windows 2012\".
    I will test also changing GRUB_CMDLINE_LINUX="acpi_backlight=vendor" and come back with some feedback.
    Thank you

  6. #6
    Join Date
    Aug 2013
    Beans
    8

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Here is the result of commands after reboot:
    Code:
    > cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=b15368c9-c44a-4d0e-abdb-9bb1eb1eb687 ro acpi_backlight=vendor quiet splash vt.handoff=7
    Code:
    > for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    /sys/class/backlight/asus-nb-wmi
    12
    100
    FnF5(F6) do not change the brightness slider any more. Tried to adjust it with the slider in SystemSettings, Brightness, but with no effect on actual brightness (but the brightness file adjusts value according to slider).

  7. #7
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Can you also add:
    Code:
    Option "RegistryDwords" "EnableBrightnessControl=1"
    ...to the "Device" section of your /etc/X11/xorg.conf file? You'll need to log out and back in again to test.
    When logged back in, if brightness still isn't working can you try:
    Code:
    echo 50 | sudo tee /sys/class/backlight/asus-nb-wmi/brightness
    echo 75 | sudo tee /sys/class/backlight/asus-nb-wmi/brightness
    ...to see if manually manpulating the brightness file will change the actual brightness.

    And if that still doesn't work, can you then try acpi_osi="!Windows 2012"? The relevant lines in /etc/default/grub should look like this:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rw"
    GRUB_CMDLINE_LINUX="acpi_osi=\!Windows 2012\""
    ...and after reboot post back again:
    Code:
    cat /proc/cmdline
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done

  8. #8
    Join Date
    Aug 2013
    Beans
    8

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    1. Was already there.
    2. No change to actual brightness
    3. I get the following error when trying to add those 2 lines (copy/paste):
    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.8.0-27-generic
    Found initrd image: /boot/initrd.img-3.8.0-27-generic
    Found linux image: /boot/vmlinuz-3.8.0-26-generic
    Found initrd image: /boot/initrd.img-3.8.0-26-generic
    Found linux image: /boot/vmlinuz-3.8.0-19-generic
    Found initrd image: /boot/initrd.img-3.8.0-19-generic
    Adding boot menu entry for EFI firmware configuration
    error: out of memory.
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    Syntax error at line 289
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.done
    4. NA


    Ok, missing a quote. Managed to get it changed.
    No change on brightness, though. Only the slider is adjusted directly from keyboard.

    Here is the output:
    Code:
    >cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-3.8.0-27-generic root=UUID=b15368c9-c44a-4d0e-abdb-9bb1eb1eb687 ro "acpi_osi=!Windows 2012" quiet rw
    > for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    /sys/class/backlight/acpi_video0
    4
    10
    Maybe is worth mentioning that I am using also another monitor, plugged inside the VGA slot of the laptop. The standalone monitor has a feature of autoadapting its brightness depending on ambient light strength.
    Last edited by y0002; August 21st, 2013 at 08:42 AM.

  9. #9
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    Quote Originally Posted by y0002 View Post
    Maybe is worth mentioning that I am using also another monitor, plugged inside the VGA slot of the laptop. The standalone monitor has a feature of autoadapting its brightness depending on ambient light strength.
    We should try to get brightness working on the laptop without the external monitor first, then add the monitor.

    I like the "acpi_osi=!Windows 2012" parameter because it leaves you with only one backlight interface - the acpi-managed backlight. With this parameter active:
    1. Is "Option "RegistryDwords" "EnableBrightnessControl=1"" added to your xorg.conf file? Can you post back the file?
    2. Does xbacklight work (you may have to install it if its not installed)?

    Also, if anything relevant from these commands, can you post back?
    Code:
    cat /var/log/dmesg | grep -i backlight
    cat /var/log/Xorg.0.log | grep -i backlight

  10. #10
    Join Date
    Aug 2013
    Beans
    8

    Re: Asus G750JW brightness not adjustable on Ubuntu 13.04

    xbacklight was not installed. After I installed it, I managed to alter the brightness using it, but not using keyboard or brightness slider from System settings. So this is already an achievement, because I can lower brightness.
    Code:
    > cat /var/log/dmesg | grep -i backlight
    [   11.458659] asus_wmi: Backlight controlled by ACPI video driver
    The other command does not return anything. Also, maybe it is relevant: in modprobe.d/blacklist, there is an entry:
    Code:
    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi
    xorg.conf contents:
    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 325.08  (buildmeister@swio-display-x64-rhel04-12)  Wed Jun 26 18:41:44 PDT 2013
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        Option "registryDwords" "EnableBrightnessControl=1"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •