Search found 170 matches

by Locutus73
Sat Oct 20, 2018 7:19 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Sorgelig wrote:I discovered if i grab 5 apples then there will be 5 apples in my hands. Magic!



Regards.
Locutus73

by Locutus73
Sat Oct 20, 2018 6:32 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

I discovered today that if you build the cores with 1920x1200 as maximum input and output, you can use 1920x1200 resolution with mister, and the new integer scaling will correctly do 5x scaling to 1200. It might be worth building cores with 1200p support going forward. Hi, are you Rysha or Jeebs on...
by Locutus73
Fri Oct 19, 2018 3:01 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

It's not Altera specific thing. It's common known polyphase filtering. some info is here: https://www.embedded.com/print/4017531 Good, and do you have the coefficients used by default when not using coeff.txt? Do they correspond to coeff_pp.txt? Anyway as far I understand each row is a phase with i...
by Locutus73
Fri Oct 19, 2018 12:05 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

example of coeff.txt file for NN is here: https://github.com/MiSTer-devel/Main_MiSTer/blob/master/coeff_nn.txt Great man! So maximum customization for each axis. Is there any Altera doc somehow describing the parameters in order to fiddle with those not using completely random numbers? [EDIT] I gue...
by Locutus73
Thu Oct 18, 2018 8:11 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Sorgelig wrote:By the way, is there an online calc of Lanczos function on given amount of taps and phases?

This morning I searched for something like that or a computer program to do that, but I didn’t find anything.
That doesn’t mean there is no one available, but I didn’t find it.

Regards.

Locutus73
by Locutus73
Thu Oct 18, 2018 7:26 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Sorgelig wrote:
Locutus73 wrote:I knew that once we stimulate your curiosity you're unstoppable man!

yeah.. like to tell the joke to entertain yourself...

Language barrier: I didn’t understand what you mean :(

Regards.

Locutus73
by Locutus73
Thu Oct 18, 2018 7:07 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

can Quartus VIP scaler use different sets of parameters for horizontal and vertical scaling? So we could i.e. integer scale using NN the vertical axis and non integer scale the horizontal axis using "pixel edge interpolation" yes. Coefficients can be independent on X and Y. Coefficients c...
by Locutus73
Thu Oct 18, 2018 6:45 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

It seems Polyphase can be turned to Near Neighbor by coefficients. Testing now - and it looks exactly the same as NN. Great news dude! Now, if tests are successful, I believe that, if the right taps/coefficients can turn polyphase into NN for integer scaling, another similar set of taps/coefficient...
by Locutus73
Thu Oct 18, 2018 1:27 pm
Forum: MiSTer
Topic: Poll about prefered scaling quality
Replies: 29
Views: 1882

Re: Poll about prefered scaling quality

Integer scaling is possible only one ONE axis while another won't be integer. In analog TV era there was no standard for pixel clock, so different systems have different pixel clocks. So in order to represent it with 4:3 aspect ratio non-integer scaling on other axis should be used. Yeah, I was goi...
by Locutus73
Thu Oct 18, 2018 1:11 pm
Forum: MiSTer
Topic: Poll about prefered scaling quality
Replies: 29
Views: 1882

Re: Poll about prefered scaling quality

(1) I actually do know what I'm talking about. Not "having a strong opinion about something I haven't tried". I've written several crt style scanline shaders for retroarch and MAME. I've had to worry about proper interpolation and how to balance sharpness vs shimmering. Also I'm a mathema...
by Locutus73
Thu Oct 18, 2018 1:03 pm
Forum: MiSTer
Topic: Poll about prefered scaling quality
Replies: 29
Views: 1882

Re: Poll about prefered scaling quality

The best way would be to use NN to scale to 2x, 3x or 4x resolution (whatever is smaller than final resolution), and then use some form of sinc resampling (Lanczos, ...) to scale the video to final resolution. That way you get best of both methods, unfortunately it will also be hardest to implement...
by Locutus73
Thu Oct 18, 2018 11:17 am
Forum: MiSTer
Topic: MISTer Ethernet (not so) strange behaviour
Replies: 20
Views: 1273

Re: MISTer Ethernet strange behaviour

Same problem here: a single DE10-Nano in my network connected through etherenet to an Airport Express as a bridge and a pfSesnse firwall running DHCP. Each time I turn on MiSTer it gets two distinct local addresses I can see in the DHCP lease table. I deleted the entries, but again two addresses. If...
by Locutus73
Thu Oct 18, 2018 7:49 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Sorgelig wrote:I cannot control parameters of bilinear filter in run-time. Even in compile time on coefficient fractional bits can be changed.

How can we get a list of run-time variable coefficients for different algorithms?

Thank you in advance.
Best regards.

Locutus73
by Locutus73
Thu Oct 18, 2018 7:47 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

If HDMI resolution is 1920x1080, it's already hard to process this resolution while you offer to magnify beyond this? You will climb to incredible clocks and hit the low-cost FPGA limits I’m not talking about doubling 1920x1080 but having a single line buffer (we discussed early) large enough to ac...
by Locutus73
Thu Oct 18, 2018 7:34 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

I cannot change algo at runtime, I know that. but i can change coefficients. Oh my, that's interesting... Since you are familiar with scaling, Don’t think I’m so expert… I know random stuff learned over the internet since I’m interested in gaming and I’m a software guy, but I’m not an expert in sig...
by Locutus73
Thu Oct 18, 2018 7:12 am
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

For single line buffer it's possible to use BRAM 1920x24 bits. If use it to feed into scaler through standard serial input then it will require variable pixel clock (or at least maximum possible pixel clock). It sounds not very complicated until u start to implement it. Amen bro’, I’m a software gu...
by Locutus73
Wed Oct 17, 2018 7:46 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

@Sorgelig: Can you please test Snow Bros scrolling intro sequece? Can't you see horrible shimmering there with NN? no shimmering. May be you mean stuttering which which is more noticeable due to hard edges? For smooth scrolling you need to use vscroll_adjust=1 option in MiSTer.ini. And if your moni...
by Locutus73
Wed Oct 17, 2018 7:34 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Please, could you consider a 100 Euros donation to produce two versions of each core (NN and POLYPHASIC) when you do these periodic releases? I would also send you some FPGA boards for free, like two Altera DE1 and 3xZX-UNOs, appart from the money. Oh, my... :roll: Donations are for saying thank yo...
by Locutus73
Wed Oct 17, 2018 5:32 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

My HDMI lite scaler renders the full frame to allow output frame rate be different from input. So it requires triple full frame buffer of max possible size (1920x1080). Right, and that’s because it directly outputs to HDMI. But could it be theoretically reduced to a single line buffer for integer m...
by Locutus73
Wed Oct 17, 2018 5:25 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

vanfanel wrote:So I won't be able to produce a core that works for more than 1 hour if I use the free Quartus version, right?

Exactly.

Regards.
Locutus73
by Locutus73
Wed Oct 17, 2018 5:09 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Are there instructions to build the cores from sources? This is a good starting point https://github.com/MiSTer-devel/Main_MiSTer/wiki/Core-porting-notes And here you can see the changes in Genesis vip.qsys https://github.com/MiSTer-devel/Genesis_MiSTer/commit/71df9d6dcb54aa804d27c89e568d4ba494c0b6...
by Locutus73
Wed Oct 17, 2018 5:04 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

It's possible, but as i've said it's quite unstable. It uses DDR3 for buffer and due to instability it may corrupt the Linux memory as well. It is my understanding that DDR3 is biparted and used both by Linux and cores, but there is no inner protection method, so if a core misbehaves it’s game over...
by Locutus73
Wed Oct 17, 2018 4:55 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

I compared Sonic (JPN) version for the latest core vs the version from the 10th, and the smoothness of movement for the clouds look identical. The higher the resolution (1080p is high) and the greater the TV/Couch distance, the less you see NN defects, mantaining all its pros, since eyesight does a...
by Locutus73
Wed Oct 17, 2018 4:51 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Wouldn't it be possible to pass this value or POLYPHASE as a parameter on core/menu boot? That way, it could be configured as a general option for cores supporting it. Nope, that's a value used at compile time to build two completely different scalers. Just out of curiosity, did you look at the sta...
by Locutus73
Tue Oct 16, 2018 4:18 pm
Forum: MiSTer
Topic: Possibility of sharper HDMI output via integer scaling?
Replies: 119
Views: 6770

Re: Possibility of sharper HDMI output via integer scaling?

Sure it's possible to write, but i don't have much experience in high clock FPGA design (it require other kind of knowledge) and prefer to use existing scaler IP. I've wrote primitive HDMI scaler which does only integer scaling. It works but pretty unstable. I see... First of all excuse me if I do ...

Go to advanced search