[Xorg] can't xorg detect on bootup which gfx card is installed?
ajax at nwnk.net
Sun Aug 15 12:45:18 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 15 August 2004 17:40, Kristof Vansant wrote:
> root at lupus:/home/lupus# lspci | grep VGA
> 01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti
> 500] (rev a3)
> so the driver is nv, I don't understand what the problem is.
Please stop top-posting.
The problem is that we have no way to bind a PCI ID to a driver before the
driver is loaded. We don't have a database anywhere saying "this chip id
means i need this driver". Clearly you as a human can look at the pretty PCI
name and know, but the server isn't that smart yet. What we'd want to do is
put that list in the driver itself, so when we first dlopen the driver we can
ask it what PCI IDs it supports.
And in fact we have all the necessary information in the drivers already -
since they all have to check for supported chips somehow - it's just a matter
of factoring that out into a common data structure and teaching the server to
read that at module open time.
The problem here would be stupid buses like ISA, but I'm perfectly willing to
tell people insane enough to use ISA video cards that they need to explicitly
specify their driver or else be stuck with vga(4) or vesa(4). I think pretty
much every other bus type (maybe excluding VLB) is capable of sane
- - ajax
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the xorg