LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Problem resuming from a screen switch off (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/problem-resuming-from-a-screen-switch-off-903754/)

will824 09-18-2011 09:37 PM

Problem resuming from a screen switch off
 
Greetings everyone,

Some background on this issue

- I am running Linux (Gentoo distro) on a Dell System XPS L502X.
- This system has Nvidia optimus techonology and a Corei7 processor.
- I am using the Intel card in Xorg all the time and only use the Nvidia card when I need to run some games
- Intel and Nvidia drivers are the latest
- ACPI is enabled in the kernel

Now,the system is configured for energy saving in Xorg, meaning that after some minutes que screen will go black (no leds).

Then sometimes when moving the mouse or pressing a key to make the computer screen come to life again, the computer will display a white screen for 1 second that will flicker and afterwards the screen leds will light but it will remain black. All background activity is untouched and the computer does not freeze.

I can reproduce the problem by issuing the command:
$ xset -display :0 dpms force off

Then I if my screen fails then I will keep pressing up in the keyboard and enter to issue the keyboard again as I know the focus will be in the terminal. Doing this will randomly make the screen come back to life, sometimes at once, other times after 4 or 5 tries.

Does someone have the same issue as me?.
Can somebody help me solving this problem? :)

This is my system configuration:

Code:

will824@gentoo ~ $ sudo lspci -v

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f0000000-f10fffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
        Capabilities: [88] Subsystem: Intel Corporation Device 2010
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0, IRQ 53
        Memory at f1400000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f1c05000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
        Subsystem: Dell Device 04b6
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at f1c0a000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0, IRQ 52
        Memory at f1c00000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 04b6
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: f1b00000-f1bfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 04b6
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        Memory behind bridge: f1a00000-f1afffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 04b6
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Memory behind bridge: f1900000-f19fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 04b6
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Prefetchable memory behind bridge: 00000000f1800000-00000000f18fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 04b6
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
        Subsystem: Dell Device 04b6
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at f1c09000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
        Subsystem: Dell Device 04b6
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
        Subsystem: Dell Device 04b6
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 41
        I/O ports at 4088 [size=8]
        I/O ports at 4094 [size=4]
        I/O ports at 4080 [size=8]
        I/O ports at 4090 [size=4]
        I/O ports at 4060 [size=32]
        Memory at f1c08000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
        Subsystem: Dell Device 04b6
        Flags: medium devsel, IRQ 10
        Memory at f1c04000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev ff) (prog-if ff)
        !!! Unknown header type 7f

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
        Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at f1b00000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number ac-72-89-ff-ff-25-d1-7c
        Kernel driver in use: iwlagn
        Kernel modules: iwlagn

04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at f1a00000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
        Capabilities: [150] #18
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci-hcd

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
        Subsystem: Dell Device 04b6
        Flags: bus master, fast devsel, latency 0, IRQ 50
        I/O ports at 2000 [size=256]
        Memory at f1804000 (64-bit, prefetchable) [size=4K]
        Memory at f1800000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: r8169
        Kernel modules: r8169

Code:

will824@gentoo ~ $ sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0408:2fb1 Quanta Computer, Inc.
Bus 002 Device 003: ID 8086:0189 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 192f:0416 Avago Technologies, Pte.


business_kid 09-22-2011 01:15 PM

Try your Hal settings. It seems hal is used for some of that stuff.

grubshka 10-18-2011 01:19 AM

Hi,

I've the same problem on a Asus N55SF laptop (Intel HD and Nvidia GT555M with Optimus).
When the srceen is back, it's white, and leds become gradually black (like a cloud... the first time I thought it was the screensaver!)

I'm not really sure Hal is involved because I'm using Archlinux and it's not installed (I was thinking it was deprecated?).

I don't know where to report this bug!
I put a post on Archlinux forum: https://bbs.archlinux.org/viewtopic....05062#p1005062

Regards,

--
Pierre

grubshka 11-10-2011 03:07 PM

This works well for me now. My last distribution update contained new kernel, graphic drivers and a lot of things, so I on't know what fixed it...

Elmware 11-21-2011 04:45 PM

Linux doesn't want to wake up on my computer either. It just blacks out and stays that way. Especially when I close the lid.

business_kid 11-22-2011 02:59 AM

I only noticed the word optimus now. Some interesting stuff here
http://www.linuxquestions.org/questi...m-card-914705/

Apparently optimus needs (non existent) software support.


All times are GMT -5. The time now is 05:44 PM.