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

2009-05-15 Thread Francesco Pretto
Aaron Plattner aplattner at nvidia.com writes: You can sort of do this, but you do need an xorg.conf. For example, ... Yes, it worked! Here is the xorg.conf I am using now: --- Section ServerLayout Identifier default layout Screen 0

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

2009-05-15 Thread Francesco Pretto
Daniel Stone daniel at fooishbar.org writes: If you want to configure Xorg, why not use xorg.conf? As I've just answered to Aaron, I was able to produce a xorg.conf that works for my setup. I consider it a workaround (somewhat dirty) as it's based on failing of another driver loading. There

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

2009-05-15 Thread Francesco Pretto
Francesco Pretto ceztkoml at gmail.com writes: Yes, it worked! Here is the xorg.conf I am using now: Hmmmthe next one is simpler and works better in virtualized environment (it's more dynamic regarding screen size): - Section ServerLayout

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

2009-05-14 Thread Francesco Pretto
Stefan Dirsch sndirsch at suse.de writes: See discussion on http://lists.freedesktop.org/archives/xorg/2008-July/037098.html and the following commmits in git master of xserver: commit 0dbfe0ebc69c307c0626ba824de15d03de1251d4 I'm sorry, but this not a very useful answer. You are

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

2009-05-14 Thread Rémi Cardona
Francesco Pretto a écrit : 1) You've pointed me the driver loading priority is hardcoded in Xorg so can't be changed by normal users. Maybe HAL fdi policies files can be used to accomodate my task? HAL is only used for input drivers. So the answer here is no as well. 2) If there's no

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

2009-05-14 Thread Daniel Stone
On Thu, May 14, 2009 at 06:58:44AM +, Francesco Pretto wrote: I'm sorry, but this not a very useful answer. You are basically saying the driver loading priority of Xorg is hardcoded and if you want to change it, recompile Xserver. I've already read that discussions in the past: I DON'T

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

2009-05-14 Thread Aaron Plattner
On Wed, May 13, 2009 at 11:58:44PM -0700, Francesco Pretto wrote: Stefan Dirsch sndirsch at suse.de writes: See discussion on http://lists.freedesktop.org/archives/xorg/2008-July/037098.html and the following commmits in git master of xserver: commit

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

2009-05-14 Thread Stefan Dirsch
On Thu, May 14, 2009 at 05:20:08PM +1000, Daniel Stone wrote: On Thu, May 14, 2009 at 06:58:44AM +, Francesco Pretto wrote: I'm sorry, but this not a very useful answer. You are basically saying the driver loading priority of Xorg is hardcoded and if you want to change it, recompile

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

2009-05-14 Thread Francesco Pretto
Rémi Cardona remi at gentoo.org writes: So you want a configurable option *without* a configuration file? What's wrong with having a _really_ dumb xorg.conf that only has one Device section? Because it doesn't work! I've tried to create a xorg.conf as simple as this: Section Device

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

2009-05-14 Thread Justin P. Mattock
On Thu, 2009-05-14 at 09:09 +0200, Rémi Cardona wrote: Francesco Pretto a écrit : 1) You've pointed me the driver loading priority is hardcoded in Xorg so can't be changed by normal users. Maybe HAL fdi policies files can be used to accomodate my task? HAL is only used for input

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

2009-05-14 Thread Francesco Pretto
Daniel Stone daniel at fooishbar.org writes: If you want to configure Xorg, why not use xorg.conf? Because, as I've replied to Rémi, I don't know how to produce a *single* xorg.conf that will work in *both* native and virtualized ubuntu as I've explained. If it's possbile, it doesn't seems so

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

2009-05-14 Thread Francesco Pretto
Aaron Plattner aplattner at nvidia.com writes: Hope that helps! It seems tricky, but will try it later. Thanks ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg

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

2009-05-14 Thread Alan Coopersmith
Stefan Dirsch wrote: What he wants to have is a config file (system) for the driver priority system. We don't have this. It's hardcoded. Actually it would make sense to have this configurable. Then, when updating a driver with new chip support, you could update this config file (system)

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

2009-05-13 Thread Francesco Pretto
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

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

2009-05-13 Thread Stefan Dirsch
On Wed, May 13, 2009 at 08:42:50PM +, 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