You are not logged in.
I had a working KDE install using the discreet GPU of my Laptop but wanted to enable msyhbrid/optimus.
However I cannot get Xorg to start anymore. Bumbleed is running and I can switch the dGPU using bbswitch.
I may have removed all xorg conf files (some overzealously) and I have gotten a myriad of errors from xorg (xinit or startx)
from segfaults to complete system freezes.
My understanding atm is that bumblebee wants xorg to use the iGPU but xorg is trying to use the dGPU.
if anybody has a working system of bumblebee with nvidia proprietary drivers and could provide me with their
xorg.conf, kernel parameters and modules. I have tried everything under the sun.
(I am using another machine while I get this working so I can't easily get the logs sry)
Last edited by DeadLink404 (2017-12-10 11:52:24)
Offline
You don't need a graphical environment to provide the necessary logs: https://wiki.archlinux.org/index.php/Li … in_clients
Not an Installation issue, moving to NC...
Offline
Well I got this one now ~/.local/share/xorg/Xorg.0.log
with the key point being Cannot open /dev/tty0 (Permission denied).
however with root rights enabled I get a system freeze and no log.
And yes I checked the /var/log/ dir where Xorg claimed it's logfile would be.
This suggested using the xf86-video-modesetting, might try that next.
Last edited by DeadLink404 (2017-11-25 11:39:03)
Offline
pacman -Qkk bumblebee nvidia xf86-video-intel
lspci
Are you trying a rootless X11 server? https://wiki.archlinux.org/index.php/Xorg#Rootless_Xorg
Does it work otherwise?
Offline
I am trying rootless but have need_roots_rights = yes in the Xwrapper.conf
I have the nvidia-dkms installed not nvidia.
so pacman -Qkk bumblee nvidia-dkms xf86-video-intel
and lspci
Last edited by DeadLink404 (2017-11-25 13:05:46)
Offline
I am trying rootless but have need_roots_rights = yes in the Xwrapper.conf
???
Do you bypass the wrapper or what does that mean?
Offline
that means that I start Xorg through xinit or startx from the console without a login manager,
however I get an "Cannot open /dev/tty0 (Permission denied)" if I start it without root privileges.
Offline
That's not a rootless X11 server at all.
What says
pacman -Qkk xorg-server
stat /usr/lib/xorg-server/Xorg /usr/lib/xorg-server/Xorg.wrap /usr/bin/Xorg
Offline
pacman -Qkk xorg-server:
xorg-server: 51 total files, 0 altered files
stat /usr/lib/xorg-server/Xorg /usr/lib/xorg-server/Xorg.wrap /usr/bin/Xorg
thank you for putting up with me btw
Last edited by DeadLink404 (2017-11-25 22:10:14)
Offline
This lacks the stat for "/usr/lib/xorg-server/Xorg" (you provided /usr/lib/xorg-server instead) but pacman suggests this is not the problem.
Do you have a ~/.xserverrc ?
Offline
I do not.
Offline
After some experimentation I got as far as the KDE splash screen by stopping the bumblebee deamon and running xinit.
Though I got a black screen afterwards once and back to the console another time.
Offline
skip KDE and try something simpler (openbox?)
Offline
looks promising.... I got a grey background with a mouse cursor. Although the cursor is either unmoving or everything is frozen.
Plugged in a mouse as well but was unresponsive too. But atleast the power button got me a gracefull shutdown for once.
Last edited by DeadLink404 (2017-11-26 22:06:35)
Offline
Did you check the resulting Xorg log? (for eg. input device errors)
There's probably still some GL issue (causing most of KDE to crash)
Offline
[ 22.172] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event18)
[ 22.172] (II) No input driver specified, ignoring this device.
[ 22.172] (II) This device may have been added with another device file.
[ 22.172] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 22.172] (II) No input driver specified, ignoring this device.
[ 22.172] (II) This device may have been added with another device file.
xf86-input-synaptics is installed
Offline
Fatal server error:
[ 38.970] (EE) systemd-logind disappeared (stopped/restarted?)
Remote login? Bad xinitrc?
https://wiki.archlinux.org/index.php/Xinit#xinitrc (see second note)
Offline
I think that was me pressing the power button tbh
waited a little longer here
I launched a firefox this time and the system isn't frozen (the cursor bar thingy blinked)
just mouse and touchpad aren't working.
Last edited by DeadLink404 (2017-11-26 23:23:16)
Offline
neither libinput nor evdev nor synaptics seems to be loaded?
pacman -Q | grep xf86-input
Offline
pacman -Q | grep xf86-input
xf86-input-libinput 0.26.0-1
xf86-input-synaptics 1.9.0-1
Offline
That is ... weird - to say the least.
pacman -Qkk xf86-input-libinput xf86-input-synaptics
Offline
xf86-input-libinput: 21 total files, 1 altered file
xf86-input-synaptics: 28 total files, 1 altered file
But the stderr told me the /usr/share/X11/xorg.conf.d/40-libinput.conf and /etc/X11/xorg.conf.d/70-synaptics.conf are gone.
So... I did done goofed.
How do I get em back?
Offline
Re-install the packages, but this entirely explains the situation.
Offline
Good news: Bumblebee works now in openbox.
KDE still craps out on me with a black screen though
It caught my ctrl alt F2 (AIGLX: Suspending AIGLX clients for VT switch)
the screen looks to be right (intel(0): EDID vendor "AUO" && intel(0): switch to mode 1920x1080@120.0 on eDP1 using pipe 0)
But it the screen went black.
heh
[ 71.422] (II) event16 - (II) Chicony USB 2.0 Camera: Chicony: (II) is tagged by udev as: Keyboard
sure... whatever.
Offline
check glxinfo (in openbox) and try to suspend the kwin compositor (in kde) - SHIIFT+Alt+F12 toggles it.
Dunno why, but all cams and also my dvb-t register as keyboard...
Last edited by seth (2017-11-27 21:00:24)
Offline