Created attachment 185561 [details] acpi dump file Hi I have notebook asus x551ma (Intel HD Graphics - Bay Trail - Sandy Bridge); I have running kernel(s) 3.18.20 and 4.0.9; Seems like they both have backlight issue on wake up on my notebook; After suspend I can see OS is running but there is no backlight (LED); I tried reboot many times but all the same :P The console mode (ctrl+F1) is not accessible bacause of the error "Ignoring BGRT: invalid status 0 (expected 1) " and blinking cursor below :( I suppose something is wrong with acpi module but still I am not sure so I attach the acpi dump (see attachment); Please help to fix the issue or advise a more or less optimal workaround; Thanks
p.s. sometimes I have kernel panic on kernel 3.18.20 and 4.0.9
p.p.s. as a guess, some forums say it is the CONFIG_ACPI_BGRT=y config stuff in case of UEFI; I don't know but does this mean that "security boot" should be enabled in BIOS or something? Please give me a tip here
BGRT is a firmware table and OS doesn't have control of its status, so I don't see a way to fix the "Ignoring BGRT: invalid status 0 (expected 1) " issue. Regarding the backlight issue, is it that from v3.18 you start to have this problem after resume?
Yes, I have backlight issue since 3.18; I have tried kernels 3.18 and 4.0.9 and 4.1 and 3.16; Previously 3.16 worked fine (except its bay trail support of course) but I post installed it (after 3.18 the os in-box one) so if I switch to 3.16 it gives backlight issue as well; So to be more specific kernels which have backlight issue are : - 3.16.7.15 - 3.18.20 - 4.0.9 it is really annoying cause after suspend the only thing which switch backlight back is total reboot :P BTW 3.18.20 and 4.0.9 sometimes give kernel panic (total system hang)
I have UEFI which is disabled; What if I set CONFIG_ACPI_BGRT=n will it help somehow, moreover, the backlight is some ACPI problem; so may total bgrt skipping give a hand here?
Created attachment 185711 [details] dmesg since the last kernel panic (os hang totally)
@Aaron Lu I made dmesg file since the last kernel panic which after a while occur on 3.16,3.18.4.0; Please see the attachment p.s. as I can see there is an acpi firmware bug but I am not sure; Please give me a tip
I just checked some previous kernels dmesg like a kernel 3.12.28 for example; Seems like kernel 3.12.28 worked better with EFI and my notebook ACPI tables but what changed since 3.18 and how to choose the correct kernel version then? (see attachment) or I should somehow just reconfigure kernels?
Created attachment 185721 [details] dmesg made during kernel 3.12.28 running - efi and acpi support
Let's be clear of the problem we are dealing with here: You can do system suspend and resume, the only problem is after resume, the backlight if off, but you are still able to login to the system(by ssh, etc.) and you are able to reboot the system with software, i.e. by issuing the reboot command. Is it the case?
I am not sure cause ctrl+t does not work and alt+ctrl+F1 has the error "Ignoring BGRT: invalid status 0 (expected 1)"; But still maybe, yes, if to light the lid back with a lighter I could use os %)
When you press :alt+ctrl+F1, you see the error "Ignoring BGRT: invalid status 0 (expected 1)" on console? I thought the resume doesn't bring the backling on, so how can you see the error on console?
No, resume really doesn't bring backlight on so I have to reboot; I can see console etc before suspend only; The error Ignoring BGRT: invalid status 0 (expected 1) throws on boot but I have backlight on boot :)
May I know how did you do the reboot after resume? We need to make sure the system resumed back well except the backlight is off first.
To reboot I just pushed power button cause I could hardly see graphics to input or use mouse :( After resume I can hardly but still see there are windows and apps opened as I had them before resume; I can hardly see them with no backlight but still OS seems back running after resume except the LED backlight :P
(In reply to Aaron Lu from comment #12) > When you press :alt+ctrl+F1, you see the error "Ignoring BGRT: invalid > status 0 (expected 1)" on console? I thought the resume doesn't bring the > backling on, so how can you see the error on console? BTW when I press alt+ctrl+F1 in 3.16 mode backlight switches off totally so I have to reboot to switch it back on :(
Created attachment 185921 [details] dmesg since the last system hang
I just generated dmesg since the last system hang during kernel 4.0.9 running; I really hope that also will help to figure out what causes issues (see attachment)
The "" $dmesg -t | grep -i 'error\|warn\|exception' outputs... ------------- ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 128/32 (20150204/tbfadt-618) ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150204/hwxface-580) ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150204/hwxface-580) acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM ACPI Warning: SystemIO range 0x000000000000F000-0x000000000000F01F conflicts with OpRegion 0x000000000000F000-0x000000000000F00F (\_SB_.PCI0.SBUS.SMBI) (20150204/utaddress-254) --------------- Seems like all related to ACPI :( I am not sure what to do next please guide me
(In reply to Ghry from comment #19) > The "" > > $dmesg -t | grep -i 'error\|warn\|exception' > > outputs... > ------------- > ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 128/32 > (20150204/tbfadt-618) Looks like a BIOS bug, but may not matter. > ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] > (20150204/hwxface-580) > ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] > (20150204/hwxface-580) This means your system doesn't suppport S1, S2 as most of the laptops sold today so essentially all laptops have this "error" messages. > acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM Your firmware deny giving OS control of PCIe ASPM, which is a power feature and you can ignore it. > ACPI Warning: SystemIO range 0x000000000000F000-0x000000000000F01F conflicts > with OpRegion 0x000000000000F000-0x000000000000F00F (\_SB_.PCI0.SBUS.SMBI) > (20150204/utaddress-254) Hard to say what problem this may cause, but I also have several such lines in my dmesg so not a big deal. > --------------- > > Seems like all related to ACPI :( I am not sure what to do next please guide > me These are error related to ACPI, but it doesn't mean it has something to do with your problem.
Please list /sys/class/backlight(In reply to Ghry from comment #0) > Created attachment 185561 [details] > acpi dump file > > Hi > > I have notebook asus x551ma (Intel HD Graphics - Bay Trail - Sandy Bridge); This laptop is using BayTrail, it doesn't have SandyBridge.
1 Please list /sys/class/backlight 2 Are you able to adjust backlight when system is running, e.g. is there any backlight hotkey? If so, can you adjust the backlight level after you resume?
(In reply to Ghry from comment #4) > Yes, I have backlight issue since 3.18; I have tried kernels 3.18 and 4.0.9 > and 4.1 and 3.16; Previously 3.16 worked fine (except its bay trail support > of course) but I post installed it (after 3.18 the os in-box one) so if I > switch to 3.16 it gives backlight issue as well; So to be more specific > kernels which have backlight issue are : > > - 3.16.7.15 > - 3.18.20 > - 4.0.9 Since all kernel version has this problem, I don't see why it is a regression? I'll clear that flag.
(In reply to Aaron Lu from comment #21) > This laptop is using BayTrail, it doesn't have SandyBridge. The "Sandy Bridge" is related to Graphics, as I can get it; I have "Sandy Bridge" written in BIOS; (In reply to Aaron Lu from comment #21) > Please list /sys/class/backlight(In reply to Ghry from comment #0) > > Created attachment 185561 [details] > > acpi dump file $ls /sys/class/backlight intel_backlight So it is the intel backlight;
(In reply to Aaron Lu from comment #22) > 2 Are you able to adjust backlight when system is running, e.g. is there any > backlight hotkey? If so, can you adjust the backlight level after you resume? No, the Fn+F5 and Fn+F6 does not adjust the backlight; I am using xbacklight to adjust it and the xbacklight works
Still there is no backlight after suspend :"( How to fix that? I am tried 3.16* 3.18 and 4.0.9 versions; Please guide me
I just tried to list the backlight folder : ------- $ls /sys/class/backlight acpi_video0 -------- it outputs acpi_video0 but it should be intel_backlight :(
You have very different output in comment #24 and comment #27, what happened?
@Aaron Lu Thanks for your comment; It's OK now; I guess it is the acpid-openrc previous test installation messed something :"( I Just removed it for systemd-sysvcompat so I have ... $ls /sys/class/backlight intel_backlight ...again :)
We need to make sure if system is alive or not after resume, because if system is hang, no backlight is normal. So is it possible for you to use another computer to ssh into the test machine to see if it is still alive, just no backlight? Another indication is if the keyboard LED still works, like the NumLock key.
I am sure it is is alive cause I used the OS after resume (with no backlight of course) lightening the display (at the front side) by my mobile phone lighter :) So system is totally fine after resume except the backlight; Where should I look at? Please guide me
I just found my /var/log/Xorg.0.log contains this line : (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) may this cause the mentioned backlight issue? Give me a tip please
Created attachment 186731 [details] dmesg right after last system freeze
I gene-ed dmesg right after today system total freeze; I attached the file; Watch it please; btw it contains line : system wakeup disabled by acpi ...so I am not sure what that means; Please guide me
(In reply to Ghry from comment #32) > I just found my /var/log/Xorg.0.log contains this line : > > (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) > > may this cause the mentioned backlight issue? Give me a tip please No, it doesn't have anything to do with the low backlight after resume.
Is there any particular reason why you added the "video.use_native_backlight=1" cmdline option?
see #29 a temp solution not to have acpi_video0; But after reboot intel_backlight class is init-ed again so it may be called as a "workaround artifact" now :) Anyways the backlight does not work on resume with or without the option :P Today, as a test, I tried to use pm-utils the pm-suspend to suspend and resume; So the pm-suspend helps to resume more or less fine so the backlight is working (sometimes don't) again after pm-suspend; But still if to suspend and resume as usual backlight does not work :(
(In reply to Ghry from comment #37) > see #29 a temp solution not to have acpi_video0; But after reboot > intel_backlight class is init-ed again so it may be called as a "workaround > artifact" now :) Anyways the backlight does not work on resume with or > without the option :P > > Today, as a test, I tried to use pm-utils the pm-suspend to suspend and > resume; So the pm-suspend helps to resume more or less fine so the backlight > is working (sometimes don't) again after pm-suspend; Maybe the pm-utils has some script to save/restore the backlight? Did you try to do the suspend from the GUI? > > But still if to suspend and resume as usual backlight does not work :( By "as usual", do you mean "echo mem > /sys/power/state"?
(In reply to Aaron Lu from comment #38) > By "as usual", do you mean "echo mem > /sys/power/state"? No, I mean using the OS GUI dialog, as you suggested; I am using xfce4 right now;
I just want to add; after resume I have backlight working : - on os boot (grub menu) - playmouth running - splash login dialog (sometimes backlight doesn't work) and after I login the backlight LED is off totally :P So what causes the backlight issue how you think?
(In reply to Ghry from comment #40) > I just want to add; after resume I have backlight working : Why? What has changed to make it work? > > - on os boot (grub menu) > - playmouth running > - splash login dialog (sometimes backlight doesn't work) > > and after I login the backlight LED is off totally :P So what causes the > backlight issue how you think? No idea, is it always the case or it's something new?
(In reply to Aaron Lu from comment #41) > (In reply to Ghry from comment #40) > > I just want to add; after resume I have backlight working : > > Why? What has changed to make it work? > It still doesn't work; I just wanted to add that sometimes (sometimes not) after resume when login dialog is open I have backlight on but after I logged-in the backlight switches off :( So why the backlight disappears after user authentification I don't get it :( ? I am using pm-utils right now so I have to use terminal to suspend like a $sudo pm-suspend but still I'd like to have correct suspend/resume with my os GUI :( Please help me analyze what causes the issue I really want to have it solved or at lease a workaround it; I like kernel 4.0.9 (I am running right now) cause it works much much better on my notebook in compare with the previous ones cause of its bay trail support I guess; p.s. I just want to ask may OS buggy theme cause xorg total freeze?
Can you try another GUI, say GNOME?
(In reply to Aaron Lu from comment #43) > Can you try another GUI, say GNOME? No, I can't right now :( I've been thinking may the backlight off issue be caused by some service or manager or kernel module not-reinit-ed for example? How to check this out?
Boot a distro's livecd isn't a big trouble, please use that to test, e.g. Fedora's workstation livecd, it comes with GNOME and a relatively new kernel.
(In reply to Aaron Lu from comment #45) > Boot a distro's livecd isn't a big trouble, please use that to test, e.g. > Fedora's workstation livecd, it comes with GNOME and a relatively new kernel. What xfce gui uses command to suspend? How to check it out?
(In reply to Ghry from comment #46) > (In reply to Aaron Lu from comment #45) > > Boot a distro's livecd isn't a big trouble, please use that to test, e.g. > > Fedora's workstation livecd, it comes with GNOME and a relatively new > kernel. > > What xfce gui uses command to suspend? How to check it out? Google?
But still what if it is some service disabled on suspend? Is there a way to check that? I found this services which mention light are running : ----------- $systemctl ... lightdm-plymouth.service loaded active running Light Display Manager ... systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness ... systemd-backlight@backlight:intel_backlight.service loaded active exited Loaded active active system-systemd\x2dbacactive active system-systemd\x2dbacklight. ... ------------- Is there a way to find out which of them or maybe there are some more are buggy? Please guide me;
This is an user space issue so please ask in your distro's support forum or mailing list.
No, I mean how to check it is not lightDM etc services issue(s)?
Right, the lightDM etc services are user space programs, pleask seek help on your distro's user support forum or mailing list.
Close due to user space involved.