new version is much easier to use.Grabulosaure wrote:Another version !
As i guess now can use any address of framebuffer divisible by 256?
Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team
new version is much easier to use.Grabulosaure wrote:Another version !
Is it really useful to be able to choose the order?Sorgelig wrote:i've added changes to Ascal for R/B swapping in Menu_MiSTer repository.
You can accept my changes or make your own. Up to you.
It's better to have a choice so both orders can be used in case. My FB driver accepts both orders, so it can be changed on the fly.Grabulosaure wrote:Is it really useful to be able to choose the order?Sorgelig wrote:i've added changes to Ascal for R/B swapping in Menu_MiSTer repository.
You can accept my changes or make your own. Up to you.
And RGB565 seems a bit more common than RGB555. And there is one extra bit of green paint!
I won't be at home this WE and won't be able to test. Sorry. I'll look at the code though.Sorgelig wrote:further investigation shown that pll_hdmi_adj is guilty in HDMI initialization problem.
Somehow it interfere with ADV7513 configuration. Once i set llena = 0; lltune = 0; i've got Menu core working. Even standard disable lowlat mode from HPS side doesn't prevent the problem. It's not a problem to disable pll_hdmi_adj in Menu explicitly, but it shows that any ADV7513 config from other cores is simply ignored. Probably pll_hdmi_adj should wait i2c bus activity to finish before issue any HDMI frequency configuration.
P.S.: somehow lltune bus affects this problem. So i have to set lltune = 0 to make ADV7513 config to work.
I've pushed the fix to Menu repository. May be you can just check if it can interfere the vsync_adjust function or not.Grabulosaure wrote:I won't be at home this WE and won't be able to test. Sorry. I'll look at the code though.
It's strange that llena=0 doesn't completely passivate PLL_ADJ.
The ADV7513 PLL tuning during HDMI initialisation probably doesn't like having an irregular input clock.
One day I'll revise again that PLL stuff, but I've tried so many times...
Would the OSD still work on the RGB 15 pin or is this the point where RGB is depreciated? Maybe with 'vga_scaler=1'? I know you have always said that the RGB output is for developers and standard MiSTer output is HDMI. Definitely not complaining, I'm just curious....Sorgelig wrote:Just thought: we are very close to HPS OSD implementation. If you can make rendering HPS buffer over the core video with alpha channel (32bit RGBA color) then i will move OSD to HPS side. Then more fancy OSD will be possible.
To save resources and bandwidth It's possible to simplify some parts. For example HPS buffer can be restricted to integer-only magnification NN-only. It's also ok to limit max HPS buffer resolution to 1280x720 (960x540 can be used for 1920x1080).
This is a pretty important detail.Sorgelig wrote:yeah.. I always forget about VGA output... VGA going to have a problems.. vga_scaler can solve this but i guess purists won't like it.
I think someday it would be good to have OSD widgets like sliders and number pickers. There are many things that could benefit by such a setting, like volume mixing adjustments, screen sizing, and other things of this nature. Maybe for now maintaining is both is okay, but I could see it becoming a limitation in the future. Maybe not. You know this system much better than me, so if you think maintaining both isn't a problem, then that's okay by me.Sorgelig wrote:Having 2 separate scalers is very bad idea - it will consume to much resources. So when you use vga_scaler=1 it implies you don't need HDMI. You still can use both VGA and HDMI with scaler if output resolution is the same and both displays support it.
Scaler supports very low resolutions and slow pixel clocks. You can see TV-friendly resolution is listed in Gameboy core readme. So, it's possible to temporary switch to scaler output when OSD is active. Usually CRT instantly catches new resolution, so it won't be a problem to switch between 2 resolutions. Probably still can maintain the current OSD for VGA only. I don't plan to re-design the OSD data. If Scaler will be able to blend the FB onto core video, then it will have better looking menu while the OSD data from core will remain the same. So it should be compatible with both OSD systems.
How do you use the fbv picture viewer?Sorgelig wrote:Ok. First release with frame buffer.
It also includes fbv picture viewer.
Code: Select all
fbv - The Framebuffer Viewer
/media/fat/PICS/test.png
1275 x 716
Code: Select all
fbv -fer /media/fat/screenshots/SNES/*
That should work over SSH when running 'menu.rbf' core? I'm not seeing it do anythingSorgelig wrote:or:Code: Select all
fbv -fer /media/fat/screenshots/SNES/*