How to make xorg prefer "nvidia" over "nv" driver in a xorg.conf less configuration?

Stefan Dirsch sndirsch at suse.de
Wed May 13 16:44:42 PDT 2009


On Wed, May 13, 2009 at 08:42:50PM +0000, Francesco Pretto wrote:
> Hello, this is my need:
> 
> I've installed ubuntu in my nvidia powered notebook; I've learnt how to use the
> same native installation in a VirtualBox environment, using the createrawvmdk
> directive. I've deleted the xorg.conf file and Xorg correctly detects the
> emulated video card ("vboxvideo") when launched within VirtualBox.
> Unfortunately, with a xorg.conf-less configuration, now Xorg choose "nv" as the
> default driver for my nvidia card when booting ubuntu natively. Is there a
> supported and clean way to make it choose the "nvidia" one? I've tried searching
> around: someone points about creating an HAL fdi policy, but without examples.
> Others points about the fact Xorg already have a priority system for loading
> drivers, but there's no informations on how to modify it.
> 
> How I am supposed to do to accomplish this task? Ask me if you need more details.

See discussion on 

  http://lists.freedesktop.org/archives/xorg/2008-July/037098.html

and the following commmits in git master of xserver:

commit 0dbfe0ebc69c307c0626ba824de15d03de1251d4
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Mon Jul 21 03:50:15 2008 +0300

    Revert "Try nvidia before nv under the assumption that people who install it
 usually want to *use* it, too."
    
    Per mailing list discussion.
    
    This reverts commit 66fb253082ea42179180303393e48846208987fa.

commit 66fb253082ea42179180303393e48846208987fa
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Tue Jul 8 02:39:00 2008 -0700

    Try nvidia before nv under the assumption that people who install it usually
 want to *use* it, too.

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
-----------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-----------------------------------------------------------------



More information about the xorg mailing list