Lcd Colour Correcting Daemon For Mkii's

Do you like it?

  • Yes

    Votes: 0 0.0%
  • I can't see what it does, looks just the same as before to me

    Votes: 0 0.0%
  • No

    Votes: 0 0.0%

  • Total voters
    0

A_SN

Active Member
Joined
Jun 8, 2006
Messages
899
Here's the thing, the MKII's are known for having a bad LCD compared to MKI's. The main reason for that is that on MKII's, darks are too dark and brights can be burnt.

So I created a test to characterize the non-linearity of colours with this screen (the test is not released here), and then I made a daemon that corrects that non-linearity kind of in the same way as Photoshop's Curves thing. What I'm releasing here is an early version of the daemon alone, with the correction values that I found with my test hard coded in it (should be correct for all MKII's I suppose).

So here's how it works, download the file attached to this post [attachmentid=329]. Copy "colourd" and "colourd.gpe" in the same folder anywhere you want in your GP2X. Launch colourd.gpe. Now do stuff you usally do, play a game, watch a video, etc.. The difference is most obvious on dark stuff, like Quake or Duke Nukem 3D, or also on bright stuff that's usually burnt (looks all white as it shouldn't). Notice that the colour correction lasts until the GP2X is restarted. If you want it again once you've restarted, just launch colourd.gpe again.

For those who would wonder, this thing has absolutely no speed impact since it's entirely based on setting a few hardware registers once. Not a single hundredth of a FPS will be lost in your favourite game because of that.

Now what I'd like you to do is for you to try to see the difference between before and after, so that you can say whether you like it or not, which will decide whether or not an improved version of this will be implemented in Open2x.
 
Hi A_SN,

Thanks for the program. It definitely makes colours look more natural, and I assume it will do wonders for ports and emulated games.

The problem I see though comes from original homebrew. A lot of people (I assume, by the looks of it) changed their colours a bit in order for them to look good on the over-saturated MK2 screen. Now those games look washed out, and simply not as good as they do by default.

Just make sure that if it gets into Open2x (it should!), it is optional, and perhaps even configurable on a per-app basis.

Thanks again, this will make a lot of games a better experience :)
 
Alex. said:
The problem I see though comes from original homebrew. A lot of people (I assume, by the looks of it) changed their colours a bit in order for them to look good on the over-saturated MK2 screen. Now those games look washed out, and simply not as good as they do by default.
I agree, games only developed on MKII's with no PC builds (there must be few of them tho) might suffer from that, but on the other hand, it now sets the MKII's on a foot of equality with the MKI's. Your idea of making it be applied on a per game basis is interesting, but ultimately I won't decide whether or not it will be done.

A_SN proposes, DJWillis disposes ;)
 
Last edited by a moderator:
A_SN said:
I agree, games only developed on MKII's with no PC builds (there must be few of them tho) might suffer from that, but on the other hand, it now sets the MKII's on a foot of equality with the MKI's.
Well PC builds are irrelevant, since the target device is the GP2X, and graphics are therefore tailored for its screen. And since the predominant GP2X is the MK2, quite a few games will risk looking washed out, and that wouldn't be a very nice sight.

A_SN said:
Your idea of making it be applied on a per game basis is interesting, but ultimately I won't decide whether or not it will be done.

A_SN proposes, DJWillis disposes ;)
Perhaps it could be integrated in GMenu2X/GP2XMB, that would make configurations easy and accessible :)
 
Last edited by a moderator:
Alex. said:
Well PC builds are irrelevant, since the target device is the GP2X, and graphics are therefore tailored for its screen. And since the predominant GP2X is the MK2, quite a few games will risk looking washed out, and that wouldn't be a very nice sight.
Yeah, good point. Which makes me think, maybe MKI users would want something to make their LCD display colours just like the MKII does for such games ;) I could easily do that.

QUOTE

Perhaps it could be integrated in GMenu2X/GP2XMB, that would make configurations easy and accessible :)



Oh yeah, you've got a point, hadn't thought about that. I just assumed that putting it in the FW everyone will soon want was a simple enough idea.
 
Last edited by a moderator:
Hey, interesting thing! :) I had made some skins and graphics for a few GP2X Games and I had to spend hours and Hours to correct the colours of the graphics to match the appearence on GP2X with the PC Screen, often 2 completely different things. ^^""
At the end the corrected colours looked stupid on PC screen but ok on GP2X (MK2) Of course this is far away of modern WYSIWYG (what you see is what you get)
 
fusion_power said:
Hey, interesting thing! :) I had made some skins and graphics for a few GP2X Games and I had to spend hours and Hours to correct the colours of the graphics to match the appearence on GP2X with the PC Screen, often 2 completely different things. ^^""
At the end the corrected colours looked stupid on PC screen but ok on GP2X (MK2) Of course this is far away of modern WYSIWYG (what you see is what you get)
Interested, you're the proof that Alex was right about people making games for the MKII. Well, if you want to revert colours to the way they were meant to be, I think you can do that with the Curves in Photoshop by setting the 3 following dots like this :

In : 64, Out : 42
In : 128, Out : 115
In : 192, Out : 208

Haven't tested, but it should do the opposite as colourd (the daemon discussed here) does, which means make things look on your PC as they do on your GP2X
 
Last edited by a moderator:
Hey, cool!

A long time ago I was working on the art for a little game I was writing (Jewel Beach) and it looked okay on my Mk I, then I picked up a Mk II and was highly distressed to see how horrid the art looked on the Mk II screen, and I haven't looked at it since. However, I have been thinking that a custom gamma table might help correct the problem, and started the laborious experimentation process (but haven't finished) and here you've done all the work for me!

I'll still probably finish and put the code into my games as an option because I don't want games to rely on people running third party utilities, but thanks for proving it's a viable concept! You're the king! You should get Guru'd for this!
 
Wow! It really works!! Bright scenes in videos don´t blind me anymore :D

Now, the annoying MKII´s handicap is gone

A_SN for guru!! ;)
 
Dzz said:
I'll still probably finish and put the code into my games as an option because I don't want games to rely on people running third party utilities, but thanks for proving it's a viable concept! You're the king! You should get Guru'd for this!
Hehe, thanks for the guru suggestion. As for implementing this into your games, go for it, and feel free to use my code! As for making it work only on MKII's, it's a problem either I, Orkie or DJWillis will have to tackle sooner or later, we just have to find a way to be able to tell from a program which model a GP2X is.
 
Last edited by a moderator:
(I've a Mk1) Brilliant! :)

I have thoght about getting a Mk2, since the joystick being diagonal in the first one annoys the living hell out of me; I had no idea the display in Mk2 is so bad.

It just wouldn't be Gamepark withou thtme totally buggering something vital up, but it sure is a shame :)

Anyone have a side by side pic?

Mk1
Mk2
Mk2+A_SN's fix?

jeff
 
skeezix said:
(I've a Mk1) Brilliant! :)

I have thoght about getting a Mk2, since the joystick being diagonal in the first one annoys the living hell out of me; I had no idea the display in Mk2 is so bad.

It just wouldn't be Gamepark withou thtme totally buggering something vital up, but it sure is a shame :)

Anyone have a side by side pic?

Mk1
Mk2
Mk2+A_SN's fix?

jeff
I have no such side by side picture, but you can simulate what the MK2's without my fix look like by taking some images and applying a curve filter in Photoshop with the values mentioned a few posts ago. Now I don't know about the MK1, but according to what I heard these don't need any colour fix, although we still could try once I release my test program and see by how much it could be corrected, and eventually colourd could have a use on MK1 although I doubt it.

So, we can put it like this. MK1 = supposedly very good, MK2 = pretty bad, MK2 + my fix = good enough so you couldn't tell the difference between that and perfection, although I think we can get it a little better once I release my program and that more people test it and report the values they found (my test consists in comparing pictures on the gp2x with the same pictures on a PC screen so the results depend both on how well the PC screen is calibrated and also on judgement, so it can be good to have many people to report what they find)
 
Last edited by a moderator:
very nice! I noticed the difference right away with Quake (in fact I saw it happen as it was loading).

i simply added a line to the end of my autorun.gpu file which loads gmenu2x:

CODE

#!/bin/sh
cd /mnt/sd/gmenu2x
exec ./gmenu2x
exec ../App/colourd_070717/colourd.gpe



:D thanks!
 
scientist said:
very nice! I noticed the difference right away with Quake (in fact I saw it happen as it was loading).

i simply added a line to the end of my autorun.gpu file which loads gmenu2x:

CODE

#!/bin/sh
cd /mnt/sd/gmenu2x
exec ./gmenu2x
exec ../App/colourd_070717/colourd.gpe
:D thanks!


Nice :) but notice that colourd.gpe is itself a script that in the ends launches gp2xmenu.. So you might wanna do exec ../App/colourd_070717/colourd& ; exec ./gmenu2x instead
 
Last edited by a moderator:
A_SN said:
Hehe, thanks for the guru suggestion. As for implementing this into your games, go for it, and feel free to use my code! As for making it work only on MKII's, it's a problem either I, Orkie or DJWillis will have to tackle sooner or later, we just have to find a way to be able to tell from a program which model a GP2X is.
Thanks! Regarding telling a Mk2 in code, it could be that you guys have discussed this recently (I've been away), but I'd think we could make a pretty accurate guess from the serial number string (the date part). For my purposes I want to make it an option in the options section so if a guess is wrong occasionally it just chooses a wrong default.

There might be another way to tell more definitively though; I wonder if some MMSP2 registers related to the LCD are initialized differently and could be read...
 
Last edited by a moderator:
scientist said:
CODE

#!/bin/sh
cd /mnt/sd/gmenu2x
exec ./gmenu2x
exec ../App/colourd_070717/colourd.gpe
:D thanks!

that script cant work as it exits after exec ./gmenu2x, so colourd will never get executed.
 
Last edited by a moderator:
skeezix said:
(I've a Mk1) Brilliant! :)

I have thoght about getting a Mk2, since the joystick being diagonal in the first one annoys the living hell out of me; I had no idea the display in Mk2 is so bad.

It just wouldn't be Gamepark withou thtme totally buggering something vital up, but it sure is a shame :)

Anyone have a side by side pic?

Mk1
Mk2
Mk2+A_SN's fix?

jeff
The display in the MK2 isn't bad. In fact the black level is much better (MK1 is a medium grey) and the backlight is brighter (MK1 is kind of dim in comparison). The colors have much more "pop" on the MK2 where as the color is more washed out and faded on the MK1. Plus the MK1 suffers from apparent interacing. The problem on the MK2 is that darker colors will fall off quicker, and bright shades will sometimes "clip" reducing some of the colors at the high end. This utility is to correct that problem. I have yet to test it. It would be nice if this curve could be adjusted in the utility to taste. Maybe it does? Need to test it.
 
Last edited by a moderator:
Critical_Impact said:
Shouldn't it just be?

CODE
#!/bin/sh
cd /mnt/sd/gmenu2x
exec ../App/colourd_070717/colourd.gpe
exec ./gmenu2x

CODE
#!/bin/sh
cd /mnt/sd/gmenu2x
exec ../App/colourd_070717/colourd.gpe&
exec ./gmenu2x



actually
 
Last edited by a moderator:
Excuse me, but I haven't yet tried it.. :/
Still got a suggestion/idea though.. :)

Anyways, can you perhaps make another program that handles gamma settings "properly"? The ones that are available right now seem.. weird. I set gamma to pretty damn low, and it seems that when I watch movies that have plenty of contrast, the dark stuff gets black, the lightish stuff gets darkened slightly, and the white stuff just stays white.

Personally, I'd really love an advanced LCD screen output modifier, since.. well... it'd be great. :)

Maybe your program already does this, at which case, you can slap me in the face right now..

edit: tested it, and it seems to ruin GMenu2x's inbuilt gamma settings. :/
 
Back
Top