I just installed Gentoo and am now trying to get X working. The problem seems to be the video driver, and I suspect also my kernel compile options. I have an Intel 82845G/GL integrated graphics card, which ideally runs on X's i810 driver. But when I try this I get the error
(EE) I810(0): unknown type(0xffffffff)=0xff
and no other errors. I also tried using the VESA driver, which gives a similar error:
(EE) VESA(0): unknown type(0xffffffff)=0xff
And when I tried the VGA driver, X gives no errors, but a blank screen. With all three drivers, I tried enabling and disabling DRI and tried various combinations of kernel options for VGA, VESA, Intel i810/i830/i915, and DRI under Graphics support and Character devices. I'm not sure which options are necessary, and unfortunately it seems that having some options enabled under Graphics support hides options under Character devices.
I also gave it an unsuccessful shot with the Xorg -configure, xorgconfig, and xorgcfg auto-configuration programs.
Google-searching this problem, I found that one nice way to get a starting point is to boot with a Knoppix LiveCD and then copy its auto-generated xorg.conf file. I tried this: Knoppix managed 640x480 16bpp display with VESA and I copied Knoppix's xorg.conf over to my Gentoo root. But when I switched back to Gentoo, I have the same problem as before with Knoppix's xorg.conf.
How can I get X working?
Some other things I am wondering about...
To use an X11 driver for a piece of hardware, does the kernel need to support that hardware? Or conversely, does using an X11 driver require that the kernel does not
support that hardware to avoid conflict? Or third, does an X11 driver work independently of the kernel?
I see kernel options related to my graphics card both under Graphics support and Character devices. What is a Character device vs. Graphics device? Should I enable options under both at the same time?
What exactly does the kernel option "Support Frame Buffer Devices" mean? I have it enabled. Should I disable it?
Maybe the problem is with my X11 installation. How do I tell Portage to reinstall all Xorg X11-related packages?
Thanks for your help.