Page 1 of 1

No video after hybernation

PostPosted: Jun 21st, '14, 18:19
by Mijzelf
Yesterday I updated my Dell Inspiron Mini 10 (Atom, GMA500, ... ) from Mageia 3 to Mageia 4. And now I have a problem. The laptop runs fine, but after restart from hybernation (suspend to disk) the screen is off.
I can see the grub menu, then the kernel log, and a part of the userland log. Directly after loading the hybernation file the screen switches off, and so far I found no magic key combination to get it alive again.
Aside from this the box boots normally. I can login over ssh, and see all processes running.
After poking around in the /sys directory and echoing '1' and 'on' in several files (like /sys/class/backlight/acpi_video0/bl_power) the screen suddenly waked up after I touched the right ctrl. Unfortunately I couldn't reproduce that.

Another problem, maybe related, the backlight doesn't switch off after some idle time anymore, which it used to do.

Re: No video after hybernation

PostPosted: Jun 21st, '14, 19:43
by doktor5000
GMA500, like in Poulsbo?

Please show the output of
Code: Select all
grep -i driver /var/log/Xorg.0.log
lspcidrake -v | grep VGA

Re: No video after hybernation

PostPosted: Jun 21st, '14, 21:37
by Mijzelf
Yes, indeed.

Code: Select all
grep -i driver /var/log/Xorg.0.log
[    27.520]    X.Org Video Driver: 14.1
[    27.520]    X.Org XInput driver : 19.1
[    27.584] (==) Matched psb as autoconfigured driver 0
[    27.584] (==) Matched psb_drv as autoconfigured driver 1
[    27.584] (==) Matched psb as autoconfigured driver 2
[    27.584] (==) Matched psb_drv as autoconfigured driver 3
[    27.584] (==) Matched vesa as autoconfigured driver 4
[    27.584] (==) Matched modesetting as autoconfigured driver 5
[    27.584] (==) Matched fbdev as autoconfigured driver 6
[    27.584] (==) Assigned the driver to the xf86ConfigLayout
[    27.607] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    27.608]    Module class: X.Org Video Driver
[    27.608]    ABI class: X.Org Video Driver, version 14.1
[    27.615] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    27.616]    Module class: X.Org Video Driver
[    27.616]    ABI class: X.Org Video Driver, version 14.1
[    27.616] (II) VESA: driver for VESA chipsets: vesa
[    27.616] (II) FBDEV: driver for framebuffer: fbdev
[    27.617] vesa: Ignoring device with a bound kernel driver
[    27.619]    ABI class: X.Org Video Driver, version 14.1
[    30.201]    Module class: X.Org XInput Driver
[    30.201]    ABI class: X.Org XInput driver, version 19.1
[    30.201] (II) Using input driver 'evdev' for 'Video Bus'
[    30.283] (II) Using input driver 'evdev' for 'Power Button'
[    30.285] (II) No input driver specified, ignoring this device.
[    30.287] (II) No input driver specified, ignoring this device.
[    30.288] (II) No input driver specified, ignoring this device.
[    30.289] (II) No input driver specified, ignoring this device.
[    30.290] (II) Using input driver 'evdev' for 'Integrated Webcam'
[    30.293] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    30.298]    Module class: X.Org XInput Driver
[    30.298]    ABI class: X.Org XInput driver, version 19.1
[    30.298] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'


lspcidrake -v | grep VGA
Card:Intel Poulsbo US15W (GMA500): Intel Corporation|System Controller Hub (SCH Poulsbo) Graphics Controller [DISPLAY_VGA] (vendor:8086 device:8108 subv:1028 subd:02c6) (rev: 07)

Re: No video after hybernation

PostPosted: Jun 22nd, '14, 15:50
by Mijzelf
Meanwhile I found that the problem doesn't always show up. My laptop once woke up from hibernation normally.

I have a dmesg trace of a 'problem wakeup':
Code: Select all
<7>[    0.000000] ACPI: \_SB_.PCI0: Bus check notify on _handle_hotplug_event_root
<6>[    0.000000] gma500 0000:00:02.0: Backlight lvds set brightness 7a127a12
<7>[    0.000000] PM: Hibernation mode set to 'platform'
<6>[    0.000000] PM: Syncing filesystems ... done.
<4>[    0.000000] Freezing user space processes ... (elapsed 0.005 seconds) done.
<7>[    0.000000] PM: Marking nosave pages: [mem 0x00097000-0x000fffff]
<7>[    0.000000] PM: Basic memory bitmaps created
<6>[    0.000000] PM: Preallocating image memory... done (allocated 139376 pages)
<6>[    0.000000] PM: Allocated 557504 kbytes in 2.59 seconds (215.25 MB/s)
<4>[    0.000000] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
<4>[    0.000000] Suspending console(s) (use no_console_suspend to debug)
<6>[    0.000000] cfg80211: Calling CRDA to update world regulatory domain
<6>[    0.000000] PM: freeze of devices complete after 203.484 msecs
<6>[    0.000000] PM: late freeze of devices complete after 0.569 msecs
<6>[    0.000000] PM: noirq freeze of devices complete after 0.913 msecs
<6>[    0.000000] ACPI: Preparing to enter system sleep state S4
<6>[    0.000000] PM: Saving platform NVS memory
<4>[    0.000000] Disabling non-boot CPUs ...
<6>[    0.000000] smpboot: CPU 1 is now offline
<6>[    0.000000] PM: Creating hibernation image:
<6>[    0.000000] PM: Need to copy 98764 pages
<7>[    0.000000] PM: Normal pages needed: 80985 + 1024, available pages: 143084

# Reboot here?

<6>[    0.000000] PM: Restoring platform NVS memory
<6>[    0.000000] microcode: CPU0 sig=0x106c2, pf=0x1, revision=0x217
<6>[    0.000000] Enabling non-boot CPUs ...
<6>[    0.000000] smpboot: Booting Node 0 Processor 1 APIC 0x1
<6>[    0.000000] Initializing CPU#1
<6>[    0.000000] microcode: CPU1 sig=0x106c2, pf=0x1, revision=0x211
<6>[    0.000000] microcode: CPU1 updated to revision 0x217, date = 2009-04-10
<6>[    0.000000] CPU1 is up
<6>[    0.000000] ACPI: Waking up from system sleep state S4
<6>[    0.000000] gma500 0000:00:02.0: Backlight lvds set brightness 7a120000
<6>[    0.000000] PM: noirq restore of devices complete after 32.673 msecs
<6>[    0.000000] PM: early restore of devices complete after 0.223 msecs
<7>[    0.000000] uhci_hcd 0000:00:1d.0: setting latency timer to 64
<7>[    0.000000] uhci_hcd 0000:00:1d.1: setting latency timer to 64
<4>[    0.000000] usb usb2: root hub lost power or was reset
<4>[    0.000000] usb usb3: root hub lost power or was reset
<7>[    0.000000] uhci_hcd 0000:00:1d.2: setting latency timer to 64
<7>[    0.000000] ehci-pci 0000:00:1d.7: setting latency timer to 64
<4>[    0.000000] usb usb4: root hub lost power or was reset
<7>[    0.000000] pata_sch 0000:00:1f.1: setting latency timer to 64
<4>[    0.000000] usb usb1: root hub lost power or was reset
<7>[    0.000000] ehci-pci 0000:00:1d.7: cache line size of 64 is not supported
<6>[    0.000000] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
<6>[    0.000000] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
<6>[    0.000000] ata1.00: configured for UDMA/100
<5>[    0.000000] sd 0:0:0:0: [sda] Starting disk
<6>[    0.000000] usb 3-1: reset full-speed USB device number 2 using uhci_hcd
<4>[    0.000000] btusb 3-1:1.0: no reset_resume for driver btusb?
<4>[    0.000000] btusb 3-1:1.1: no reset_resume for driver btusb?
<6>[    0.000000] usb 1-6: reset high-speed USB device number 3 using ehci-pci
<6>[    0.000000] usb 1-7: reset high-speed USB device number 4 using ehci-pci
<6>[    0.000000] usb 1-8: reset high-speed USB device number 5 using ehci-pci
<6>[    0.000000] PM: restore of devices complete after 1249.902 msecs
<7>[    0.000000] PM: Image restored successfully.
<7>[    0.000000] ACPI: \_SB_.PCI0: Bus check notify on _handle_hotplug_event_root
<7>[    0.000000] PM: Basic memory bitmaps freed
<4>[    0.000000] Restarting tasks ... done.
<6>[    0.000000] video LNXVIDEO:00: Restoring backlight state
<6>[    0.000000] cfg80211: World regulatory domain updated:
<6>[    0.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[    0.000000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
<6>[    0.000000] cfg80211: Calling CRDA for country: NL
<6>[    0.000000] cfg80211: Regulatory domain changed to country: NL
<6>[    0.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[    0.000000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5170000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm)
<6>[    0.000000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
<6>[    0.000000] cfg80211: Calling CRDA for country: NL
<6>[    0.000000] cfg80211: Regulatory domain changed to country: NL
<6>[    0.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[    0.000000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5170000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
<6>[    0.000000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm)
<6>[    0.000000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
<6>[    0.000000] gma500 0000:00:02.0: Backlight lvds set brightness 7a120000
<6>[    0.000000] gma500 0000:00:02.0: Backlight lvds set brightness 7a120000
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)
<3>[    0.000000] ERROR @wl_dev_intvar_get : error (-1)
<3>[    0.000000] ERROR @wl_cfg80211_get_tx_power : error (-1)

Re: No video after hybernation

PostPosted: Jun 22nd, '14, 16:37
by doktor5000
You should take a look at https://wiki.mageia.org/en/Mageia_3_Err ... regression and maybe play around with acpi/apic kernel options.