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.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
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).
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).
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Now where was i going? Oh yes, crazy!
I recall trying Envy, a while ago, and it didn't work for me.Anyways, any ideas on how to fix this?
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.
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.Should every line start with mine@mine-desktop before I get to type in a command?
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.
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 )telic wrote:Once your nVidia driver is properly installed, adding Beryl may be as simple as this...Next step... Beryl ...
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.
-------
I don't think I'll be changing back to any other distro I've tried before.
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.
-------
For detailed info about downloading and installing Beryl, check the Mint Wiki.
-------
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.
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.
Bash is still used in Ubuntu Dapper. The switch to dash came with Edgy (and hence to Bianca).While running scripts in Ubuntu based systems sometimes there are problems.
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."
------