nvidia-glx settings problem

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

use envy to install the nvidia drivers and setting pannel.
You need to do this in a terminal window.

ctl-alt F1
#sudo envy

install nvidia drivers (option 1)
I just took the default answers to the questions.
the Xserver should restart.
and hay presto nvidia drivers and settings pannel (once you login again).
:D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

you may need an older nvidia driver.
envy puts the latest and greatest driver on which does have problems with older card (but not that old).
:cry:
Image
Now where was i going? Oh yes, crazy!
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

Anyways, any ideas on how to fix this?
I recall trying Envy, a while ago, and it didn't work for me.

I've reinstalled Bianca, and Ubuntu Edgy and Feisty, several times (not related to nVidia problems), and I find the best way to install my video drivers is to do it step by step, using nVidia's script. I realize you want to avoid a manual install, but I'll post the recipe that has worked for me.

Your nVidia 6150LE is not a legacy GPU, so it's supported by the latest drivers (e.g. 1.0-9755 for Linux IA32). Make a note of where you download the nVidia *.run file on your PC, because you need to run it to install the driver. It's a shell script that you'll invoke using the Linux 'sh' command in TTY mode.

Here's a walkthrough for Bianca (GNOME version), using Terminal commands that you can copy-and-paste from here, line by line:

Make sure Mint is up to date...
sudo apt-get update
sudo apt-get upgrade


Invoke gedit in the following way...
gksu gedit /etc/default/linux-restricted-modules-common
...and make sure the last line of that file looks like this...
DISABLED_MODULES="nv"

Save the file and close gedit. Next, get what the nVidia script needs...
sudo apt-get install linux-headers-`uname -r` build-essential gcc gcc-3.4 xserver-xorg-dev
sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common
sudo rm /etc/init.d/nvidia-*


That 'sudo rm' command may report that there were no files to delete. That's okay. Continue.

The following steps are done in TTY mode, so write them down or print them out first. Carefully. You'll use the 'cd' command, if needed, to go into the directory where you downloaded the nVidia file. That NVIDIA script will prompt you for action; just answer everything with an affirmative...

CTRL-ALT-F1
sudo /etc/init.d/gdm stop
sudo sh NVIDIA-Linux-x86-1.0-9755-pkg1.run
sudo nvidia-xconfig --add-argb-glx-visuals
sudo /etc/init.d/gdm start


You should see the nVidia splash screen as X restarts.

-------
Last edited by telic on Wed May 02, 2007 6:13 pm, edited 6 times in total.
User avatar
PapiSolo
Level 1
Level 1
Posts: 37
Joined: Wed Apr 11, 2007 11:39 am

Post by PapiSolo »

telic wrote: ...
The 'rm' command may report that were no files to delete. That's okay.
...
User avatar
PapiSolo
Level 1
Level 1
Posts: 37
Joined: Wed Apr 11, 2007 11:39 am

Post by PapiSolo »

Thanks for this walk through. I was having trouble with envy too but this helped me.

I now have graphics acceleration. :D

Next step... Beryl ... ;)
User avatar
PapiSolo
Level 1
Level 1
Posts: 37
Joined: Wed Apr 11, 2007 11:39 am

Post by PapiSolo »

Are you running that command in the same location that NVIDIA-Linux-x86-1.0-pkg1.run is?
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

Should every line start with mine@mine-desktop before I get to type in a command?
Yes, that's the usual "DOS-prompt" for your username and PC. The current directory name will appear just before the '$' character in your Linux DOS prompt.

The '~' directory is shorthand for your home directory. It's equivalent to '/home/mine' on your PC. So, to jump to your home directory you can just type 'cd ~' from anywhere on your PC. That's where your browser may have downloaded the nVidia file, by default.

To check for the NVIDIA file, use the 'ls' command, which is akin to the MS-DOS 'dir' command. Just type ls, or you can type ls N* to narrow your look-see to any file that starts with letter N.

Note that, unlike MS-DOS, Linux commands and names are case sensitive, so make sure to get capitals and lower-case letters right.

BTW, if you downloaded the nVidia legacy driver for an older GPU, you must change this command...
sudo sh NVIDIA-Linux-x86-1.0-9755-pkg1.run
...to this...
sudo sh NVIDIA-Linux-x86-1.0-7184-pkg1.run
...because of the different file name.

-------
Last edited by telic on Sat Apr 14, 2007 1:00 am, edited 1 time in total.
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

*blip*
Last edited by telic on Sat Apr 21, 2007 10:54 am, edited 1 time in total.
User avatar
PapiSolo
Level 1
Level 1
Posts: 37
Joined: Wed Apr 11, 2007 11:39 am

Post by PapiSolo »

telic wrote:
Next step... Beryl ...
Once your nVidia driver is properly installed, adding Beryl may be as simple as this...
sudo nvidia-xconfig --composite
sudo nvidia-xconfig --allow-glx-with-composite
sudo nvidia-xconfig --render-accel
## Perhaps omit this line for legacy GPUs
sudo apt-get install beryl emerald-themes


Then the Beryl Settings Manager applet (and Beryl itself) may be conjured with...
beryl-manager

Or maybe not. ;-)

To summon Beryl's 3D-cube, drag your mouse while pressing CTRL-ALT-LeftButton.

-------
Thanks, but I already have Beryl working, thanks to the info in the mintwiki. Now I have a beautiful copy of mint... in mint cindition (couldn't resist... :p )

I don't think I'll be changing back to any other distro I've tried before. ;)
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

Your taskbar will have an icon that looks like two little monitors. If it also has a red box with an 'x' in it, then Bianca hasn't automatically made an Internet connection for you. Click on that icon and then select "Wired Network". Bianca should then connect to the Internet. You must have an Internet connection in order to access the online repository that can provide optional software packages.

For detailed info about downloading and installing Beryl, check the Mint Wiki.


-------
User avatar
newW2
Level 5
Level 5
Posts: 821
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Post by newW2 »

While running scripts in Ubuntu based systems sometimes there are problems.

I ran across this when trying to install a program. Tried the following when having issues with my nVidia hardware during Beryl install and was able to make things work afterwards (after running the following symlink to /bin/dash code in terminal).

Envy work like a champ afterwards.

Maybe it was just pure luck, but it worked on two boxes....

---------------

if you look at /bin/sh, that is most likely a symlink to /bin/dash.
so one workaround would be this:

sudo bash
rm /bin/sh
ln -s /bin/bash /bin/sh

you can later undo this change with
sudo bash
rm /bin/sh
ln -s /bin/dash /bin/sh

but we saw also other shell scripts fail on ubuntu edgy, not only our
installer script, so you might want to keep this change as well.
telic
Level 3
Level 3
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Post by telic »

While running scripts in Ubuntu based systems sometimes there are problems.
Bash is still used in Ubuntu Dapper. The switch to dash came with Edgy (and hence to Bianca).

There's a bash/dash pro/con debate [here].

Ironically, a similar argument may be applied to GNU/Linux (as dash) versus MS Windows (as bash).

"Sometimes you have to do things the hard way to make the world a better place."

------
User avatar
ceti
Level 2
Level 2
Posts: 86
Joined: Tue Feb 27, 2007 7:41 am
Location: Brazil

Post by ceti »

Thank you, telic.
Your tutorial worked perfectly for me.

Cheers
Sorry, but that's the way it is.
Locked

Return to “Graphics Cards & Monitors”