Giter Site home page Giter Site logo

Comments (7)

IanSB avatar IanSB commented on July 26, 2024 1

@JanBeta

Updated to beta10 due to cache alignment timing issue:
https://github.com/IanSB/RGBtoHDMI/releases/download/626a527/beta10.zip

from amiga-digital-video.

c0pperdragon avatar c0pperdragon commented on July 26, 2024

Contacted Jan to tell him of this possible solution...

from amiga-digital-video.

JanBeta avatar JanBeta commented on July 26, 2024

Hi, thanks so much for the help!

Changing the hdmi_drive=1 option to hdmi_drive=2 instantly fixed the problem.

For reference, I use an Elgato HD 60 S USB capture card and the colors were slightly off, with black displaying as green, when capturing video from the RaspberryPi output. No matter what settings I chose for the capturing card, the issue remained the same. Changing the above in the config.txt and default_config.txt on the Pi fixed it.

Again thanks for the help and of course for the amazing work from both of you. :)

Jan

from amiga-digital-video.

IanSB avatar IanSB commented on July 26, 2024

Changing the hdmi_drive=1 option to hdmi_drive=2 instantly fixed the problem.

Thanks for the confirmation
I've added a new "HDMI Mode" setting in the main menu with options:
DVI Compatible
HDMI (Auto RGB/YUV)
HDMI (RGB Limited)
HDMI (RGB Full)
HDMI (YUV Limited)
HDMI (YUV Full)

It will still default to DVI Compatible on first install as that ensures you get an image on all monitors.
If you change the setting to one of the HDMI options you will lose output on a DVI monitor. To recover from that you have to hold the button down during power up which will reset it back to DVI Compatible mode.

There will be a new release shortly with that and some other updates.
BTW to make it easier to update the software or retrieve screencaps (short presses of the switch screencap the image to a png file and write it to the SD card) you can use a micro SD extender and route that to the trapdoor on the A500 so you don't have to completely dismantle the Amiga.
e.g.
https://www.ebay.co.uk/itm/Micro-SD-To-TF-Card-Extension-Cable-Flexible-Extender-Adapter-Reader-Phone-UK-ti/383835410420
Check your local ebay for a suitable supplier.

from amiga-digital-video.

IanSB avatar IanSB commented on July 26, 2024

@JanBeta

There is a beta test version here with the above HDMI setting:
(removed, see below)

This also has support for basic scanlines with the Amiga (They previously only worked at lower bit depths) although the level is not adjustable so they can only be black.
There is a setting in the preferences menu which now works with the Amiga:
"Swap Aspect 625<>525"
When set to "on" it changes the aspect ratio of the output to mimic the aspect ratio of the other standard which means that any Amiga games which were written for 525 Amigas can be displayed at full height 525 aspect ratio on a 625 line Amiga.
e.g:
Normal:
capture80
Swap Aspect set to "on":
capture81

Let me know if it works for you.

from amiga-digital-video.

JanBeta avatar JanBeta commented on July 26, 2024

Thanks for the updates! Tested the linked beta10 for some hours and everything seems to work as expected.

The 625/525 switching seemed to revert back sometimes (could only reproduce it once) when the software switched resolutions (I used Giana Sisters, title screen is interlaced, the rest is regular lo-res). Most of the times it worked without any problems.

The scanlines worked for me, too. Only tried it in low resolution though.

The slight flicker/sudden appearance of lines on the screen has completely disappeared (probably the timing fix you mentioned?), picture is rock stable and smooth now.

Switching HDMI modes works flawlessly. Video capture works without any problems in all screen modes, output directly to a monitor still works fine, too.

Made a little update video on my channel, too: https://youtu.be/9baCd5O2nG4

Thanks again for your amazing work! :)

from amiga-digital-video.

IanSB avatar IanSB commented on July 26, 2024

@JanBeta

The slight flicker/sudden appearance of lines on the screen has completely disappeared (probably the timing fix you mentioned?), picture is rock stable and smooth now.

Yes there was a change to fix that. It only showed up on 1920x1080 screens and I have been mostly testing with a 1600x1200 monitor so I missed it.

The 625/525 switching seemed to revert back sometimes (could only reproduce it once)

That is probably caused by the Auto Sub-profile switching.

There are two types of profile: Single profiles and Sub-Profile Sets, both stored in /profiles/Simple on the SD card.

Single profiles are stored as single .txt files and Profile Sets are stored as folders containing multiple .txt files (These are shown in the "Sub-profile" line.)

The profile sets were initially added to support auto PC mode switching from CGA to EGA etc and the profile that matches the incoming sync signals is auto selected from the files in the folder but they are also used to store both PAL and NTSC profiles for some computers like the Amiga so the correct profile will be auto loaded when connected.

Whenever the sync timing changes, the software scans the sub-profiles and reloads the correct one overwriting your temporary setting and switching on/off interlace probably caused enough of a sync timing change to trigger that.

One workaround is to save the configuration after turning on the option as it will then re-load the saved config instead of the original but that setting will then persist until you restore default config.

Another workaround is to set "Auto Switch" from "Sub-Profile" to Off which will allow manual selection of the Sub-Profile and stop the auto loading from overwriting your setting. (Note the first press will set Auto Switch to "BBC Mode7" which is used by the BBC micro and that will make the screen go a bit crazy until you press again).

It should be possible to fix this properly by checking to see if the same profile is being reloaded again and only reload if the profile is different.

from amiga-digital-video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.