Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
zenOffline
Post subject: Nvidia driver with 2.6.37-0.slh.1 , how?  PostPosted: 07.01.2011, 11:39



Joined: 2011-01-07
Posts: 5
Location: Ukraine
Status: Offline
Hi, I`ve just installed aptosid with xfce and made dist-upgrade yet. So now kernel version is 2.6.37 and I just confused a little how to uninstall nouveau and install nvidia driver correctly? Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
Luis_POffline
Post subject:   PostPosted: 07.01.2011, 11:56



Joined: 2010-09-11
Posts: 151
Location: Barcelona, Spain
Status: Offline
You should have a look at
http://manual.aptosid.com/en/hw-dev-hw- ... on-free-3d

Regards.

Luis_P
 
 View user's profile Send private message  
Reply with quote Back to top
zenOffline
Post subject:   PostPosted: 07.01.2011, 12:03



Joined: 2011-01-07
Posts: 5
Location: Ukraine
Status: Offline
Thanks, I`ve read it yet. Should I
      Code:
# apt-get remove --purge xserver-xorg-video-nouveau
first?
 
 View user's profile Send private message  
Reply with quote Back to top
zenOffline
Post subject:   PostPosted: 07.01.2011, 13:31



Joined: 2011-01-07
Posts: 5
Location: Ukraine
Status: Offline
Thanks for help, guys )) Everything works fine now.

Some notes just to remember.
      Quote:

"blacklist nouveau" in /etc/modprobe.d/blacklist.conf
“nouveau modeset=0″ in /etc/modprobe.d/nouveau-kms.conf (create this one)
GRUB_CMDLINE_LINUX_DEFAULT=”nomodeset” instead GRUB_CMDLINE_LINUX_DEFAULT=”quiet” in /etc/default/grub


# /etc/init.d/gdm stop
# init 3
# apt-get update
# apt-get install nvidia-kernel-source
# m-a a-i nvidia-kernel-source
# apt-get install nvidia-glx
# apt-get install nvidia-xconfig nvidia-settings
# nvidia-xconfig
# reboot


p.s. no need to # apt-get remove --purge xserver-xorg-video-nouveau
 
 View user's profile Send private message  
Reply with quote Back to top
towoOnline!
Post subject:   PostPosted: 07.01.2011, 13:34



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Online!
1st, nomodeset brings nothing in the aptosid-kernel, the kernel-command does not exist here.
2nd, nouveau is not in the aptosid-kernel, so blacklist nouveau brings nothing.
 
 View user's profile Send private message  
Reply with quote Back to top
zenOffline
Post subject:   PostPosted: 07.01.2011, 13:48



Joined: 2011-01-07
Posts: 5
Location: Ukraine
Status: Offline
      Quote:
2nd, nouveau is not in the aptosid-kernel, so blacklist nouveau brings nothing.

So, may be it would be good idea to remove # apt-get remove --purge xserver-xorg-video-nouveau from manual?
 
 View user's profile Send private message  
Reply with quote Back to top
towoOnline!
Post subject:   PostPosted: 07.01.2011, 13:52



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Online!
xserver-xorg-video-nouveau != kernel-module nouveau
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject:   PostPosted: 07.01.2011, 13:57



Joined: 2010-08-25
Posts: 736

Status: Offline
Unfortunately, due to its highly volatile and constantly breaking userspace ABI, nouveau remains to be unusable in our environment for quite some time to come, because there is no way to guarantee matching kernel and userspace ABIs (even less so with Debian being in freeze and 4 kernel versions behind). Therefore we have no other choice than to disable the nouveau kernel modules alltogether, as there simply is no compatible userspace available in Debian - and because upgrading- and downgrading kernel versions (XOR userspace) isn't possible at all, everything must remain in lockstep.

While Debian can (and does) provide nouveau for their upcoming stable (squeeze), they can only do so because they'll always stick to their kernel 2.6.32 (with 2.6.33 drm code) and matching userspace throughout the whole lifecycle of squeeze, but given the volatility of nouveau this also means that squeeze users with nvidia graphics hardware won't be able to use other kernels than Debian/ squeeze provided ones. This will break spectacularly once testing goes wheezy and unfreezes, with new kernel/ mesa versions flowing in (and upon partial squeeze --> wheezy upgrades). Combined with the fact that so far nouveau doesn't degrade gracefully with missing (or incompatible) kernel <-> userspace ABIs (inability to decode EDID/ DDC, abysmal performance), it remains to be unsuitable for rolling releases (Fedora tries to counteract this with draconian package dependencies/ conflicts in rawhide, but this would violate Debian policies and is even impossible to implement in Debian).

Unfortunately xorg-server prefers xserver-xorg-video-nouveau over xserver-xorg-video-nv, if it detects nVidia graphics, which means xserver-xorg-video-nouveau needs to be purged (or xorg.conf{,\\d} to forced to nv for usable operations. However disabling KMS or blacklisting of kernel modules is pointless and - due to these things tending to get forgotten, once nouveau goes out of staging and promises a usable/ stable userspace ABI - is even "dangerous".

To put is short, if you have xserver-xorg-video-nouveau installed, purge it - because it simply doesn't work (in a rolling release) yet and actively breaks using nv/vesa/${evil_proprietary_crap}; which is a pity, because technically nouveau would be a decent driver exceeding nv/ vesa by far.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayzeOffline
Post subject:   PostPosted: 07.01.2011, 18:02



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
nouveau is still in active and heavy development though, and once it stabilizes then it should indeed be a decent replacement for the deprecated and unsupported nv driver as it eventually will at least provide basic 3d on a par with the radeon driver which nv currently lacks.

I tested the nouveau driver on my nvidia 7900GS and it works quite well with just 2D support at the moment.
 
 View user's profile Send private message  
Reply with quote Back to top
zenOffline
Post subject:   PostPosted: 07.01.2011, 18:58



Joined: 2011-01-07
Posts: 5
Location: Ukraine
Status: Offline
Nouveau basically works fine with my nvidia geforse 9600 GT but 3D in Googleearth is tooooo slow, so i have to remove nouveau, if it will work with simple 3d in future i will use it for sure.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayzeOffline
Post subject:   PostPosted: 07.01.2011, 23:45



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
      zen wrote:
Nouveau basically works fine with my nvidia geforse 9600 GT but 3D in Googleearth is tooooo slow, so i have to remove nouveau, if it will work with simple 3d in future i will use it for sure.


Right now 3d is very poor in nouveau so its not a good idea to use it with 3d apps such as GE yet. It is quite usable with 2D stuff though.
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject:   PostPosted: 19.02.2011, 15:18
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
As most people with Nvidia cards are probably not aware, the new free and open source driver Nouveau is already enabled in Aptosid kernels, and does work well for most cards and use cases. So, it's time to finally get rid of the closed source malware, and potentially problematic 3rd party repositories. Here is how to do that:

In KDE System Settings turn all desktop effects off. Remove all 3rd party repositories from /etc/apt/sources.list.d/. Remove all traces of nvidia in: /etc/default/dmakms, /etc/X11/xorg.conf.d/ and /usr/src/.

      Code:
init 3
apt-get purge ^nvidia* ^libnividia* xserver-xorg-video-nv
apt-get update && apt-get dist-upgrade
apt-get install --reinstall xserver-xorg-video-nouveau


Reboot. You are using the free open source Nouveau driver now. Please post any issues you might have with this HowTo.

Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio