Author Topic: OpenDingux update 2014-08-20  (Read 10667 times)

raygan

  • Posts: 158
    • I'm on Twitter and stuff...
Re: OpenDingux update 2014-08-20
« Reply #20 on: August 21, 2014, 10:11:39 pm »
Quote
By default, scaling will preserve the aspect ratio, but if you prefer to have no black borders even if that means distorting the image, you can switch modes using Power+A.

Is this setting meant to be preserved between reboots? I prefer the no-black-borders option but find I need to set it using Power+A every time I restart my Zero. (Not sure if this is a bug report or a feature request!)

mth (OP)

  • Posts: 317
Re: OpenDingux update 2014-08-20
« Reply #21 on: August 22, 2014, 12:01:42 am »
Is this setting meant to be preserved between reboots? I prefer the no-black-borders option but find I need to set it using Power+A every time I restart my Zero. (Not sure if this is a bug report or a feature request!)

No attempt is made to preserve it, so I guess that makes it a feature request.

David Knight

  • Posts: 577
Re: OpenDingux update 2014-08-20
« Reply #22 on: August 22, 2014, 02:19:49 am »
Just tested hardware scaling on my new project and it scales from 640x480 down to 320x240 perfectly ;D

pcercuei

  • Posts: 1675
    • My devblog
Re: OpenDingux update 2014-08-20
« Reply #23 on: August 22, 2014, 11:09:01 am »
Ah, a small note. As SDL2 does not support X11-less Linux devices, we had to write our own SDL2 backend, and it's hardcoded to 320x240. So SDL2 apps can only use 320x240.

Seph817

  • Posts: 127
Re: OpenDingux update 2014-08-20
« Reply #24 on: August 22, 2014, 05:46:14 pm »
I have a problem. I have a Zero SE and I can't install this update. I installed the 10-04-2013 firmware. Then, I installed the anti-corruption update. Finally, I tried to install the 8-20-2014 firmware. It says "ERROR! Unable to generate image: required files are missing." Did I forget to do something?

No, it seems I forgot to do something...  :-[
The boot loader files are missing from the update.

We will release a bug fix within a few days. Right now, as a workaround, you can install the May 5th update first and then the August 20th update after that.

That worked. Thanks!

ker

  • Posts: 620
Re: OpenDingux update 2014-08-20
« Reply #25 on: August 26, 2014, 12:09:04 am »
Adding X-OD-NeedsDownscaling=true to a .desktop file, by itself, will NOT make an application use the IPU. Please do not unpack OPKs, add this key then repack them. It would be a waste of time. The key is a hint to the system that your code may need some things that would hinder performance if enabled for all applications, such as 640x480 software rendering.

One needs to add the SDL_SetVideoMode call to their code, with over-320x240 dimensions, and set X-OD-NeedsDownscaling (or simply use under-320x240 dimensions without setting the key), to form an OPK that properly uses this feature.

I've done a test with FloboPuyo (originally 640x480) I've downloaded source from http://flobopuyo.sourcearchive.com/downloads/0.20-5/ and compiled it with the new toolchain. I've also added X-OD-NeedsDownscaling key to the OPK. Game launches but doesn't look very well:



Is there something else I must change?

Nebuleon

  • Guest
Re: OpenDingux update 2014-08-20
« Reply #26 on: August 26, 2014, 01:09:24 am »
a) What did you change from the source release, or did you change absolutely nothing?

b) Can you find the place in the code that sets the video mode and figure out whether something is wrong around it?

c) What is the content of your .desktop file?

ker

  • Posts: 620
Re: OpenDingux update 2014-08-20
« Reply #27 on: August 26, 2014, 01:50:04 pm »
a) What did you change from the source release, or did you change absolutely nothing?

b) Can you find the place in the code that sets the video mode and figure out whether something is wrong around it?

c) What is the content of your .desktop file?

I've replied you here: http://boards.dingoonity.org/gcw-games-and-homebrew/port-request-flobopuyo/msg112093/#msg112093 to leave this thread as clean as possible.

 

Post a new topic