You are not logged in.

#1 2018-03-15 15:44:16

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Xorg & Bumblebee & Lightdm not working together

Hello everyone i'm new at here.

I installed arch linux on my machine and i installed Xorg & Bumblebee & Lightdm.
Then when i reboot my computer it starts lightdm but in blackscreen like terminal. (but not terminal you know that black screen)

But if i do  ctrl + alt + F2 (i can't use ctrl + alt + F1's TTY1 idk there is no terminal if i open that) > login tty2 > and running command startx it says no screens found (also if i run command lightdm it does black screen again and gives error: segmentation fault)

But if i do ctrl + alt + F2  and if i do optirun glxgears > after that command i press ctrl + c > i write command startx (it starts an interesting screen) after > i login to TTY3 and i do command lightdm it starts lightdm > and done with lightdm

but how can i fix this problem? I want start lightdm & xorg correctly on boot (not with interesting commands)

I'm working on this issue about 3 days sad

Last edited by kahverengi (2018-03-15 17:19:28)

Offline

#2 2018-03-15 16:06:02

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Xorg & Bumblebee & Lightdm not working together

Please paste your xorg log.

On a sidenote, please also remove the help plea from the subject.

Offline

#3 2018-03-15 17:12:49

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Http://paste.ubuntu.com/p/bKkWZBxCMX/

Also i learned if i press enter on grub, lightdm doesn't start but if i don't press and grub automatically starts system lightdm works. (Interesting)

Also sorry for title.

Offline

#4 2018-03-15 17:52:08

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Xorg & Bumblebee & Lightdm not working together

Why is the nvidia driver loaded itfp, why do you have all sorts of ddx drivers installed and why is there

[     7.712] (EE) NVIDIA(GPU-0): The NVIDIA GPU at PCI:1:0:0 is not supported by the 390.42

?

Please provide the outputs of

lspci
lsmod

and your pacman log.
Also be sure to have followed https://wiki.archlinux.org/index.php/Bumblebee

Offline

#5 2018-03-15 18:05:11

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Offline

#6 2018-03-15 18:06:49

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Oh sorry pacman log url is wrong correct is: http://paste.ubuntu.com/p/cX3TbrDMDC/

Offline

#7 2018-03-15 18:22:27

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: Xorg & Bumblebee & Lightdm not working together

kahverengi wrote:

Idk

Was the I do not know response to seth's question of have you followed https://wiki.archlinux.org/index.php/Bumblebee?

[2018-03-14 19:25] [PACMAN] Running 'pacman -S yaourt'

So you are using the archlinux.fr repo.

Offline

#8 2018-03-15 18:25:24

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Not correctly followed i guess. Also bumblebee works on DE. With tested optirun glxgears.

Last edited by kahverengi (2018-03-15 18:26:30)

Offline

#9 2018-03-15 18:28:32

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: Xorg & Bumblebee & Lightdm not working together

Please post the two Xorg.logs for the working bumblebee under a DE.

Offline

#10 2018-03-15 19:07:22

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Xorg.0.log >> http://paste.ubuntu.com/p/MtWh8KkR4G/
Xorg.1.log >> http://paste.ubuntu.com/p/CQdRTDj8gq/

I hope these two file is your want. Also i get this log files on KDE Plasma xterm. Bumblebee did't launch but it works after i upload these files.

Offline

#11 2018-03-15 22:02:35

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Xorg & Bumblebee & Lightdm not working together

The nvidia driver should not be loaded unless you're running sth. on the nvidia chip.

Also i learned if i press enter on grub, lightdm doesn't start but if i don't press and grub automatically starts system lightdm works.

So what's the difference? And what is the context for the functional logs in comment #10? Did you maybe somehow try to "optirun lightdm"? Or just "optirun foobar" from a linux console (without a "DE")?

Offline

#12 2018-03-16 06:34:27

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

I don`t know but i fixed KDE open on boot start.

Also i think now xorg runs on my GPU. Now i can`t start optirun glxgears. It gives "could not connect to bumblebee daemon - is it running?". Also i get log from journalctl -u bumblebeed > http://paste.ubuntu.com/p/G5NzrVzm8c/

Now what i need to do?

Offline

#13 2018-03-16 08:15:27

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Xorg & Bumblebee & Lightdm not working together

Mar 16 06:25:29 kahverengi bumblebeed[1908]: modprobe: FATAL: Module bbswitch not found in directory /lib/modules/4.14.26-1-lts
...
Mar 16 06:26:29 kahverengi bumblebeed[2046]: [  489.956174] [ERROR]Module 'nvidia' is not found.

... maybe install the nvidia-lts package?

Also the LTS kernel usage seems the difference about the "grub" behavior ...

How exactly did you install archlinux?

Offline

#14 2018-03-16 10:03:31

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

I installed nvidia-lts and now xorg not working on GPU (i understood this with listening my GPU's fan sound). Also now lightdm not starting. But optirun doesn't give error. Glxgears gives display is null. And if i try to run lightdm it gives "Failed to use bus name org.freedesktop.DisplayManager, do you have appropiate permissions?"

I installed with offical arch wiki's installation: https://wiki.archlinux.org/index.php/installation_guide (i installed correct but i can't say same thing for xorg sorry i'm learning linux better with arch smile)

Now idk what i need to do smile

Offline

#15 2018-03-16 13:21:05

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Xorg & Bumblebee & Lightdm not working together

Study the wiki on bumblebee and especially be less vague on your problem descriptions.

Also now lightdm not starting.

That's not an error message. It doesn't even say whether the process segfaults or quits or actually runs, but just doesn't produce output.

Glxgears gives display is null

This makes no sense. What does it *actually* print ("literally", no paraphrase)?

And if i try to run lightdm it gives

As user? How about "sudo systemctl restart lightdm"?

Offline

#16 2018-03-17 14:03:55

kahverengi
Member
Registered: 2018-03-15
Posts: 16

Re: Xorg & Bumblebee & Lightdm not working together

Never mind i fixed with following wiki correctly from scratch. Also thanks.

Offline

Board footer

Powered by FluxBB