Bug#182704: Debconf configuration sets use_fbdev without asking, making X unstartable
- To: Branden Robinson <email@example.com>, firstname.lastname@example.org
- Cc: Michel Dänzer <email@example.com>
- Subject: Bug#182704: Debconf configuration sets use_fbdev without asking, making X unstartable
- From: Sven Luther <firstname.lastname@example.org>
- Date: Sat, 1 Mar 2003 11:32:32 +0100
- Message-id: <20030301103232.GA2649@iliana>
- Reply-to: Sven Luther <email@example.com>, firstname.lastname@example.org
- In-reply-to: <20030301012702.GA30372@deadbeast.net>
- References: <20030227122616.GA8047@torrent> <1046368262.12963.13.camel@thor> <20030227204838.GC9020@torrent> <1046444710.1850.63.camel@thor> <20030228165259.GO18499@deadbeast.net> <1046454955.1932.124.camel@thor> <20030228192127.GY18499@deadbeast.net> <1046466293.4141.143.camel@thor> <20030301012702.GA30372@deadbeast.net>
On Fri, Feb 28, 2003 at 08:27:02PM -0500, Branden Robinson wrote:
> On Fri, Feb 28, 2003 at 10:04:53PM +0100, Michel D?nzer wrote:
> > > Uh, so it sounds like you're telling me that /proc/fb is essentially
> > > useless for autoconfiguring the X server.
> > >
> > > 1) /proc/fb reporting something doesn't mean you can just switch on
> > > "UseFBDev", because that won't work with "generic [kernel] drivers"
> > I do think parsing /proc/fb to determine this is feasible, we just need
> > to gather enough data.
> Well, why don't you get me started with some, and we can add more as
> time goes by?
I think not all X drivers support (or even need) the UseFBDev flag.
For example, the glint driver doesn't know anything about UseFBDev, and
will work just fine without it, even if you were using pm3fb for
example. That said it doesn't use the fbdev for mode configuration or
Now, the glint driver for pm2fb on amiga/apus hardware, will autodetect
that we are on amiga/apus, and start using the fbdev in this case. More
or less, michel wrote that code, so he knows more than me on this issue.
Anyway, i guess the best solution would be to check each X driver, and
see if it supports the UseFBDev option. Then you can either parse the
/proc/fb for appropriate drivers, with a mapping like Michel suggest, or
use the pci ids the driver supports. Still you would need to check if
the specific fbdev was loaded before setting the UseFBDev or something