Re: New API and X option UseFBDev
flat view
From: Sven Luther <hidden>
Date: 2003-09-09 10:09:25
On Tue, Sep 09, 2003 at 07:49:55AM +0100, Jim Hague wrote:
I've been moving the pm2fb driver to the new API (currently working under
2.6.0-test3). I've got it working unaccelerated; still need to add acceleration
and option handling and tidy up.
I have a problem when I try and run X (Debian 4.2.1-11 20030829103906). My
config uses the Glint driver with UseFBDev true, and works fine on 2.4.22. It
fails on 2.6 like this:
(II) Setting vga for screen 0.
(**) GLINT(0): Depth 16, (--) framebuffer bpp 16
(==) GLINT(0): RGB weight 565
(==) GLINT(0): Default visual is TrueColor
(==) GLINT(0): Using gamma correction (1.0, 1.0, 1.0)
(**) GLINT(0): Option "UseFBDev" "true"
(==) GLINT(0): Using HW cursor
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 0.0.2
ABI class: XFree86 Video Driver, version 0.5
(**) GLINT(0): Using Linux framebuffer device
(--) GLINT(0): Chipset: "ti_pm2"
(--) GLINT(0): Linear framebuffer at 0xCE800000
(--) GLINT(0): MMIO registers at 0xCFFE0000
(EE) GLINT(0): mmap mmio: Invalid argument
(EE) GLINT(0): mmap mmio: Invalid argument
Fatal server error:
Caught signal 11. Server aborting
The lfb and MMIO addresses are correct. Now, I've new to this game and may have
missed filling out a structure field somewhere. But I'm dammed if I can see
what.
It's occurred to me that maybe this just doesn't work and I need an updated
fbdevhw. Do I? Or should it really Just Work?I think the glint driver is hardcoded to expect amiga hardware when using pm2 with fbdev. Just don't use the usefbdev option, and everything should be fine. the glint driver does not really support usefbdev anyway, only as a hacky workaround for amigas with cybervision/bvision graphic board. Friendly, Sven Luther ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf