New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White Screen: " X games available" - No images #294

Closed
billykindell opened this Issue Nov 23, 2014 · 8 comments

Comments

Projects
None yet
3 participants
@billykindell

billykindell commented Nov 23, 2014

Hi, I am trying to run EmulationStation on a Zotac Z-box (windows). When I launch emulation station only black squares appear in place of the usual button symbols. Further to this, no image shows for the selected console and just has the "amount of games available" written across the middle of the screen.

I would have thought this PC is capable of running this fine as it runs emulators perfectly.

Any help would be fantastic, thanks!

@Aloshi

This comment has been minimized.

Owner

Aloshi commented Nov 23, 2014

I would guess this is a GPU problem of some sort. It might be that your GPU doesn't support non-power-of-two textures (there's another issue on here somewhere about it too).

Try running this build, press F4, then check the %HOMEPATH%/.emulationstation/es_log.txt file. Do you see

lvl2:   Checking available OpenGL extensions...
lvl2:    ARB_texture_non_power_of_two: ok

anywhere? Or any errors?

@billykindell

This comment has been minimized.

billykindell commented Nov 23, 2014

Thanks for the fast reply:

lvl2: Checking available OpenGL extensions...
lvl2: ARB_texture_non_power_of_two: MISSING

@billykindell

This comment has been minimized.

billykindell commented Nov 23, 2014

Full Log:

lvl2: EmulationStation - v2.0.0-rc1, built Sep 2 2014 - 17:52:59
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added unconfigured joystick USB Gamepad (GUID: 79001100000000000000504944564944, instance ID: 0, device index: 0).
lvl2: Checking available OpenGL extensions...
lvl2: ARB_texture_non_power_of_two: MISSING
lvl2: Loading system config file /etc/emulationstation/es_systems.cfg...
lvl0: es_systems.cfg file does not exist!
lvl0: Example config written! Go read it at "C:/Users/emmas Emulator/.emulationstation/es_systems.cfg"!
lvl0: Error while parsing systems configuration file!
lvl2: EmulationStation cleanly shutting down.

@billykindell

This comment has been minimized.

billykindell commented Nov 24, 2014

Just a quick question as well... in regards to the power of two thing...

For this particular issue, in theory, would it be possible to just use a square graphic, and then tile it on either side? Maybe splitting the square image in half and displaying each half on it's respective side (in the style of the offical xbox 360 roms like sonic)

@Aloshi

This comment has been minimized.

Owner

Aloshi commented Nov 25, 2014

Basically, it means your graphics card does not support textures in sizes (width/height) that aren't powers of two.

The "real fix" is for ES to automatically pad textures to the nearest power of two internally by padding them with empty space and then adjusting texture coordinates accordingly. I probably won't take the time to add this any time soon, unfortunately.

You should try updating your graphics card drivers if you haven't already, as they may have added support for it in an update.

@billykindell

This comment has been minimized.

billykindell commented Nov 25, 2014

Ah that's a shame. What programming language is this written in? And in theory, how hard is it to write the code needed?

I have some programming experience and I'm pretty willing to have a stab at getting it working. (I've updated my drivers, no luck).

@Aloshi

This comment has been minimized.

Owner

Aloshi commented Nov 26, 2014

C++. You'd have to edit the es-core/resources/TextureResource.* files to automatically pad to a power of two size for each dimension and then add a multiplier for texture coordinates equal to the non-padded texture size divided by the padded texture size (since texture coordinates are normalized). Then you'll have to make sure everwhere that uses a TextureResource texture multiplies its texture coordinates by this number (e.g. ImageComponent and NinePatchComponent). You might have to do similar for SVGResource. You'd also want to make this an optional thing, so ES would only do this if the GPU doesn't support NPOT textures.

@billykindell

This comment has been minimized.

billykindell commented Nov 27, 2014

Going to go ahead and assume that it is way out of my depth, unless it is just a case of it sounding a bit more complex than it is.

And I don't know how you can say XMBC is better than ES. XBMC is clunky and awkward, ES is light and so quick... just a shame it doesn't work on my media PC :(

@billykindell billykindell reopened this Nov 27, 2014

@nilsbyte nilsbyte closed this Jan 8, 2015

zigurana pushed a commit to zigurana/EmulationStation that referenced this issue Nov 10, 2017

Merge pull request Aloshi#294 from tomaz82/fix_locale
Trying to fix japanese text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment