You are not logged in.

#1 2014-08-04 14:45:28

q396748207
Member
Registered: 2014-08-04
Posts: 10

Got systemd-logind: failed to get session: when optirun glxgrears

I installed nvidia and bumblebee, primus.
When I tried to test optirun, I ran

optirun glxgrears -info

.
Then I got this,

[ 2376.692764] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1540 does not belong to any known session
[ 2376.692829] [ERROR]Aborting because fallback start is disabled.

Here is my /var/log/Xorg.8.log ,

[ 2376.692764] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 1540 does not belong to any known session

[ 2376.692829] [ERROR]Aborting because fallback start is disabled.
[hk@hkpc ~]$ cat /var/log/Xorg.8.log                    
[  2376.682] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[  2376.682] X Protocol Version 11, Revision 0
[  2376.682] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[  2376.682] Current Operating System: Linux hkpc 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:51:42 CEST 2014 x86_64
[  2376.682] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=669c53af-9ee3-4bbf-b62f-14c76e81da89 rw quiet
[  2376.682] Build Date: 31 July 2014  11:53:19AM
[  2376.682]  
[  2376.682] Current version of pixman: 0.32.6
[  2376.682]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2376.682] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2376.683] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Aug  4 22:39:09 2014
[  2376.683] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[  2376.683] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  2376.683] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2376.683] (==) ServerLayout "Layout0"
[  2376.683] (==) No screen section available. Using defaults.
[  2376.683] (**) |-->Screen "Default Screen Section" (0)
[  2376.683] (**) |   |-->Monitor "<default monitor>"
[  2376.683] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  2376.683] (**) |   |-->Device "DiscreteNvidia"
[  2376.683] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  2376.683] (**) Option "AutoAddDevices" "false"
[  2376.683] (**) Option "AutoAddGPU" "false"
[  2376.683] (**) Not automatically adding devices
[  2376.683] (==) Automatically enabling devices
[  2376.683] (**) Not automatically adding GPU devices
[  2376.683] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  2376.683]    Entry deleted from font path.
[  2376.683] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2376.683]    Entry deleted from font path.
[  2376.683] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2376.683]    Entry deleted from font path.
[  2376.683]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2376.683] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2376.683]    Entry deleted from font path.
[  2376.683]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2376.683] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/
[  2376.683] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2376.683] (==) |-->Input Device "<default pointer>"
[  2376.684] (==) |-->Input Device "<default keyboard>"
[  2376.684] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[  2376.684] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[  2376.684] (II) Loader magic: 0x818d80
[  2376.684] (II) Module ABI versions:
[  2376.684]    X.Org ANSI C Emulation: 0.4
[  2376.684]    X.Org Video Driver: 18.0
[  2376.684]    X.Org XInput driver : 21.0
[  2376.684]    X.Org Server Extension : 8.0
[  2376.685] (EE) systemd-logind: failed to get session: PID 2304 does not belong to any known session
[  2376.686] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2376.686] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2376.686] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  2376.688] (--) PCI:*(0:1:0:0) 10de:0fd4:1558:3700 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  2376.688] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2376.688] (II) LoadModule: "glx"
[  2376.688] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2376.690] (II) Module glx: vendor="X.Org Foundation"
[  2376.690]    compiled for 1.16.0, module version = 1.0.0
[  2376.690]    ABI class: X.Org Server Extension, version 8.0
[  2376.690] (==) AIGLX enabled
[  2376.690] (II) LoadModule: "nouveau"
[  2376.690] (WW) Warning, couldn't open module nouveau
[  2376.690] (II) UnloadModule: "nouveau"
[  2376.690] (II) Unloading nouveau
[  2376.690] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  2376.690] (II) LoadModule: "mouse"
[  2376.691] (WW) Warning, couldn't open module mouse
[  2376.691] (II) UnloadModule: "mouse"
[  2376.691] (II) Unloading mouse
[  2376.691] (EE) Failed to load module "mouse" (module does not exist, 0)
[  2376.691] (II) LoadModule: "kbd"
[  2376.691] (WW) Warning, couldn't open module kbd
[  2376.691] (II) UnloadModule: "kbd"
[  2376.691] (II) Unloading kbd
[  2376.691] (EE) Failed to load module "kbd" (module does not exist, 0)
[  2376.691] (EE) No drivers available.
[  2376.691] (EE) 
Fatal server error:
[  2376.691] (EE) no screens found(EE) 
[  2376.691] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  2376.691] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.

What should I do?

Offline

#2 2014-08-06 10:39:52

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Got systemd-logind: failed to get session: when optirun glxgrears

Had this issue too. Searching the forum brought me to this post which worked for me.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#3 2014-08-13 11:02:47

barchiesi
Member
Registered: 2011-11-04
Posts: 15

Re: Got systemd-logind: failed to get session: when optirun glxgrears

Did you manage to solve this? Commenting out those two lines in the xorg conf file doesn't fix it.

Offline

#4 2014-08-13 14:24:03

Oedner
Member
Registered: 2013-11-25
Posts: 7

Re: Got systemd-logind: failed to get session: when optirun glxgrears

after updating to linux 3.16 i got this error too. using the command without the -info works however.

Offline

#5 2014-08-13 18:06:19

barchiesi
Member
Registered: 2011-11-04
Posts: 15

Re: Got systemd-logind: failed to get session: when optirun glxgrears

Oedner wrote:

after updating to linux 3.16 i got this error too. using the command without the -info works however.

Are you sure that it only doesn't work with the '-info'? I see no difference.

Last edited by barchiesi (2014-08-13 18:07:32)

Offline

#6 2014-08-13 22:15:11

Oedner
Member
Registered: 2013-11-25
Posts: 7

Re: Got systemd-logind: failed to get session: when optirun glxgrears

barchiesi wrote:
Oedner wrote:

after updating to linux 3.16 i got this error too. using the command without the -info works however.

Are you sure that it only doesn't work with the '-info'? I see no difference.

i just tried it a couple of times and it looks like its completely random o.O

you are right, using it (with or without -info) only works like every third attempt while the others throw the error mentioned by the op. i got that idea because it worked when i tried it. starting nvidia-settings with optirun is the same, error, working, error, working. can't say whats the problem here, i just switched to arch again recently.

Offline

Board footer

Powered by FluxBB