[PATCH] Remove deprecated "nv" driver from autoconfiguration list
mark.kettenis at xs4all.nl
Wed Mar 31 14:18:42 PDT 2010
> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Wed, 31 Mar 2010 13:38:08 -0700
> Nvidia hardware will now default to "vesa" until an xorg.conf file is
> created to set it to "nv", "nvidia", or "nouveau".
The vesa driver only works on i386/amd64. Where does this leave users
of other architectures? Quite a few PowerPC Mac's have nvidia hardware.
> We've had reports of displays that fail to autoconfigure because
> Xorg tries to use "nv", but nv fails when DisplayPort is in use.
Still the majority of the hardware out there will still work. And
monitors that have a DisplayPort connector typically don't have a
resolution that's a very good match to the vesa driver isn't it?
> Given nvidia's recent announcement deprecating the nv driver,
> and that nv will never support DisplayPort, the vesa driver
> seems a safer default for autoconfiguration than nv.
I disagree. If Nvidia decides to screw over the open source
community, it doesn't mean we have to bend over backwards. Isn't
"nouveau" ready to take over the role of "nv" yet?
> diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
> index 7b836b0..a6f0c57 100644
> --- a/hw/xfree86/common/xf86AutoConfig.c
> +++ b/hw/xfree86/common/xf86AutoConfig.c
> @@ -192,7 +192,7 @@ videoPtrToDriverList(struct pci_device *dev,
> case 0x102b: driverList = "mga"; break;
> case 0x10c8: driverList = "neomagic"; break;
> - case 0x10de: case 0x12d2: driverList = "nv"; break;
> + case 0x10de: case 0x12d2: /* nv is deprecated */ break;
> case 0x1106: driverList = "openchrome"; break;
> case 0x1b36: driverList = "qxl"; break;
> case 0x1163: driverList = "rendition"; break;
More information about the xorg-devel