Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692926 - media-libs/libsdl2 - Add USE=directfb
Summary: media-libs/libsdl2 - Add USE=directfb
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-27 03:40 UTC by anonymous
Modified: 2019-08-27 21:47 UTC (History)
1 user (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 anonymous 2019-08-27 03:40:15 UTC
libsdl2 supports directfb, but it's not exposed as a use flag. I want to use it to launch emulationstation on framebuffer.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2019-08-27 03:49:38 UTC
(In reply to crocket from comment #0)
> libsdl2 supports directfb, but it's not exposed as a use flag. I want to use
> it to launch emulationstation on framebuffer.

DirectFB was removed and, iirc, broken.  I don't think we can accommodate this request.
Comment 2 James Le Cuirot gentoo-dev 2019-08-27 19:03:42 UTC
Yeah, sorry, DirectFB is dead and buried but the good news is that gbm will give you SDL2 on the framebuffer. Mesa's gbm support will even give you 3D acceleration.
Comment 3 anonymous 2019-08-27 21:32:55 UTC
Could alacritty use mesa's gbm support to render itself on linux framebuffer?
Comment 4 anonymous 2019-08-27 21:39:06 UTC
libsdl2 doesn't have gbm use flag, but has kms use flag.
Comment 5 James Le Cuirot gentoo-dev 2019-08-27 21:47:32 UTC
(In reply to crocket from comment #4)
> libsdl2 doesn't have gbm use flag, but has kms use flag.

That's what I meant as the two are related. SDL called the driver KMS but it needs Mesa's GBM support.

(In reply to crocket from comment #3)
> Could alacritty use mesa's gbm support to render itself on linux framebuffer?

Given that it natively supports Wayland, it might do but I've never tried alacritty before. It may rely on Wayland or X11 for input though as it doesn't use SDL or anything else that would provide that. The build will also pull in X11 stuff anyway because I guess Rust doesn't have a preprocessor and also because the virtual/opengl dependency now always implies X11. The dependency may need to be changed.