You are not logged in.

#1 2019-01-09 18:06:22

doubleslash
Member
Registered: 2011-08-16
Posts: 80

[SOLVED]startx freezes

I finished the installation by following this guide, and I've been stuck for over a day now at getting graphical interface When I run startx, the screen spews out a few lines of messages and then freezes.

Here's my system:

lspci -k | grep -A 2 -E "(VGA|3D)"

produces

 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
Kernel driver in use: i915
3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M]
Kernel driver in use: nvidia

Per this guide I generated /etc/X11/xorg.conf and my .xinitrc opens the desktop environment twm

Let me know if you need to know anything else. Like I said, startx just freezes.

Last edited by doubleslash (2019-01-09 22:49:06)

Offline

#2 2019-01-09 18:19:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,109

Re: [SOLVED]startx freezes

Remove the config generated, and follow Nvidia Optimus if you want maximum performance and don't care about battery life, or Bumblebee if you'd rather save power and run on the intel card by default and only add the nvidia GPU on demand.

Offline

#3 2019-01-09 18:21:14

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

Re: [SOLVED]startx freezes

1. Paste the Xorg log.

2. Remove the generated config: it just breaks things.

3. Read the wiki: https://wiki.archlinux.org/index.php/NVIDIA_Optimus



Not an Installation issue, moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-01-09 18:56:59

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED]startx freezes

I disabled the NVIDIA discrete graphics card in BIOS so only the integrated Intel is shown after lscpi now. However, startx still doesn't work. It says fatal server error. no screens found

Also the /var/log/Xorg.0.log shows X loads module nvidia, which is due to what I had running before. But since I'm doing only intel now, how can I tell X not to load nvidia?

Offline

#5 2019-01-09 20:01:53

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

Re: [SOLVED]startx freezes

jasonwryan wrote:

1. Paste the Xorg log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2019-01-09 20:05:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,109

Re: [SOLVED]startx freezes

Remove all nvidia packages and the configuration that was generated in this case...

And if you still have problems post the xorg log

Last edited by V1del (2019-01-09 20:06:13)

Offline

#7 2019-01-09 20:52:40

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED]startx freezes

This

Remove all nvidia packages and the configuration that was generated in this case...

works. I'm able to startx. This is besides the original topic, but there's one remaining problem. The fonts and mouse cursor are extremely tiny. I guess it's due to the high resolution display. Can you advise me where to go next to fix this? Marking this thread as solved.

Offline

#8 2019-01-09 20:58:47

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

Re: [SOLVED]startx freezes

Offline

#9 2019-01-09 22:48:41

doubleslash
Member
Registered: 2011-08-16
Posts: 80

Re: [SOLVED]startx freezes

Thank you very much. God bless you.

Offline

Board footer

Powered by FluxBB