Opened 5 years ago
Last modified 2 years ago
#15714 new bug
Don't filter out low resolution video modes as they are used for gaming
Reported by: | mmu_man | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Boot Loader/BIOS | Version: | R1/Development |
Keywords: | VESA | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
The VESA code in the bootloader filters out resolutions lower than 640 pixels width. While they aren't really usable for Haiku itself, some emulators like BeMAME can make use of them when going full-screen.
cf. https://git.haiku-os.org/haiku/tree/src/system/boot/platform/bios_ia32/video.cpp#n502
Should we just remove this limitation or add a kernel setting to do it?
Change History (6)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Yes, it can become too long. One ridiculous list i have in mind is the Amiga list with all the custom mode added or all the different interlace-PAL-NTSC combo etc...
Perhaps a collapsable list with the name "legacy resolution". Or (if the current resolution allow to display it), This interface https://en.wikipedia.org/wiki/File:Vector_Video_Standards2.svg instead of a simple list would give more information.
comment:4 by , 2 years ago
Wouldn't it make more sense to add a flag to the fullscreen window and let the emulator set this resolution itself directly? if ghe window with the flag is destroyed the app_server could then restore the resolution on it's own.
comment:5 by , 2 years ago
That's the point of this ticket, currently the driver filters out these resolutions and it's not possible to set them from an app, no matter how hard you try.
This shouldn't be the case, the driver should do whatever is asked by apps.
comment:6 by , 2 years ago
We should only display resolutions in the screen preflet we know haikus UI can run properly with, we already mention a minimum required resolution in the release notes. some apps will not fit on screen with the default font size otherwise (for example preferences/locale)
We can remove the limitation, but we may need to rework the Screen preferences a bit if the list of available modes becomes too long?