You are not logged in.

#1 2016-02-20 17:52:31

Snuken
Member
Registered: 2011-06-14
Posts: 24

Can't startx. Fresh install, have nvidia card

Hi,
I've already googled to try to find a solution to my problem but I can't seem to find any that helps.
I have just installed arch to my laptop. It has a nvidia 840m card.

I have done the following;
Installed nvidia driver with pacman, rebooted as it suggested. Then I installed xorg xorg-server xorg-xinit. After that I used the nvidia-xconfig to make a xorg.conf file.
The error I see is that it find no screen

 (EE) no screens found(EE)

I don't know how to post my xorg.conf here from my laptop so I have to type it by hand. This isn't the entire xorg but I think its the relevant part

Section "Monitor"
       Identifier          "Monitor0"
       VendorName    "Unknown"
       ModelName      "Unknown"
       HorizSync         28.0 - 33.0
       VertRefresh       43.0 - 72.0
       Option               "DPMS"
EndSection

Section "Device"
       Identifier            "Device0"
       Driver                "nvidia"
       VendorName      "NVIDIA Corporation"
EndSection

Section "Screen"
       Identifier            "Screen0"
       Device               "Device0"
       Monitor              "Monitor0"
       DefaultDepth      24
       SubSection        "Display"
               Depth         24
       EndSubSection
EndSection

(note that I typed this by hand so it may look like there are big gaps between the text but it looks normal in the actual xorg.conf)

I ran lspci | grep VGA and the only thing that popped up was the Intel integrated graphic card for some reason. But the laptop has a nvidia card aswell. Think that might be the issue. Any suggestion on how to fix this?
If I just run lspci it is listed as 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)

Last edited by Snuken (2016-02-20 18:00:26)

Offline

#2 2016-02-20 18:12:31

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Can't startx. Fresh install, have nvidia card

The laptop has multiple GPU's so you will probably need to use NVIDIA_optimus for the nvidia drivers to work for the open source nouveau drivers see PRIME and Bumblebee

See Pastebin_clients to paste files from the console or you could copy the files to removable media if you have another device that could open them and copy paste from there.

Offline

#3 2016-02-20 23:35:16

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: Can't startx. Fresh install, have nvidia card

You also need to install the intel driver for your integrated graphics card.

Offline

#4 2016-02-21 08:48:12

pediocore
Member
From: Malaysia
Registered: 2014-06-12
Posts: 9

Re: Can't startx. Fresh install, have nvidia card

My suggestion is to install intel driver as well, get the propietary  nvidia driver and work them both with bumblebee. Your laptop will boot into intel video card and you may run your program with nvidia should you need to. Read the wiki about bumblebee.


"Software is like sex; it's better when it's free.", Linus

Offline

Board footer

Powered by FluxBB