Bug#805471: /usr/bin/optirun: optirun fails with "systemd-logind: failed to get session"
Giacomo Boffi
giacomo.boffi at gmail.com
Tue May 3 13:17:06 UTC 2016
Oh well... they stole my previous notebook, the one NVIDIA equipped —
I would like to ask the burglar about xserver-xorg-legacy, and maybe
another couple of questions, but I had no chances for that.
I can tell you that after a while TORCS^H^H^H^H^Hbumblebee returned to
work perfectly for me. I think it was some regression due to the
introduction of systemd that went away as the environment matured.
Thanks a lot for your interest, ciao
gb
On Sun, May 1, 2016 at 5:59 PM, Luca Boccassi <luca.boccassi at gmail.com> wrote:
> On 10 January 2016 at 19:50, Dariusz Dwornikowski
> <dariusz.dwornikowski at cs.put.poznan.pl> wrote:
>> On 08.01.16 00:40:40, Luca Boccassi wrote:
>>> On Thu, 2016-01-07 at 20:26 +0100, Dariusz Dwornikowski wrote:
>>> > On 19.11.15 11:58:58, Luca Boccassi wrote:
>>> > > On Wed, 2015-11-18 at 15:21 +0100, Giacomo Boffi wrote:
>>> > > > Package: bumblebee
>>> > > > Version: 3.2.1-10
>>> > > > Severity: important
>>> > > > File: /usr/bin/optirun
>>> > > >
>>> > > > Dear Maintainer,
>>> > > >
>>> > > > I'm unable to use optirun on my Debian system, eg:
>>> > > >
>>> > > > $ optirun -vvv xterm
>>> > > > [26394.265933] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
>>> > > > [26394.266265] [DEBUG]optirun version 3.2.1 starting...
>>> > > >
>>> > > > [26394.266276] [DEBUG]Active configuration:
>>> > > > [26394.266296] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
>>> > > > [26394.266301] [DEBUG] X display: :8
>>> > > > [26394.266306] [DEBUG] LD_LIBRARY_PATH:
>>> > > > /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
>>> > > > [26394.266314] [DEBUG] Socket path: /var/run/bumblebee.socket
>>> > > > [26394.266334] [DEBUG] Accel/display bridge: auto
>>> > > > [26394.266339] [DEBUG] VGL Compression: proxy
>>> > > > [26394.266345] [DEBUG] VGLrun extra options:
>>> > > > [26394.266350] [DEBUG] Primus LD Path:
>>> > > > /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
>>> > > > [26394.266381] [DEBUG]Using auto-detected bridge primus
>>> > > > [26394.300436] [INFO]Response: No - error: [XORG] (EE) systemd-logind:
>>> > > > failed to get session: PID 24963 does not belong to any known session
>>> > > >
>>> > > > [26394.300460] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
>>> > > > systemd-logind: failed to get session: PID 24963 does not belong to
>>> > > > any known session
>>> > > >
>>> > > > [26394.300467] [DEBUG]Socket closed.
>>> > > > [26394.300483] [ERROR]Aborting because fallback start is disabled.
>>> > > > [26394.300489] [DEBUG]Killing all remaining processes.
>>> > > > $
>>> > > > Please tell me if I can submit further info to help solving this problem.
>>> > >
>>> > > Hi,
>>> > >
>>> > > What's the output of:
>>> > >
>>> > > sudo systemctl status bumblebeed
>>> > >
>>> > > Also, could you please attach your:
>>> > >
>>> > > /etc/bumblebee/bumblebee.conf
>>> > >
>>> >
>>> >
>>> > I can confirm the same bug.
>>> >
>>> > tdi at blackstar:~ $ _ systemctl status bumblebeed
>>> > ● bumblebeed.service - Bumblebee C Daemon
>>> > Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
>>> > Active: active (running) since czw 2016-01-07 20:11:08 CET; 13min ago
>>> > Main PID: 4540 (bumblebeed)
>>> > CGroup: /system.slice/bumblebeed.service
>>> > └─4540 /usr/sbin/bumblebeed
>>> >
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055043] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055087] [ERROR][XORG] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055103] [ERROR][XORG] (EE) No devices detected.
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055115] [ERROR][XORG] (EE)
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055126] [ERROR][XORG] (EE) no screens found(EE)
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055138] [ERROR][XORG] (EE)
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055151] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055172] [ERROR][XORG] (EE)
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.055182] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
>>> > sty 07 20:14:03 blackstar bumblebeed[4540]: [ 1184.058374] [ERROR]X did not start properly
>>>
>>> Hi,
>>>
>>> This looks like a different error (is the PCI 01 the right device?),
>>> could you please attach the output of:
>>>
>>> reportbug --template nvidia-driver
>>>
>>
>> Here it again (this time the one I wanted to send)
>
> By any chance, do you have xserver-xorg-legacy installed?
>
> If so, try to remove it, as it is currently incompatible with
> bumblebee (working on it).
>
> Kind regards,
> Luca Boccassi
More information about the pkg-nvidia-devel
mailing list