Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 427092

Summary: sys-apps/fbset may provide /etc/fb.modes
Product: Gentoo Linux Reporter: Michael Weber (RETIRED) <xmw>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: denilsonsa, games, spock
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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