You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-02-29 09:33:03

dioxy
Member
Registered: 2012-02-29
Posts: 10

Installed nvidia proprietary drivers, computer boots into CLI

I installed the nvidia proprietary drivers as shown here https://wiki.archlinux.org/index.php/NVIDIA
However when I use the xorg.conf from nvidia-xconfig my computer boots into CLI. My hardware is a NVIDIA GeForce GT 540M.

Offline

#2 2012-02-29 09:56:15

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,740

Re: Installed nvidia proprietary drivers, computer boots into CLI

xorg.conf is not longer in use check out /etc/X11/xorg.conf.d

Offline

#3 2012-02-29 10:08:13

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

What do I do in xorg.conf.d? I've tried changing vesa to nvidia in 20-gpudriver.conf, and I've also tried saving my nvidia-settings there. Both caused me to boot into CLI.

Offline

#4 2012-02-29 10:28:02

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,740

Re: Installed nvidia proprietary drivers, computer boots into CLI

pacman -Qi nvidia
pacman -Qi linux

Do you get any errors when you try to run startx ?

Also check /var/log for Xorg as well

Offline

#5 2012-02-29 10:43:15

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

output of pacman -Qi nvidia:

Name           : nvidia
Version        : 295.20-2
URL            : http://www.nvidia.com/
Licenses       : custom
Groups         : None
Provides       : None
Depends On     : linux>=3.2  linux<3.3  nvidia-utils=295.20
Optional Deps  : None
Required By    : None
Conflicts With : nvidia-96xx  nvidia-173xx
Replaces       : None
Installed Size : 4824.00 KiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : x86_64
Build Date     : Tue 28 Feb 2012 04:09:29 AM EST
Install Date   : Wed 29 Feb 2012 09:37:04 AM EST
Install Reason : Explicitly installed
Install Script : Yes
Description    : NVIDIA drivers for linux.

-Qi linux:

Name           : linux
Version        : 3.2.8-1
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : kernel26
Depends On     : coreutils  linux-firmware  module-init-tools>=3.16
                 mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : nvidia
Conflicts With : kernel26
Replaces       : kernel26
Installed Size : 58836.00 KiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : x86_64
Build Date     : Mon 27 Feb 2012 03:55:56 PM EST
Install Date   : Wed 29 Feb 2012 09:36:48 AM EST
Install Reason : Explicitly installed
Install Script : Yes
Description    : The Linux Kernel and modules

And yes there are errors when I run startx

(==) Log file: "/var/log/Xorg.1.log", Time: Wed Feb 29 11:33:12 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
(EE) Logitech USB Receiver: failed to initialize for relative axes.
(EE) synaptics: ETPS/2 Elantech Touchpad: Synaptics driver unable to detect protocol
(EE) PreInit returned 11 for "ETPS/2 Elantech Touchpad"
Obt-Message: Xinerama extension is not present on the server
which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/s

Offline

#6 2012-02-29 10:44:49

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,740

Re: Installed nvidia proprietary drivers, computer boots into CLI

Try

modprobe nvidia

What do you get?

move xorg.conf out of the way

mv xorg.conf xorg.conf.backup

Offline

#7 2012-02-29 10:53:29

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

Mr Green wrote:

Try

modprobe nvidia

What do you get?

move xorg.conf out of the way

mv xorg.conf xorg.conf.backup

No luck. Nothing changed.

Offline

#8 2012-02-29 11:01:25

oliver
Administrator
Registered: 2010-11-04
Posts: 1,515

Re: Installed nvidia proprietary drivers, computer boots into CLI

I know *nothing* about nvidia so this might be a wild goose chase, but this error sticks out

Compatible NVIDIA X driver not found

Are you sure your card is supported by that driver?


Welly, welly, welly, welly, welly, welly, well. To what do I owe the extreme pleasure of this surprising visit?

Offline

#9 2012-02-29 11:12:55

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

oliver wrote:

I know *nothing* about nvidia so this might be a wild goose chase, but this error sticks out

Compatible NVIDIA X driver not found

Are you sure your card is supported by that driver?

it looks like that's it. I'll switch to nouveau and see if that works.
EDIT: I switched to nouveau. I still have the problem of booting into CLI when I edit xorg.conf.d. I tried changing "vesa" to "nouveau" in 20-gpudriver.conf

Last edited by dioxy (2012-02-29 11:30:40)

Offline

#10 2012-02-29 11:30:40

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,740

Re: Installed nvidia proprietary drivers, computer boots into CLI

https://github.com/Bumblebee-Project/Bumblebee/wiki/

Have a search for your nvidia card

Offline

#11 2012-02-29 13:30:32

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

Ok I got nouveau working but I can't change the screen resolution
xrandr outputs:

xrandr: failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024 * 768      0.0*

Offline

#12 2012-02-29 13:53:11

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,616
Website

Re: Installed nvidia proprietary drivers, computer boots into CLI


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#13 2012-02-29 14:04:33

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

this is not working... I keep getting the error xrandr: Failed to get size of gamma for output default

Last edited by dioxy (2012-02-29 14:10:34)

Offline

#14 2012-02-29 14:05:46

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,616
Website

Re: Installed nvidia proprietary drivers, computer boots into CLI

What did you try?
what is the output of
xrandr -q
and is your desired output listed?


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#15 2012-02-29 14:14:11

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

pablokal wrote:

What did you try?

cvt 1368 768
xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

xrandr: Failed to get size of gamma for output default

Edit: I tried again after reboot. this time the mode did appear in xrandr -q. However the xrandr --addmode cannot find the output, no matter what I use.

Last edited by dioxy (2012-02-29 14:22:01)

Offline

#16 2012-02-29 14:23:47

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,616
Website

Re: Installed nvidia proprietary drivers, computer boots into CLI

copy the modeline of the previous output to the place mode line

    $ xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

Now you need to add the above mode using the following command

    $ xrandr --addmode VGA1 1368x768_60.00

here for VGA1 you have to use what ever that was there for $ xrandr output
So first do
$xrandr
to determine what has to be in place of VGA1.
The fact that the desired resolution is mentioned in the output means you should get this working:
xrandr -s 1368x768@60
also might do the trick.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#17 2012-02-29 14:35:12

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

All the commands worked. Except when I try to set it it says:
xrandr: screen cannot be larger than 1024x768 (desired size 1368x768)
xrandr: Configure crtc 0 failed

FYI: the "screen cannot be larger" error only occurred the first time I used the command. The "crtc 0 failed" occurs every time.

Last edited by dioxy (2012-02-29 14:40:28)

Offline

#18 2012-02-29 15:44:11

scjet
ArchBanger
From: Windsor, Canada
Registered: 2010-12-01
Posts: 749

Re: Installed nvidia proprietary drivers, computer boots into CLI

All you have to do is:
(Remove extranneous crap Xorg-drivers, as per "Super + r" instructions...
then just:   (for eaxmple if ouy're an nvidia guy, then ...)
pacman -S nvidia nvidia-utils lib32-nvidia-utils (if running x86_64)
run "nvidia-xconfig" as root, and that's it.
-Reboot.


The "BSD" things in life are "Free", and "Open", and so is ArchBang!
Go Leafs Go !!!

Offline

#19 2012-02-29 15:45:26

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,616
Website

Re: Installed nvidia proprietary drivers, computer boots into CLI

Did you check out the vga part?
probably nouveau doesn't support this Optimus card well;
so  see the possibiliteis of Bumblebee: https://wiki.archlinux.org/index.php/Bumblebee
or look here https://wiki.archlinux.org/index.php/NV … IA_Optimus
which says you could go for an intel driver.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#20 2012-02-29 17:00:07

dioxy
Member
Registered: 2012-02-29
Posts: 10

Re: Installed nvidia proprietary drivers, computer boots into CLI

pablokal wrote:

Did you check out the vga part?
probably nouveau doesn't support this Optimus card well;
so  see the possibiliteis of Bumblebee: https://wiki.archlinux.org/index.php/Bumblebee
or look here https://wiki.archlinux.org/index.php/NV … IA_Optimus
which says you could go for an intel driver.

I don't think that's it. I've used nouveau on other distros without problem. Is it possible that I'm missing something in my xorg.conf.d?

Offline

#21 2012-03-01 14:29:40

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,616
Website

Re: Installed nvidia proprietary drivers, computer boots into CLI

Make sure you do not have nomodeset or vga= in GRUB's menu.lst/grub.cfg kernel line, since Nouveau needs kernel mode-setting in order to run successfully (see below).
Also, check that you have not disabled Nouveau by using any modprobe blacklisting within /etc/modprobe.d/.

As solution for tearing is mentioned

Edit your /etc/X11/xorg.conf.d/20-nouveau.conf, in the Device section add:

Section "Device"
    Identifier "nvidia card"
    Driver "nouveau"
    Option "GLXVBlank" "true"
EndSection

You could try that, if it makes a difference for screen resolution.
https://wiki.archlinux.org/index.php/Nouveau


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB