You are not logged in.

#1 2013-10-02 20:49:17

stibi
Member
Registered: 2006-10-10
Posts: 34

Suspend resume failed - crashed xorg

Hello,
I've just installed Archlinux on Macbook Pro (9,2).
Everything is almost find but I have troubles with suspend/resume.
It should work out-of-box but it doesn't.
Resume from suspend doesn't work - there is always KDM login screen shown, because Xorg crash during resume.

From xorg log:

    [   591.393] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument

From journalctl:

    Oct 02 10:36:16 mek systemd[1491]: Failed to open private bus connection: Failed to connect to socket /run/user/1000/dbus/user_bus_socket: No such file or directory

There might be some connection with this problem:  https://bbs.archlinux.org/viewtopic.php?id=170008 ?

Thanks for help!

Offline

#2 2013-10-03 01:42:14

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,670

Re: Suspend resume failed - crashed xorg

stibi wrote:

There might be some connection with this problem:  https://bbs.archlinux.org/viewtopic.php?id=170008 ?

Why do you think this is related? Have you tried the suggested work around?

What have you tried? Have you searched for that error?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#3 2013-10-03 12:01:41

stibi
Member
Registered: 2006-10-10
Posts: 34

Re: Suspend resume failed - crashed xorg

Hi,
there is one similarity with the linked problem and my problem. The error from journactl:

    Failed to open private bus connection: Failed to connect to socket /run/user/1000/dbus/user_bus_socket: No such file or direc

But it's true that root cause for the linked problem is something different. I just thought that there could be some hint or something...

About the workaround, you mean this script:
https://bbs.archlinux.org/viewtopic.php … 2#p1331782
Doesn't work for me unfortunately sad

Right now I'm searching and googling how to fix the error from journalctl.

Offline

#4 2013-10-03 19:02:23

stibi
Member
Registered: 2006-10-10
Posts: 34

Re: Suspend resume failed - crashed xorg

Fixed now.
It was just missing xf86-video-modesetting package.

Offline

#5 2013-10-03 23:37:51

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,670

Re: Suspend resume failed - crashed xorg

What video driver are you using? Unless your card isn't properly supported, that package shouldn't be necessary and won't be the best option as it is a "generic" driver and not specific to your card.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#6 2013-10-04 10:04:35

stibi
Member
Registered: 2006-10-10
Posts: 34

Re: Suspend resume failed - crashed xorg

Hi,
so, the notebook is MacBook Pro 9,1. There are two graphics cards - Nvidia and intel.
I can't use nvidia - the proprietary nvidia driver doesn't work good - resume from suspend doesn't work, I can't switch to TTY - not good. Maybe some more recent driver is better, I'll try maybe later.
Now I want to give a chance also to nouveau, let's see.

Now it works with xf86-video-modesetting without problems. With intel, there are problems, xorgs doesn't start, with error likes "no screens found" etc. I need to find out more what is wrong. I guess something related to KMS? Not sure. It is not just like it works "out of box" sad

Offline

#7 2013-10-05 01:35:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,670

Re: Suspend resume failed - crashed xorg

If I were you, I would see if I could disable the nvidia card in BIOS for now and concentrate on just getting it to work with intel. To do that, make sure you do not have any sort of xorg.conf - just let X figure itself out automatically. Make sure you don't have any traces of nvidia/nouveau drivers around. Then try again, maybe including the module for the driver in the MODULES array of mkinitcpio to enable early KMS. If you still have trouble, post logs/journal output. xorg's log, probably - not just the errors. Use code tags or a pastebin so it is readable.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB