SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-03-27 18:29:29

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

[solved]Question for the Nvidia guys..

**POST 15 is a good source for cleaning up a BOTCHED nvidia proprietary driver install**

I'm wanting to add my lappy to my bedroom 32inch lcd and surround sound setup.. and I have a few questions.
Manly to watch downloaded torrent rips Plus to take advantage of my lappy's BluRay player.

1 First off would running proprietary driver for my Nvidia be the preferred method?
as apposed to setting up grandr every time I want to watch a movie.. 

2 A strange thing is that if I connect using a VGA cable I get a larger selection of resolutions, whereas if I use HDMI connection gives me an odd 1300x?? resolution.

I'm using the backported 3.2 amd 64 kernel.
any help would be appreciated.

Last edited by falldown (2012-03-28 18:53:51)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-03-27 18:47:59

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [solved]Question for the Nvidia guys..

Sure you will have better results with the nvidia driver.
I have no explanation for 2. See what it gives after installing the prop driver.

There is more than one way to install the prop driver, but downloading from the nvidia website has always worked for me. See  http://crunchbanglinux.org/forums/post/202339/#p202339 for a tutorial. Follow the link in that post.

hth

Last edited by xaos52 (2012-03-27 18:48:25)

Offline

#3 2012-03-27 19:37:14

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Thanks for the quick reply xaos52

I tried the method below a couple of months ago and had no luck with it
http://crunchbanglinux.org/forums/topic … an-stable/
so I'm a little cautious. smile

I will give the method you suggested a shot.

Offline

#4 2012-03-27 23:38:01

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Worked perfectly xaos52!!
Thank you!

I gonna keep this open for a bit in case I have any questions while I configure. big_smile

EDIT
When I try to

sudo apt-get install nvidia-settings

.. I get a message asking me to uninstall my nvidia-installer. Is it safe to continue with this process?

Last edited by falldown (2012-03-28 00:02:56)

Offline

#5 2012-03-28 01:06:13

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

I guess a better question is how do I go about configuring my displays now?

Offline

#6 2012-03-28 01:14:00

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: [solved]Question for the Nvidia guys..

Usually right after I install the driver I run nvidia-xconfig, and that gets me into X, where I can run nvidia-settings and set the specifics and save them to the appropriate config files via GUI. Usually you can apply changes to video settings on the fly using nvidia-settings, but if this doesn't work correctly for some reason, it's nice to have a hotkey to kill openbox, here's mine:

<keybind key="W-A-S-C-BackSpace">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>close openbox</name>
        </startupnotify>
        <command>openbox --exit</command>
      </action>
    </keybind>

It's a bit long winded on purpose to keep me from ever closing openbox on accident, you have to press control, shift, windows, alt, and backspace.

Last edited by mynis01 (2012-03-28 01:18:24)

Offline

#7 2012-03-28 01:18:15

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

falldown@vaio:~$ nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".

ERROR: Unable to write to directory '/etc/X11'.

Should I sudo it?

Here is my xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 295.33  (buildmeister@swio-display-x86-rhel47-08.nvidia.com)  Sat Mar 17 15:58:33 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

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

Last edited by falldown (2012-03-28 01:26:20)

Offline

#8 2012-03-28 01:28:04

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: [solved]Question for the Nvidia guys..

^ Yes ... In order to write to it.  Sector11 has been having issues with saving this even with sudo so be warned... smile


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#9 2012-03-28 01:32:30

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Thanks for the heads up VastOne.
I'm getting errors every time I try to install nvidia-settings.
It keeps telling me that I need to uninstall the nvidia installer.

I'm confused tongue

Offline

#10 2012-03-28 01:53:03

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Ok so I took a BLIND leap and installed nvidia-settings..

now that I have configured my displays I cannot save
x configuration file

Unable to create new X config backup file '/etc/X11/xorg.conf.backup'.

Offline

#11 2012-03-28 01:55:25

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: [solved]Question for the Nvidia guys..

That's strange, you should be able to just install nvidia-settings without overwriting the blob you have from the nvidia site, and even then iirc the nvidia binary comes with nvidia-settings all ready. Try this as your regular user and as root:

whereis nvidia-settings

If all else fails, you can just get the nvidia-settings source from here. Also another protip: install nvidia-glx if you want to use mplayer with CUDA support (it rocks! 1080p playback using <=1% CPU!)

Offline

#12 2012-03-28 01:57:35

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: [solved]Question for the Nvidia guys..

falldown wrote:

Ok so I took a BLIND leap and installed nvidia-settings..

now that I have configured my displays I cannot save
x configuration file

Unable to create new X config backup file '/etc/X11/xorg.conf.backup'.

Just create it and set the permissions so you can write to it.

touch /etc/X11/xorg.conf.backup
chown falldown /etc/X11/xorg.conf.backup
chmod 644 /etc/X11/xorg.conf.backup

Offline

#13 2012-03-28 02:26:16

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

I'm doing something wrong here..

I open nvidia-settings and configure.. I end up with
some actions can't be applied for various reasons.. some won't take affect until you restart x which eliminates all the changes that I just made because it won't let me save it to my existing xorg.config or my backup that mynis01 post suggested!!

**DEEP BREATH**

will continue this in the morning.. This has frustrated me!! big_smile

Offline

#14 2012-03-28 02:27:23

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: [solved]Question for the Nvidia guys..

^ Exactly the same issues as Sector11...  Sorry Mate!


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#15 2012-03-28 10:48:03

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [solved]Question for the Nvidia guys..

I suspect things went wrong because the nvidia install you tried using hardran3's method left some 'rubbish' behind.

Normally 'nvidia-settings' and 'nvidia-xconfig' come with the download from the nvidia site.

To 'clean things up' I would try:
(1) check if you have debian packages installed for nvidia

sudo dpkg -l | grep nvidia

(2) if you have debian packages installed for nvidia, uninstall them:

sudo apt-get --purge remove ....

replacing ... with a list of packages from (1) separated by a space
(3) clean up the situation in /etc/X11:

sudo chmod -v 777 /etc/X11/xorg.conf /etc/X11/xorg.conf.*

(4) Drop to console 2: Ctrl+Alt+F2 and login
(5) cd to the dir where you downloaded the nvidia driver
(6) uninstall the driver

sudo sh NVIDIA... --uninstall

(7) re-install the driver

sudo sh NVIDIA... --install

Let it make the config file
(8) reboot
(9) See if nvidia-xconfig works

sudo nvidia-xconfig

Offline

#16 2012-03-28 18:16:27

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

This was left after previous attempt:

glx-alternative-nvidia libgl1-nvidia-alternatives libgl1-nvidia-glx libglx-nvidia-alternatives nvidia-alternative nvidia-glx nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-dkms nvidia-settings nvidia-support nvidia-vdpau-driver xserver-xorg-video-nvidia

After following your post xaos52
I get this response in terminal

falldown@vaio:~$ sudo nvidia-xconfig
[sudo] password for falldown: 

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

Offline

#17 2012-03-28 18:28:40

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Ok xaos52

Now nvidia settings will allow me to save my x configuration only if I open nvidia-settings as root, but it works.. so that is positive!

Sorry if I came off as rude at some point.. I get irritated when linux makes me feel like a noob lol

Offline

#18 2012-03-28 18:33:28

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [solved]Question for the Nvidia guys..

No problem. You did not come over as rude to me. smile

Offline

#19 2012-03-28 18:36:51

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: [solved]Question for the Nvidia guys..

Gracias Amigo for your help!!
Your post #15 should be added to the how-to nvidia setup threads... its a very nice clean-up formula!!

Last edited by falldown (2012-03-28 18:37:14)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo