Re: Remove nvidia driver and reinstall nouveau

2011-01-28 Thread Joe Riel
On Fri, 28 Jan 2011 08:32:02 +0100
Sven Joachim svenj...@gmx.de wrote:

 On 2011-01-28 07:12 +0100, Joe Riel wrote:
 
  Is there a nice way to remove the nvidia driver and replace
  it with the nouveau driver (which was originally installed 
  with Debian squeeze)?  
 
 If you have used the Debian packages in non-free, definitely.  If you
 have run NVidia's installer, I'm not so sure.  Which method did you
 choose?

I used the Debian packages from non-free.  Presumably I'll need to 
purge those. But do I also have to reconfigure/reinstall the
nouveau driver package?  Since the nvidia package installs a different
kernel, do I have to manually (via aptitude) install a new one, or will
aptitude know to do that?

  I tried modifying xorg.conf and
  removing /etc/modprobe.d/nvidia-kernel-common.conf; that
  partially worked, however, glx didn't work because of the 
  different kernel installed when nvidia was installed.
 
 GLX not working has nothing to do with the kernel, it's because the
 nvidia driver installs its own incompatible implementation.
 
 Sven
 
 



-- 
Joe Riel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110128072644.77a77f06@gauss



Re: Remove nvidia driver and reinstall nouveau

2011-01-28 Thread Sven Joachim
On 2011-01-28 16:26 +0100, Joe Riel wrote:

 On Fri, 28 Jan 2011 08:32:02 +0100
 Sven Joachim svenj...@gmx.de wrote:

 On 2011-01-28 07:12 +0100, Joe Riel wrote:
 
  Is there a nice way to remove the nvidia driver and replace
  it with the nouveau driver (which was originally installed 
  with Debian squeeze)?  
 
 If you have used the Debian packages in non-free, definitely.  If you
 have run NVidia's installer, I'm not so sure.  Which method did you
 choose?

 I used the Debian packages from non-free.  Presumably I'll need to 
 purge those.

Removing them should suffice, since you have already taken out the
blacklist entry that nvidia-kernel-common has installed.

 But do I also have to reconfigure/reinstall the
 nouveau driver package?

No.

 Since the nvidia package installs a different
 kernel, do I have to manually (via aptitude) install a new one, or will
 aptitude know to do that?

Hm?  The nvidia packages do not install kernels, they only install
_modules_ for your kernel(s).  Those should be harmless, since the
nvidia module is not autoloaded unless you also use the nvidia X driver.

  I tried modifying xorg.conf and
  removing /etc/modprobe.d/nvidia-kernel-common.conf; that
  partially worked, however, glx didn't work because of the 
  different kernel installed when nvidia was installed.
 
 GLX not working has nothing to do with the kernel, it's because the
 nvidia driver installs its own incompatible implementation.

It seems that the packaging of the nvidia stuff has changed in the last
ten months, and you need to remove the libgl{1,x}-nvidia-alternatives
packages to restore the /usr/lib/xorg/modules/extensions/libglx.so and
/usr/lib/libGL.so.1 files that these packages divert.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871v3xgdvp@turtle.gmx.de



Re: Remove nvidia driver and reinstall nouveau

2011-01-28 Thread Joe Riel
On Fri, 28 Jan 2011 18:02:50 +0100
Sven Joachim svenj...@gmx.de wrote:

 On 2011-01-28 16:26 +0100, Joe Riel wrote:
 
  On Fri, 28 Jan 2011 08:32:02 +0100
  Sven Joachim svenj...@gmx.de wrote:
 
  On 2011-01-28 07:12 +0100, Joe Riel wrote:
  
   Is there a nice way to remove the nvidia driver and replace
   it with the nouveau driver (which was originally installed 
   with Debian squeeze)?  
  
  If you have used the Debian packages in non-free, definitely.  If
  you have run NVidia's installer, I'm not so sure.  Which method
  did you choose?
 
  I used the Debian packages from non-free.  Presumably I'll need to 
  purge those.
 
 Removing them should suffice, since you have already taken out the
 blacklist entry that nvidia-kernel-common has installed.
 
  But do I also have to reconfigure/reinstall the
  nouveau driver package?
 
 No.
 
  Since the nvidia package installs a different
  kernel, do I have to manually (via aptitude) install a new one, or
  will aptitude know to do that?
 
 Hm?  The nvidia packages do not install kernels, they only install
 _modules_ for your kernel(s).  Those should be harmless, since the
 nvidia module is not autoloaded unless you also use the nvidia X
 driver.

Thanks, I got confused by the name: nvidia-kernel-2.6.32-5-amd64.
I assumed that was a kernel rather than a kernel module.

 It seems that the packaging of the nvidia stuff has changed in the
 last ten months, and you need to remove the
 libgl{1,x}-nvidia-alternatives packages to restore
 the /usr/lib/xorg/modules/extensions/libglx.so
 and /usr/lib/libGL.so.1 files that these packages divert.



-- 
Joe Riel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110128102648.11b7a402@gauss



Re: Remove nvidia driver and reinstall nouveau

2011-01-28 Thread Steven Rosenberg
On Thu, Jan 27, 2011 at 10:12 PM, Joe Riel j...@san.rr.com wrote:

 Is there a nice way to remove the nvidia driver and replace
 it with the nouveau driver (which was originally installed
 with Debian squeeze)?

 I tried modifying xorg.conf and
 removing /etc/modprobe.d/nvidia-kernel-common.conf; that
 partially worked, however, glx didn't work because of the
 different kernel installed when nvidia was installed.


I did this a number of times in Fedora recently. My method was:

1) remove package for proprietary driver

2) delete xorg.conf

3) reboot

I could be wrong, but the Nouveau driver should still be there.


Re: Remove nvidia driver and reinstall nouveau

2011-01-28 Thread Joe Riel
On Fri, 28 Jan 2011 08:42:30 +0100
Thierry Chatelet tchate...@free.fr wrote:

 On Friday 28 January 2011 07:12:43 Joe Riel wrote:
  Is there a nice way to remove the nvidia driver and replace
  it with the nouveau driver (which was originally installed
  with Debian squeeze)?
  
  I tried modifying xorg.conf and
  removing /etc/modprobe.d/nvidia-kernel-common.conf; that
  partially worked, however, glx didn't work because of the
  different kernel installed when nvidia was installed.
 
 Purge whatever  nvidia staff you installed and move away xorg.conf,
 it wont be needed any longer
 Thierry
 
 

Thanks for all the responses.  I did

dpkg --get-selections | grep nvidia | xargs sudo aptitude purge --assume-yes
sudo rm /etc/X11/xorg.conf

then rebooted.  All is well, so far.  This has restored the pc-speaker beep
and improved the console font.

-- 
Joe Riel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110128225633.08c4b4c9@gauss



Remove nvidia driver and reinstall nouveau

2011-01-27 Thread Joe Riel
Is there a nice way to remove the nvidia driver and replace
it with the nouveau driver (which was originally installed 
with Debian squeeze)?  

I tried modifying xorg.conf and
removing /etc/modprobe.d/nvidia-kernel-common.conf; that
partially worked, however, glx didn't work because of the 
different kernel installed when nvidia was installed.


-- 
Joe Riel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110127221243.6e5d205f@gauss



Re: Remove nvidia driver and reinstall nouveau

2011-01-27 Thread Sven Joachim
On 2011-01-28 07:12 +0100, Joe Riel wrote:

 Is there a nice way to remove the nvidia driver and replace
 it with the nouveau driver (which was originally installed 
 with Debian squeeze)?  

If you have used the Debian packages in non-free, definitely.  If you
have run NVidia's installer, I'm not so sure.  Which method did you
choose?

 I tried modifying xorg.conf and
 removing /etc/modprobe.d/nvidia-kernel-common.conf; that
 partially worked, however, glx didn't work because of the 
 different kernel installed when nvidia was installed.

GLX not working has nothing to do with the kernel, it's because the
nvidia driver installs its own incompatible implementation.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87wrlp7abx@turtle.gmx.de



Re: Remove nvidia driver and reinstall nouveau

2011-01-27 Thread Thierry Chatelet
On Friday 28 January 2011 07:12:43 Joe Riel wrote:
 Is there a nice way to remove the nvidia driver and replace
 it with the nouveau driver (which was originally installed
 with Debian squeeze)?
 
 I tried modifying xorg.conf and
 removing /etc/modprobe.d/nvidia-kernel-common.conf; that
 partially worked, however, glx didn't work because of the
 different kernel installed when nvidia was installed.

Purge whatever  nvidia staff you installed and move away xorg.conf, it wont be 
needed any longer
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201101280842.31102.tchate...@free.fr