NVIDIA, ATI, psb config for F14

Nicolas Chauvet kwizart at gmail.com
Tue Nov 2 12:12:34 CET 2010


2010/10/30 Adam Williamson <adamwill at shaw.ca>:
> So, it seems less and less likely that this is going to be fixed by F14
> GA:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=623742
>
> which means *-config-display won't work, which means enabling nvidia,
> fglrx and psb won't work as currently packaged.
>
> So here's a suggestion: we could replace the use of the *-config-display
> tools to write xorg.conf by simply writing static snippets
> to /etc/X11/xorg.conf.d in %post or from the services. For psb this
> should be trivial as it's an RandR 1.2 driver, I really only need to
> specify the driver name and a couple of options. I think it should also
> be feasible for nvidia / fglrx since they do use EDID detection these
> days - I don't think the stuff actually needed in an xorg.conf snippet
> to enable these drivers has to vary between systems, we should be able
> to just make it a simple snippet.
>
> What does everyone think of this approach, does it seem sensible? It'd
> be nice to push this out to be ready for GA next week.
Indeed, I don't think we can rely anymore on the fedora pyxf86config
for the long term. It seems to be deprecated as system-config-display.

Here is the very basic xorg.conf file needed by the nvidia driver:
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
EndSection

Then I've successfully tested that the ModulePath section could go to
/etc/X11/xorg.conf.d/00-nvidia.conf

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib64/xorg/modules"
EndSection


rpmfusion-config-display is also affected by the crash, so we need to
redesign it anyway.

The drawback is that we become more and more static. We will also not
be alble to fallback to another driver in the case of a missing nvidia
module.
But I think that feature was already broken and it's now even more
broken with the f14 crash of livna-config-display. So it would be
better for livna-config-display to be removed at all. So users can
have a working configuration on install without having it broken
afterward because of that crash.

Nicolas (kwizart)


More information about the rpmfusion-developers mailing list