It looks like X has this new approach of working without a xorg.conf and instead letting udev do all the configuration. Is there a nice description of this out there?

More specifically I installed nvidia drivers and they created a x-config file. Now if I want to remove this config file. What to I have to set up in udev to get Xorg automatically choose the nvidia driver?

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

Xorg only uses udev for input devices. Graphics device configuration is still handled via xorg.conf if the autoconfiguration defaults do not work for you.

link|improve this answer
Is there a wiki or something, which explains how to configure input devices with udev? And which options there are for which input device etc. – user75250 Apr 13 '11 at 8:22
feedback

What distribution are you using? With Debian, for example, you'll have to create an xorg.conf. First do the following:

apt-get install module-assistant nvidia-kernel-common

m-a auto-install nvidia-kernel-source

Then make an xorg.conf that contains the following:

Section "Module"
    Load        "glx"
EndSection

Section "Device"
    Identifier  "Video Card"
    Driver      "nvidia"
EndSection

You can find more details here.

link|improve this answer
Yes such a file was created, when I installed the nvidia. I thought the new way of configuring X was to use udev. But this only works for input devices (see other answer). – user75250 Apr 13 '11 at 8:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.