You are not logged in.

#1 2010-07-21 14:01:49

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

[SOLVED]Suspend falled - Black screen after resume

Hi! A month ago the suspend to ram has stopped working - only black screen after resume. I'm using command sudo pm-suspend. My pm-suspend.log. Kernel is v33.

Last edited by Dr.X (2010-08-01 13:07:36)

Offline

#2 2010-07-21 14:11:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

We're using .34 - why didn't you upgrade?
Do you have an Intel graphics card? What driver are you using?
Any chance of getting more details on what happened just before it stopped working? Did you upgrade something, changed some configs?

Last edited by karol (2010-07-21 14:12:10)

Offline

#3 2010-07-21 14:28:10

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

Do you remember when you help me with proprietary driver installing? I have to install kernel26-33, nvidia-173xx-utils-glselect 173.14.25-1
and nvidia-173xx-all 173.14.25-1. As I remeber, on nouveau also suspend doesn't work, but before nouveau suspend worked good as clock.

Offline

#4 2010-07-21 14:50:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Ah yes, now I remember. Unfortunately I don't know why pm-suspend is failing.
I've always wondered, whether you need intel_agp if you're using nvidia.

Offline

#5 2010-07-21 15:13:04

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

What I should do now?

Offline

#6 2010-07-21 15:16:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Dr.X wrote:

What I should do now?

What happens if you suspend, resume, suspend again and resume again - is it working?

Edit: are you running apci?

Last edited by karol (2010-07-21 15:20:30)

Offline

#7 2010-07-22 17:55:04

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

karol wrote:

What happens if you suspend, resume, suspend again and resume again - is it working?

Edit: are you running apci?

I can't resume again, because I have only black screen. Before suspending I have playing mpd-client, after resume I hear music. I made launcher on keyboard to playing other sound, press button but I don't hear this sound.
Acpi? No, I don't use it.

Last edited by Dr.X (2010-07-22 17:57:47)

Offline

#8 2010-07-28 18:37:08

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

What I should do?

Offline

#9 2010-07-28 18:40:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Dr.X wrote:

What I should do?

The 173xx drivers are back in the repos, so you can try to upgrade your system to current kernel etc.

Offline

#10 2010-07-28 19:09:17

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

173xx drivers are back

OK, I see it in arch packages, run pacman -Syu, run pac -S nvidia-173xx nvidia-173xx-utils but pacman can't find package! Also I run pac -Ss nvidia-173 and see 0 results. hmm

Offline

#11 2010-07-28 19:12:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Maybe the mirrors haven't synced yet. You can manually download the drivers:
http://www.archlinux.org/packages/extra … /download/

Last edited by karol (2010-07-28 19:13:37)

Offline

#12 2010-07-28 22:35:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

http://wiki.archlinux.org/index.php/Int … laptop_lid
This is for Intel cards but you may try it if you like.

Offline

#13 2010-07-29 11:17:01

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

I -Syued, updated successfully, but suspending still not working, only black screen. Maybe s2ram helps?
P.S. I have desktop, not laptop, I using suspend because rebooting and shutdown are too long for me.

Offline

#14 2010-07-29 11:21:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

I think you need acpi running + take a look at some wiki pages dealing with suspending http://wiki.archlinux.org/index.php/IBM_ThinkPad_X31

> Maybe s2ram helps?
Seems reasonable.

Offline

#15 2010-07-29 13:46:00

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

I tried this trick: killed X, switch to tty1, run sudo pm-suspend, resume and saw black screen again. But I can switch numlock bulb, so I by touch entered to tty2 and startx. Then I can see my desktop! What that means?

Offline

#16 2010-07-29 13:49:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Dr.X wrote:

I tried this trick: killed X, switch to tty1, run sudo pm-suspend, resume and saw black screen again. But I can switch numlock bulb, so I by touch entered to tty2 and startx. Then I can see my desktop! What that means?

It's a bit like the idea I had a while back https://bbs.archlinux.org/viewtopic.php … 92#p796492

I have no idea why it doesn't work the way it should, and killing X before suspending is kinda problematic.

Offline

#17 2010-07-31 21:50:40

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

For experiment I tried to replace nvidia to nouveau, but almost nothing changes, only from tty1 after resume can't by touch run startx.

Offline

#18 2010-08-01 13:07:09

Dr.X
Member
From: Daugavpils, Latvia
Registered: 2009-08-30
Posts: 58

Re: [SOLVED]Suspend falled - Black screen after resume

Solved this issue with this: in /etc/X11/xorg.conf:

Section "Device"
   ...
   Option      "NvAGP" "1"
   ...
EndSection

'
also reinstalling video drivers and mkinicpio -p kernel26
Thanks for help, karol!!

Offline

#19 2010-08-01 13:33:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Suspend falled - Black screen after resume

Dr.X wrote:

Solved this issue with this: in /etc/X11/xorg.conf:

Section "Device"
   ...
   Option      "NvAGP" "1"
   ...
EndSection

'
also reinstalling video drivers and mkinicpio -p kernel26
Thanks for help, karol!!

You solved it yourself :-)
I'm glad you've got it working.

Offline

Board footer

Powered by FluxBB