You are not logged in.

#1 2019-04-28 02:23:08

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Xorg won't start properly [SOLVED]

Before, startx would just shut down my computer. Now it does this.

https://ibb.co/GdnPqkD

Have mercy on my soul for posting a viewer link. It just leaves there. I checked this would be the first time running. /var/log/Xorg.0.log does not exist. I can't change ttys when this happens, so I have to restart. Here is my xinitrc:

bpaste.net/show/b6442fbf2155

Last edited by dudehalloween (2019-04-29 06:13:17)

Offline

#2 2019-04-28 02:27:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Xorg won't start properly [SOLVED]

You need to post the entire log, and details of your graphics stack.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-04-28 02:35:09

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Re: Xorg won't start properly [SOLVED]

What is a graphics stack? Sorry for my ignorance. Check my edited post, please. I would've posted the result of wgetpaste lspci, but that crashed. My integrated graphics is "Intel Corporation HD Graphics 530 (rev 06)" and the discrete graphics is "NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev ff)". So pretty recent NVIDIA card.

Last edited by dudehalloween (2019-04-28 02:48:33)

Offline

#4 2019-04-28 03:50:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Xorg won't start properly [SOLVED]

Your graphics stack is the card(s), driver(s) and conf files, if any.

You have dual graphics: have you set up for that? https://wiki.archlinux.org/index.php/NVIDIA_Optimus


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-04-28 17:03:39

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Re: Xorg won't start properly [SOLVED]

I looked at the article. I was going to just use xrun instead of Xorg, but it seems like the package doesn't exist. So now I want to use bbswitch to just completely disable the NVIDIA card, but it says to add it to /etc/modules-load.d. How do I add it to that? I don't want to use Bumblebee because of how supposedly horrible it is preformance wise.

Offline

#6 2019-04-28 17:25:46

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Xorg won't start properly [SOLVED]

dudehalloween wrote:

I looked at the article. I was going to just use xrun instead of Xorg, but it seems like the package doesn't exist.

xrun is in the AUR as NVIDIA xrun notes.

dudehalloween wrote:

So now I want to use bbswitch to just completely disable the NVIDIA card, but it says to add it to /etc/modules-load.d. How do I add it to that?

Automatic module loading with systemd

dudehalloween wrote:

I don't want to use Bumblebee because of how supposedly horrible it is preformance wise.

Do you anticipate the integrated GPU's performance to be better or worse than bumblebee?

Offline

#7 2019-04-28 19:06:34

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Re: Xorg won't start properly [SOLVED]

I shut off the discrete card with the acpi_call package. It changed nothing. I would think it would be much faster without it.

Last edited by dudehalloween (2019-04-28 19:13:10)

Offline

#8 2019-04-28 19:37:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,087

Re: Xorg won't start properly [SOLVED]

We're gonna need your xorg log, see https://wiki.archlinux.org/index.php/Xorg#General - this is not negotiable.
Also post the output of "dmesg" or "sudo journalctl -b", you can pipe that into "curl -F 'f:1=<-' ix.io" to upload it directly into a pastebin service.

Offline

#9 2019-04-28 20:03:07

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Re: Xorg won't start properly [SOLVED]

I found the Xorg log. Here it is.
Bpaste.net/show/78d972168894

I installed Bumblebee, it did not work. And the troubleshooting section was no help. It couldn't find the NVIDIA device. So instead of x crashing everything now, x just shuts down.

Here is the output of dmesg:
Bpaste.net/show/6c50d01ef3d4

Offline

#10 2019-04-28 20:03:35

loqs
Member
Registered: 2014-03-06
Posts: 18,853

Re: Xorg won't start properly [SOLVED]

Also any config files you have created for X and the contents of ~/.xinitrc .
Edit:

[    55.782] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[    55.782] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"

The Xorg.log appears to be from when bumblebee was still in use.

Last edited by loqs (2019-04-28 20:06:02)

Offline

#11 2019-04-28 20:13:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,087

Re: Xorg won't start properly [SOLVED]

That's the xorg log for some attempted bumblebee run, we'll (also) need the one from the main X11 server.

Offline

#12 2019-04-29 06:12:03

dudehalloween
Member
Registered: 2019-04-28
Posts: 6

Re: Xorg won't start properly [SOLVED]

Sorry for wasting your time. I'm just going to use the only distro that works without significant troubleshooting on this pc, Linux Mint, until I can buy a laptop made for Linux. Thanks.

Because I can't waste anymore time.

Last edited by dudehalloween (2019-04-29 06:12:49)

Offline

Board footer

Powered by FluxBB