New API and X option UseFBDev
flat view
From: Jim Hague <hidden>
Date: 2003-09-09 06:50:00
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?
--
Jim Hague - jim.hague@acm.org Never trust a computer you can't lift.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf