When the lid is closed the screen is turned off by xfce4-power-manager. The problem is that when the lid is opened the backlight turns on but the display remains blank and you have to press a key or move the cursor before the xfce desktop is displayed again. A while ago I came up with a acpi script to switch off and on the monitor when the lid was closed or opened and I came across the same issue with the screen being blank after opening the lid. To solve the problem I issued the commands. xset dpms force on followed by: xset s reset Without the "xset s reset" line the screen would remain blank. If someone can take a look at this issue it would be appreciated.
The distribution is Arch Linux running xorg-server-1.6.3.901
(In reply to comment #1) > The distribution is Arch Linux running xorg-server-1.6.3.901 I'm also running Arch on my laptop with this xorg version, i have no problem regarding this. Did you try to do the following? xset dpms force off && sleep 4 && xset dpms force on Is your screen remains blank after that?
(In reply to comment #2) > (In reply to comment #1) > > The distribution is Arch Linux running xorg-server-1.6.3.901 > > I'm also running Arch on my laptop with this xorg version, i have no problem > regarding this. > > Did you try to do the following? > > xset dpms force off && sleep 4 && xset dpms force on > > Is your screen remains blank after that? Yes, the screen still remains blank.
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > The distribution is Arch Linux running xorg-server-1.6.3.901 > > > > I'm also running Arch on my laptop with this xorg version, i have no problem > > regarding this. > > > > Did you try to do the following? > > > > xset dpms force off && sleep 4 && xset dpms force on > > > > Is your screen remains blank after that? > > Yes, the screen still remains blank. Another question, do you have the same VGA+Xorg version for Gentoo and Arch setups?
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > (In reply to comment #1) > > > > The distribution is Arch Linux running xorg-server-1.6.3.901 > > > > > > I'm also running Arch on my laptop with this xorg version, i have no problem > > > regarding this. > > > > > > Did you try to do the following? > > > > > > xset dpms force off && sleep 4 && xset dpms force on > > > > > > Is your screen remains blank after that? > > > > Yes, the screen still remains blank. > > Another question, do you have the same VGA+Xorg version for Gentoo and Arch > setups? Well, gentoo has xorg-server-1.6.3.901-r2 and arch linux has xorg-server-1.6.3.901-1. They are both using the nvidia driver. Is that what you mean by VGA version?
(In reply to comment #5) > Well, gentoo has xorg-server-1.6.3.901-r2 and arch linux has > xorg-server-1.6.3.901-1. > > They are both using the nvidia driver. Is that what you mean by VGA version? So this is something already, yes i mean that, BTW you are speaking about the closed source nvidia driver right? I have arch running on a desktop system with nvidia driver at home, so i can test it this evening when i go back home, try to use "nv" in the device section instead of "nvidia", you know this will make use of the opensource driver so will see if this makes any difference.
(In reply to comment #6) > (In reply to comment #5) > > Well, gentoo has xorg-server-1.6.3.901-r2 and arch linux has > > xorg-server-1.6.3.901-1. > > > > They are both using the nvidia driver. Is that what you mean by VGA version? > > So this is something already, yes i mean that, BTW you are speaking about the > closed source nvidia driver right? > > I have arch running on a desktop system with nvidia driver at home, so i can > test it this evening when i go back home, try to use "nv" in the device section > instead of "nvidia", you know this will make use of the opensource driver so > will see if this makes any difference. I couldn't find where to install the nv driver, but I installed the nouveau driver. This driver seems to have fixed the problem. At least running "xset dpms force on" actually turns on the screen properly. I'm not entirely sure that I'll stick with the open source nvidia driver though. It seems to have a few quirks, and I also want vdpau support provided by the closed source drive. If the dpms issue is caused by the nvidia drivers (and I'm just speculating because I have absolutely no idea how the nvidia drivers and xorg interact) then wouldn't it be reasonable to use the function to disable the screensaver given it's a workaround which solves the issue?
Created attachment 2617 Reset Screen Saver on lid event Well sound like a reasonable solution, i will add this work around for 0.8.4.1 since it is completely harmless, and well probably it is better to reset the screen saver counter when lid is open to start a new screen saver time period, but in the other hand i would try to contact the nvidia guys and Xorg to figure out a proper fix for this. for the moment try the above patch and let me know if this fixes the problem for you with nvidia driver. For the open source driver, yes isn't a good idea to use it, it has a lot of other problems.
(In reply to comment #8) > Created an attachment (id=2617) [details] > Reset Screen Saver on lid event > > Well sound like a reasonable solution, i will add this work around for 0.8.4.1 > since it is completely harmless, and well probably it is better to reset the > screen saver counter when lid is open to start a new screen saver time period, > but in the other hand i would try to contact the nvidia guys and Xorg to figure > out a proper fix for this. > > for the moment try the above patch and let me know if this fixes the problem > for you with nvidia driver. > > For the open source driver, yes isn't a good idea to use it, it has a lot of > other problems. Thanks, that has fixed the issue.
> Well sound like a reasonable solution, i will add this work around for 0.8.4.1 Hey Ali, I've got 0.8.4.1-1 installed, but my screen is still blank when I open the lid. Has the patch been applied to this version? Cheers, Adam
(In reply to comment #10) > > Well sound like a reasonable solution, i will add this work around for 0.8.4.1 > > Hey Ali, > I've got 0.8.4.1-1 installed, but my screen is still blank when I open the lid. > Has the patch been applied to this version? > > Cheers, > > Adam I'm sorry, i don't know why i lost this patch, anyway a new version should go out this week-end, i applied the patch so now it will go for sure.
Thank you very much Ali. Works perfectly on my Dell laptop.