Hi, I'm building a total general Linux installation that should run on lot's of different hardware with maximal support. There is excellent support these days for Xorg-autoconfiguration; it all just works witout an xorg.conf. There was an official commit, which was reversed, because Xorg does not support nvidia at all (http://www.nabble.com/revert-b59757e468227127b91fff17b523da4deec8b04d-td18558857.html), but Gentoo does. I'd be happy to see the following patch applied (only), when VIDEO_CARDS includes "nvidia", so people with nvidia can live without hardcoded xorg.conf as well. Thanks. diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 7e5fab4..66da7a9 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -164,7 +164,8 @@ videoPtrToDriverName(struct pci_device *dev) case 0x102b: return "mga"; case 0x10c8: return "neomagic"; case 0x105d: return "i128"; - case 0x10de: case 0x12d2: return "nv"; + case 0x10de: return "nvidia"; + case 0x12d2: return "nv"; case 0x1163: return "rendition"; case 0x5333: switch (dev->device_id) Reproducible: Always Steps to Reproduce: 1. Emerge nvidia-drivers and xf86-video-nv 2. Delete xorg.conf 3. See Xorg picking the nv driver instead of the better nvidia Expected Results: I'd like to see nvidia chosen; that's why I installed it
Sorry, I have no interest in adding patches that aren't supported by upstream. Feel free to keep the patch in your overlay. Otherwise, you can have a nice simple xorg.conf (works for me with 1.5.3): metis $ cat /etc/X11/xorg.conf Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection
I understand, I'll keep a patched version in my overlay. The xorg.conf snipped does not help because the same system should run on NVidia, ATI and Intel hardware without any modifications, which it does with my patched xorg-server. Thanks for your time.