Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427092 - sys-apps/fbset may provide /etc/fb.modes
Summary: sys-apps/fbset may provide /etc/fb.modes
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 13:28 UTC by Michael Weber (RETIRED)
Modified: 2020-07-29 22:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2012-07-18 13:28:13 UTC
Hi,

I'm currently working on www-client/netsurf, an small (graphical) web browser with framebuffer console support.
It depends on dev-libs/libnsfb -> media-libs/libsdl, which has an 
SDL-1.2.15/src/video/fbcon/SDL_fbvideo.c:#define FB_MODES_DB  "/etc/fb.modes"

netsurf does not start w/o this /etc/fb.modes.

I successfully tried one included in dev-libs/DirectFB as /usr/share/doc/DirectFB-1.4.9-r1/fb.modes.bz2.

sys-apps/fbset itself ships 
  /usr/share/doc/fbset-2.1/fb.modes.ATI.bz2
  /usr/share/doc/fbset-2.1/fb.modes.Falcon.bz2
  /usr/share/doc/fbset-2.1/fb.modes.NTSC.bz2
  /usr/share/doc/fbset-2.1/fb.modes.PAL.bz2

I found debian providing an /etc/fs.modes via it's fbset package
http://packages.debian.org/squeeze/amd64/fbset/filelist
(copied to my site as http://xmw.de/mirror/fb.modes )

Would it make sense to place one general fb.modes into /etc (via fbset) or does it rely on the graphics cards involved? 

I'm adding and elog messages to netsurf about the situation and ask the user to add this file.

Thanks
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-07-18 21:23:17 UTC
Archlinux ships the fb.modes.ATI from fbset-2.1 as /etc/fb.modes [1].

[1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/fbset