• Notebook Dell lag/Freeze system when Adjusting Brigthness


    @sushi said in Notebook Dell lag/Freeze system when Adjusting Brigthness:

    Is acpid installed or not now ?
    I would like to see what journalctl -f says when you press the brightness buttons +/- .

    After the nex boot or reboot, post the contant of journalctl -b.

    In the BIOS do you have any key setting like “Multimedia Key Behaviour”, if yes, try Function Key.

    Yes, acpid is installed.

    journalctl -f when I press brightness key + and -

    -- Logs begin at Mon 2018-03-26 11:11:14 -03. --
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #1 0x7fffcc8b1c20 b   resource:///org/gnome/shell/ui/tweener.js:105 (0x7fed541c7f78 @ 36)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #2 0x7fffcc8b1cc0 b   resource:///org/gnome/shell/ui/tweener.js:92 (0x7fed541c7de0 @ 52)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #3 0x7fffcc8b2be0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7fed541d2918 @ 54)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #4 0x7fffcc8b2d30 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7fed541d29a0 @ 1626)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #5 0x7fffcc8b2de0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7fed541d2a28 @ 100)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #6 0x7fffcc8b2e70 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7fed541d2ab0 @ 10)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #7 0x7fffcc8b2ef0 I   resource:///org/gnome/gjs/modules/signals.js:126 (0x7fed541cff78 @ 386)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #8 0x7fffcc8b2fa0 b   resource:///org/gnome/shell/ui/tweener.js:207 (0x7fed541cf5e8 @ 159)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #9 0x7fffcc8b3010 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fed541b4de0 @ 71)
    abr 03 13:57:43 anter org.gnome.Shell.desktop[634]: #10 0x7fffcc8b3010 I   resource:///org/gnome/shell/ui/tweener.js:182 (0x7fed541cf560 @ 15)
    abr 03 13:57:49 anter pkexec[1318]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
    abr 03 13:57:49 anter pkexec[1318]: jefferson: Executing command [USER=root] [TTY=unknown] [CWD=/home/jefferson] [COMMAND=/usr/lib/gsd-backlight-helper --set-brightness 379]
    abr 03 13:57:55 anter pkexec[1324]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
    abr 03 13:57:55 anter pkexec[1324]: jefferson: Executing command [USER=root] [TTY=unknown] [CWD=/home/jefferson] [COMMAND=/usr/lib/gsd-backlight-helper --set-brightness 333]
    

    In the Bios at "keys Behaviour"I already tried change between “Multimedia Key” and “Function Key” before, did not changed anything about freezing, obviously only was needed me to press fn before use Keys. So I changed back to Multimedia key

  • @sushi said in Notebook Dell lag/Freeze system when Adjusting Brigthness:

    Look at this and try what is said in the answer 3 (create the file /usr/share/X11/xorg.conf.d/20-intel.conf ) :

    link text

    At this forum in Arch I posted everything I tryied, including it this sugestion. take a look, once I posted here first, when I post in Arch forum, I gave more details all I tryied. But I got no answer, I’ll not use 2 foruns at same time, I’ll try here.
    https://bbs.archlinux.org/viewtopic.php?id=235489

  • I’m not going to subscribe to arch forum but take a look at this :

    link text

    If you have W$ installed try what they say in the link. It’s well known that W$ settings can influence the behaviour of a dual boot machine even if you switch to an other OS.

  • @sushi Thank you for your enforts, but nothing has changed, I also tried to disable environment sensor (control the back light as a smartphone).
    I’ve been using Linux for 2 years until January at this same PC, when I choosed change my OS because has no more updates. Well, I was using Apricity OS, everything was working perfectly, but I’ve been using it for around 10 months without update once it has dead. I had no time to change OS before, because my course in University, and now I need some programs that needs an updated version of Linux but I’m getting this problem when running in Xorg (xorg also a requirement) .

    Since you told me about the journalctl -f, I was thinking if there’s no way to change the way gnome changes the brightness, if I run the command:
    (where XXX a number set by me manually)

    /usr/lib/gsd-backlight-helper --set-brightness XXX
    

    it changes the brightness with no freeze. But I dont know how to do it, using the actual value more or less, I mean: currentBrigthness=currentBrigthness + 20, or something like that.

    I have knowledge in programming, but I don’t understand so much Linux programming language or it’s structure .

  • I see, the reason of this change is probably because you were using an old kernel with your OS.

    Anyway, you could make two launcher one with the command + and one with - in your panel to change the brightness without using the keyboard. I don’t use Gnome so I have no idee how to make it but it’s easy to find.

    What is the output of :

    ls /sys/class/backlight/
    

    Here maybe some answer (BIOS settings) :

    link text

    And here :

    link text

    link text

  • Try this grub options as discribed here (Known Issues) :

    link text

  • @sushi said in Notebook Dell lag/Freeze system when Adjusting Brigthness:

    I see, the reason of this change is probably because you were using an old kernel with your OS.

    Anyway, you could make two launcher one with the command + and one with - in your panel to change the brightness without using the keyboard. I don’t use Gnome so I have no idee how to make it but it’s easy to find.

    What is the output of :

    ls /sys/class/backlight/
    

    Here maybe some answer (BIOS settings) :

    link text

    And here :

    link text

    link text

    Load Legacy Boot Options was disabled in my BIOS, I tried to enable and has no efect.

    About the 2nd link “Set screen brightness” at gnome.org, as I told, I’m able to change it in panel, but I would like to change it using my multimedia keys with no freeze runing xorg.

    I’ve been reading backlight wiki page…

    What did I tryied:
    Change grub GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash X”
    X means all thoses:
    acpi_backlight=video
    acpi_backlight=vendor
    acpi_backlight=native
    acpi_backlight=none

    of course I updated grub every time with:

    grub-mkconfig -o /boot/grub/grub.cfg
    

    and restart the PC.

    no success Still Freezing/Lagging when use fn multimedia keys

    I also installed “xf86-video-intel” for use at “/etc/X11/xorg.conf.d/20-intel.conf” the following settings

    Section “Device”
    Identifier “Intel Graphics”
    Driver “intel”
    Option “DRI” “2”
    Option “TearFree” “true”
    Option “AccelMethod” “sna”
    Option “Backlight” “intel_backlight”
    EndSection

    even than “/sys/class/backlight” has only a folder called “intel_backlight”

  • Yep, not easy to find out.

    I would try an other DE (I use xfce flawlessly) to see if it’s hardware or software dependent. Because if it’s gnome dependent, you can search a hardware problem a long time without success.

  • I was thinking about to use another package to control the brightness. Well while I was reading arch wiki, I read about xbacklight, and I tried to install it, but I already was installed, then I removed and nothing has change…
    So what is controlling the brightness when I’m running xorg? Why not to remove it and try to control under xbacklight?
    So, how can I know what happens when I press the brigthness key?

  • journalctl -f in a terminal while pressing it ?

  • or… xev

    sudo pacman -S xorg-xev

  • @shemux said in Notebook Dell lag/Freeze system when Adjusting Brigthness:

    /usr/lib/gsd-backlight-helper --set-brightness XXX

    I did it before, 😅
    I think when I press F12 or F11 (keys to adjust the brightness) its doing something else, because when I just run in terminal, it works. but its a compiled file. I don’t know if patch with another version of gsd-backlight-helper would fix, I also not have ideia how to do it.
    Should I try another DE or should I try something else?

  • @shemux said in Notebook Dell lag/Freeze system when Adjusting Brigthness:

    gsd-backlight-helper

    yaourt backlight
    1 extra/xorg-xbacklight 1.2.2-1 (xorg-apps xorg)
        RandR-based backlight control application
    2 aur/acpilight 1.0.1-2 (18) (1,15)
        A backward-compatibile xbacklight replacement based on ACPI
    3 aur/acpilight-git v1.0.r3.g3827fdf-1 (0) (0,00)
        A backward-compatibile xbacklight replacement
    4 aur/adjbacklight 8.1-1 (6) (0,00)
        Convenient method for adjusting the backlight on your portable computer
    5 aur/asus-kbd-backlight 1.2-1 (10) (0,06)
        Helper for adjusting keyboard backlight brightness in Asus Zenbook UX31A and similar models
    6 aur/autolight 1.1-1 (2) (0,15)
        A daemon for controlling display backlight using an ambient light sensor
    7 aur/backlight-git 0.1.r9.g631094e-1 (0) (0,00)
        Get and set the backlight brightness
    8 aur/backlight-openrc 2-1 (0) (0,00)
        Restore the screen brightness at system startup.
    9 aur/backlight_control 1.1-2 (2) (0,44)
        Simple backlight brightness control
    10 aur/calise 0.4.2-1 (51) (0,02)
        A program that computes ambient brightness and sets screen's correct backlight using a webcam.
    11 aur/calise-git v0.5.0.r19.g25dbdaf-1 (22) (0,00)
        A program that computes ambient brightness and sets screen's correct backlight using a webcam. Development GIT Version.
    12 aur/chromebook_keyboard_backlight_driver 1.0r24.g39568fa-2 (0) (0,00)
        Keyboard backlight driver for various chromebook models
    13 aur/chromebook_keyboard_backlight_driver-dkms 1.0r24.g39568fa-1 (0) (0,00)
        Keyboard backlight driver for various chromebook models
    14 aur/clevo-wmi-dkms-git 0.9.6-4 (Out of Date) (0) (0,00)
        A reverse engineered driver for the Clevo P15SM/P17SM/P170EM/W230ST/W350STQ/W370ST/W650SR/W670SR/W740SU backlight keyboard
    15 aur/clevo-xsm-wmi 1.1-1 (5) (0,00)
        A reverse engineering driver for the Clevo laptop models backlight keyboard.
    16 aur/clevo-xsm-wmi-dkms 1.1-5 (1) (0,00)
        A reverse engineering driver for the Clevo SM series backlight keyboard (DKMS version)
    17 aur/coolmaster-keyboard 5-1 (0) (0,00)
        Control the backlight for Coolmaster Dominator keyboards
    18 aur/dimdaemon 0.5-2 (0) (0,00)
        A simple and lightweight backlight-dimming daemon for laptops
    19 aur/dsplight 1.0-1 (0) (0,00)
        A very simple application that changes MacBooks' with Intel graphics display backlight level.
    20 aur/enlighten-git 0-3 (1) (0,08)
        A small tool to modify LCD backlight brightness
    21 aur/gbacklight r5.6c053a2-1 (15) (0,01)
        Graphical frontend to xbacklight for adjusting the display brightness
    22 aur/gloom 1.2-1 (0) (0,00)
        a X11 backlight dimming, screen lock, and cursor management tool for laptops.
    23 aur/gmux_backlight 0.1-1 (1) (0,01)
        Modify brightness of displays attached to a gmux.
    24 aur/illum-git 0.4.r8.gd9aed05-1 (9) (1,68)
        A daemon that responds to brightness keys by changing the backlight level
    25 aur/intelbacklight-git r3.4ec8dfd-1 (1) (0,78)
        A tool that mimics the xbacklight functionality for intel_backlight.
    26 aur/intelpwm-udev 20170105-1 (11) (1,37)
        UDEV rules for setting backlight PWM frequency on Intel HD Graphics
    27 aur/kbdlight 1.3-1 (18) (0,18)
        A very simple application that changes MacBooks' keyboard backlight level.
    28 aur/light 1.0-2 (44) (5,06)
        Program to easily change brightness on backlight-controllers.
    29 aur/light-git 1.0.r6.g674ada0-1 (21) (0,59)
        Program to easily change brightness on backlight-controllers.
    30 aur/lightum-git 2.3.1-1 (Out of Date) (4) (0,00)
        Lightum is a daemon to control the keyboard brightness and screen backlight on MacBook based laptops.
    31 aur/lumeus-git r10.d03388f-1 (0) (0,00)
        adjust backlight brightness
    32 aur/lux 1.1-1 (5) (0,05)
        POSIX Shell script to easily control brightness on backlight controllers.
    33 aur/malc 0.1.0-1 (0) (0,00)
        Change a MacBooks' keyboard backlight level based on current ambient light.
    34 aur/mba6x_bl-dkms 0.0-1 (9) (0,02)
        Backlight for mba6x to fix post suspend/resume brightness.
    35 aur/mba6x_bl-dkms-git latest-1 (2) (0,06)
        Backlight for mba6x to fix post suspend/resume brightness.
    36 aur/msiklm-git 20160417.d3f15b9-1 (1) (0,00)
        A simple backlighting manager for MSI steelseries keyboards
    37 aur/nvidia-bl 0.17.3-10 (49) (0,00)
        Driver to adjust display backlight on modern mobile NVidia graphics adapters.
    38 aur/nvidiabl 0.88-5 (45) (0,76)
        Backlight driver for NVidia graphics adapters
    39 aur/pixel_keyboard_backlight_driver 0.1.6-1 (0) (0,00)
        Chromebook Pixel keyboard backlight kernel driver
    40 aur/pommed-jalaziz 1.40.r7.g243f0f2-1 (4) (0,00)
        Hotkey handler for Apple laptops for LCD/keyboard backlight, sound volume, and disc ejection, with systemd and 2012 model support.
    41 aur/prismatik-git 5.11.2.r0.g46ca39e-1 (2) (0,00)
        A controler for usb driven LED backlights.
    42 aur/prismatik-psieg-git 5.11.2.11.r2.gb30ce02-1 (3) (0,11)
        A controller for usb driven LED backlights. An unofficial fork.
    43 aur/relight 2015-1 (10) (0,00)
        Save and restore backlight settings.
    44 aur/tuxedo-wmi 1.5.1-2 (4) (0,04)
        A reverse engineering driver for the Clevo P15SM/P17SM/P150SM/P157SM/P170SM/P177SM backlight keyboard, by Christoph Jaeger
    45 aur/tuxedo-wmi-dkms 1.5.1-2 (7) (0,01)
        A reverse engineering driver for the Clevo P150EM/P170EM/P150SM/P157SM/P170SM/P177SM backlight keyboard, by Christoph Jaeger (DKMS version)
    46 aur/xfce4-power-manager-xbacklight 1.4.4-1 (Out of Date) (4) (0,56)
        Power manager for Xfce desktop using xbacklight for setting brightness
    47 aur/xorg-xbacklight-lxhillwind-patch 1.2.1-1 (2) (0,01)
        RandR-based backlight control application, with brightness represented as an integer.
    

    there is a lot into AUR ;)

  • Hi!! I’ve been busy lately then unable to test. 2 days ago I tryied:
    Ubuntu with Gnome: Same problem
    SolusOS with Gnome: Same problem
    Manjaro with Gnome: Same problem
    Manjaro with XFCE: No problem
    P.S. All problem happens only when running gnome under X11 (xorg) as I reported before. And some programs only run in xorg.
    As I can see it’s a Gnome bug, but I don’t know why it’s happens in only a few computers, Since I’ve been searching there is only one more forum I found someone with this problem, but its has no answer.
    I don’t know what to do now

  • @joekamprad I tried this suggestion, gnome always assumes the brightness’ key control, I did not find a way to stop it. Gnome changes the brightness through the keys, but it’s like doing something else. I’m unable to see everything that happens through:

    journalctl -f
    

    the file / usr / bin / gsd-backlight-helper is a compiled file I can not see if the problem is in it.

    is there a way to see the layers is passing by when press brightness key?

  • @shemux : So, now you know that it’s a Gnome problem. Report this bug to Gnome or change for a DE which is working. I don’t see what else to do, I can’t help you more because I don’t use Gnome but xfce.

system145 dell30 notebook7 lagfreeze1 Posts 37Views 2322
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.