Stardew Valley FNA Help

Moderators: meveric, mdrjr, odroid

Stardew Valley FNA Help

Unread postby Molorius » Tue Oct 09, 2018 1:35 pm

First off, if this is not in the correct category please move it.

I have been trying to start the game Stardew Valley on an Odroid C2 running @meveric's Debian Stretch according to the article "Playing Modern FNA Games on the ODROID Platform" (https://magazine.odroid.com/article/playing-modern-fna-games-on-the-odroid-platform/).
This is the only game in the article that I own, and would like to get it playing on the C2. It does not go into very much depth about this game, but says that it was able to be played on the N1. I do not have experience with C# or mono.

The game was copied from my x64 computer and was purchased through Steam (the article uses the Steam version). I compiled gl4es, sdl2, mojoshaders, and xnafiledialog according to the article and placed them in /opt/monolibs/. I then removed System.*dll and Mono.*.dll from my StardewValley/ directory (like in the example from A Virus Named Tom). Then I tried to start the game using the command
Code: Select all
LC_ALL="C" LIBGL_ES=2 LIBGL_GL=21 LIBGL_DEFAULTWRAP=2 LIBGL_FBOFORCETEX=1 LD_LIBRARY_PATH=/opt/monolibs mono StardewValley.exe

I also tried linking libopenal.so, which is recommended in the article.

No matter what I try, it always outputs:
Cannot open assembly 'StardewValley.exe': File does not contain a valid CIL image.

Any tips on getting this game to run? Is it a problem with my version of the game?
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Tue Oct 09, 2018 1:54 pm

Maybe @ptitSeb has an idea what's going on, but just to be sure:
You are using the LINUX version of StardewValley?
Also have you removed the mscorlib.dll as well?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Tue Oct 09, 2018 2:04 pm

Yes, I am using the Linux version of the game (taken from my x64 computer running Ubuntu 18.04). I just tried removing mscorlib.dll and did not see any change.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Tue Oct 09, 2018 2:38 pm

StardewValley is one of the games I don't have yet, but have on my wishlist.. So I can't currently compare.
My guess is that either it's the wrong version of the game or you're missing a library.
Google says the error with "File does not contain a valid CIL image" happens if mono can not start the game (either not a Mono game, or a library to start does not exist).

Does it show anything else besides this single line? Normally mono error messages are rather long and not a single line.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Tue Oct 09, 2018 2:54 pm

No problem, any help is appreciated :D . It only gives that one line output, regardless of input options. I will do some more digging.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Tue Oct 09, 2018 2:58 pm

If it's only giving this one line then I'd say it stops starting the game before it can even load anything at all, which most likely means it can't run the binary at all.
Either mono does not work correctly, or some other library required right at stat is not working.
All issues I've seen up to now is when mono fails to run something.. a lib missing, graphics not working etc. and mono throws like an entire page of error messages at you.
As you don't get to this point, it must be something way earlier.. so either the StardewValley.exe itself or mono I would guess.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Tue Oct 09, 2018 4:43 pm

Okay, there was a problem with my file. After copying the whole directory again it is now giving more output. After messing with it more, it gives the error:
Code: Select all
LIBGL: ERROR: EGL Error Detected: EGL_BAD_ALLOC (0x0)
LIBGL: ERROR: EGL Error Detected: EGL_BAD_MATCH (0x0)
Unable to make GL context current


I don't know if that is an issue. It finally crashes several (uneventful) lines later with the error:
Code: Select all
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
This is followed by many lines of errors. I have mojoshader compiled, and it is in my monolibs directory (which I add with LD_LIBRARY_PATH). I have also tried directly adding my monolibs directory to the path.

I will update this page with any progress, in case others find it useful.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Tue Oct 09, 2018 4:46 pm

ok, that's something I can investigate.
I'll update the libgl-odroid drivers for ODROID C2 as I'm not sure that is the correct version yet.

Edit:
One thing you should check first:
Please make sure hardware acceleration is working at all.
If you haven't done so, please install glmark2-es2 and check if that's working.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby meveric » Tue Oct 09, 2018 5:11 pm

ok, I've build the latest version of gl4es and am currently uploading it to my repository.
If you update the system (and glmark2-es2 works fine) then you should have a version of gl4es (libgl-odroid) that should be able to run FNA games.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 1:39 am

Oh, some FNA fun on an ODroid, nice!

Thoses 2 EGL error are not good indeed. I don't have a C2 to test, but yeah, maybe latest gl4es can help here.

If it still doesn't run, please copy/paste here the whole log.

(and thanks merevic for the update of gl4es :) )

Also, the list of games using FNA is here: https://pcgamingwiki.com/wiki/Engine:FNA
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Wed Oct 10, 2018 3:06 am

I updated my system and your gl4es is running much better than mine. Out of curiosity, what options did you use? I used -DODROID=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo.

glmark2-es2 runs just fine.

Stardew Valley on the other hand is running well below 30 fps. It is loading though! Turning down all the settings helps a little, using it in windowed mode and with the hardware mouse helped bring it to an almost playable level. I resampled the audio to 22kHz (from 44kHz). I recompiled SDL2 after updating gl4es just in case, but this didn't improve the frame rate.

I'm not sure if this is an artifact of gl4es, but any time I load a GL program it starts with:
Code: Select all
MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm
I have seen this with glxgears, glmark2 (not glmark2-es2), and Stardew Valley.

My C2 cpu is running at 1.75GHz with 3 cores, the gpu is at the max of 1.1GHz (the default is 0.9GHz).
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 4:27 am

Mesa driver? I think you are not using Mali hardware driver but software rendering.
What doesn LIBGL says about your hardware: ARM or MESA?
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Wed Oct 10, 2018 4:30 am

How do I view that? I am not very familiar with GL.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 4:40 am

Copy/Paste all the initialization phase of gl4es. Launch glgears or anything else using GL.
Look here at the output on a Pandora:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct  7 2018 18:59:50
LIBGL: using framebuffer + fbo
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_multi_draw_arrays detected
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Extension GL_EXT_texture_rg detected and used
LIBGL: Extension GL_OES_texture_float detected and used
LIBGL: Extension GL_OES_texture_half_float detected and used
LIBGL: Extension GL_OES_fragment_precision_high detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 2048
LIBGL: Max Varying Vector: 8
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is Imagination Technologies
LIBGL: Targeting OpenGL 2.0
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled


The Hardware vendor here is "Imagination Technologies" (it's a PowerVR hardware). On the C2, you should see something like "ARM".
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby meveric » Wed Oct 10, 2018 5:00 am

You probably need to copy the libGL* files from /usr/local/lib to /opt/monolibs if that's where the rest of your libs are.

Also just as a note, the C2 is not very good/fast and the game might not work in full speed.
If it runs in fullscreen mode you might want to try 720p rather than 1080p.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Wed Oct 10, 2018 5:16 am

After copying the libGL* files to my monolibs/, I am now seeing a similar output as ptitSeb with GL programs. But now I'm back to the
Code: Select all
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x0)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
Unable to make GL context current
when I start Stardew Valley.

I get a similar error when attempting to start glmark2. It is started with:
Code: Select all
LC_ALL="C" LIBGL_ES=2 LIBGL_GL=21 LIBGL_DEFAULTWRAP=2 LIBGL_FBOFORCETEX=1 LD_LIBRARY_PATH=/usr/local/lib glmark2
glxgears runs just fine with this setup.

This is after a full apt update upgrade, with libgl-odroid installed (version 20181009-1.0.9-1+deb9).

Again, thanks for the help!
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 5:22 am

Using the version you built yourself, can you uncomment line 37 of src/glx/glx.c (the line with "//#define DEBUG") to enable more debug info in the glx part, and then run again.

Then I'll need the complete debug output to understand what is going on.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Wed Oct 10, 2018 5:40 am

With glmark2:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct  9 2018 13:50:01
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:/opt/gl4es/build
glXQueryVersion(0x5581ed0a40, 0x7feb5faa00, 0x7feb5faa04)
glXChooseFBConfig(0x5581ed0a40, 0, 0x5581e73960, 0x7feb5faa7c)
FBConfig renderable=1
FBConfig drawableType=1
FBConfig redBits=5
FBConfig greenBits=6
FBConfig blueBits=5
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x0002, 0x7feb5faa00)glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x0008, 0x7feb5fa9e8) => 0x0005
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x0009, 0x7feb5fa9ec) => 0x0006
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x000A, 0x7feb5fa9f0) => 0x0005
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x000B, 0x7feb5fa9f4) => 0x0001
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x000C, 0x7feb5fa9f8) => 0x0001
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x000D, 0x7feb5fa9fc) => 0x0000
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x800B, 0x7feb5faaf4)glXChooseVisual(0x5581ed0a40, 0, (nil))
glXChooseFBConfig(0x5581ed0a40, 0, (nil), 0x7feb5faa84)
 => 0x0021
glXCreateNewContext(0x5581ed0a40, 0x7fb5d964d0, 32788, (nil), 1), drawableType=0x01
glXCreateContextAttribsARB(0x5581ed0a40, 0x7fb5d964d0, (nil), 1) config is RGBA:5651, depth=1, stencil=0, drawable=1
 => return 0x5581ee0620 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x5581ed0a40, 0)
glXMakeCurrent(0x5581ed0a40, 0x2c00002, 0x5581ee0620), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXSwapInterval(0)
glXQueryDrawable(0x5581ed0a40, 0x2c00002(0), GLX_SWAP_INTERVAL_EXT, 0x7feb5fab84 = 0)
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
glXGetCurrentContext()
    OpenGL Information
    GL_VENDOR:     ptitSeb
    GL_RENDERER:   GL4ES wrapper
    GL_VERSION:    2.1 gl4es wrapper 1.0.9
=======================================================
glXDestroyContext(0x5581ed0a40, 0x5581ee0620), fbcontext_count=0, ctx_type=0
glXGetFBConfigAttrib(0x5581ed0a40, 0x7fb5d964d0, 0x800B, 0x7feb5faa84)glXChooseVisual(0x5581ed0a40, 0, (nil))
glXChooseFBConfig(0x5581ed0a40, 0, (nil), 0x7feb5faa14)
 => 0x0021
glXCreateNewContext(0x5581ed0a40, 0x7fb5d964d0, 32788, (nil), 1), drawableType=0x01
glXCreateContextAttribsARB(0x5581ed0a40, 0x7fb5d964d0, (nil), 1) config is RGBA:5651, depth=1, stencil=0, drawable=1
 => return 0x5581ee0620 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x5581ed0a40, 0)
glXMakeCurrent(0x5581ed0a40, 0x2c00002, 0x5581ee0620), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: Warning, eglSurf is null
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
 => False
[build] use-vbo=false:glXSwapBuffers(0x5581ed0a40, 0x2C00002)
glXSwapBuffers(0x5581ed0a40, 0x2C00002)
glXSwapBuffers(0x5581ed0a40, 0x2C00002)
glXSwapBuffers(0x5581ed0a40, 0x2C00002)
glXSwapBuffers(0x5581ed0a40, 0x2C00002)

The last line continues on unchanged for several hundred lines.

This output was piped to an output file so it wasn't visible in terminal. However, the terminal did show:
Code: Select all
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x55)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0X0)
Error: glXMakeCurrent failed
Error: CanvasGeneric: Invalid EGL state
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 5:55 am

you can use things like
Code: Select all
MYAPP >log.txt 2>&1

to also logs errors in the same file.

It seems the game create a RGB565 framebuffer and that's not supported on your configuration. I'll think about something in gl4es for that case.

Also, in the mean time, you can add "LIBGL_FB=3" in your command line, that should help you going a bit further.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Wed Oct 10, 2018 6:17 am

After adding LIBGL_FB=3 both glmark2 and Stardew Valley run, but extremely slowly.

glmark2 (for reference without game):
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct  9 2018 13:50:01
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:/opt/gl4es/build
glXQueryVersion(0x557ef64a40, 0x7fd2c1f080, 0x7fd2c1f084)
glXChooseFBConfig(0x557ef64a40, 0, 0x557ef07960, 0x7fd2c1f0fc)
FBConfig renderable=1
FBConfig drawableType=1
FBConfig redBits=5
FBConfig greenBits=6
FBConfig blueBits=5
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x0002, 0x7fd2c1f080)glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x0008, 0x7fd2c1f068) => 0x0005
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x0009, 0x7fd2c1f06c) => 0x0006
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x000A, 0x7fd2c1f070) => 0x0005
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x000B, 0x7fd2c1f074) => 0x0001
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x000C, 0x7fd2c1f078) => 0x0001
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x000D, 0x7fd2c1f07c) => 0x0000
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x800B, 0x7fd2c1f174)glXChooseVisual(0x557ef64a40, 0, (nil))
glXChooseFBConfig(0x557ef64a40, 0, (nil), 0x7fd2c1f104)
 => 0x0021
glXCreateNewContext(0x557ef64a40, 0x7f7bb9e4d0, 32788, (nil), 1), drawableType=0x01
glXCreateContextAttribsARB(0x557ef64a40, 0x7f7bb9e4d0, (nil), 1) config is RGBA:5651, depth=1, stencil=0, drawable=1
 => return 0x557ef74620 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x557ef64a40, 0)
glXMakeCurrent(0x557ef64a40, 0x2c00002, 0x557ef74620), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 800x600 for drawable 0x2c00002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXSwapInterval(0)
glXQueryDrawable(0x557ef64a40, 0x2c00002(1), GLX_SWAP_INTERVAL_EXT, 0x7fd2c1f204 = 0)
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
glXGetCurrentContext()
    OpenGL Information
    GL_VENDOR:     ptitSeb
    GL_RENDERER:   GL4ES wrapper
    GL_VERSION:    2.1 gl4es wrapper 1.0.9
=======================================================
LIBGL: ERROR: EGL Error detected: EGL_BAD_SURFACE (0x0)
glXDestroyContext(0x557ef64a40, 0x557ef74620), fbcontext_count=0, ctx_type=0
glXGetFBConfigAttrib(0x557ef64a40, 0x7f7bb9e4d0, 0x800B, 0x7fd2c1f104)glXChooseVisual(0x557ef64a40, 0, (nil))
glXChooseFBConfig(0x557ef64a40, 0, (nil), 0x7fd2c1f094)
 => 0x0021
glXCreateNewContext(0x557ef64a40, 0x7f7bb9e4d0, 32788, (nil), 1), drawableType=0x01
glXCreateContextAttribsARB(0x557ef64a40, 0x7f7bb9e4d0, (nil), 1) config is RGBA:5651, depth=1, stencil=0, drawable=1
 => return 0x557ef74620 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x557ef64a40, 0)
glXMakeCurrent(0x557ef64a40, 0x2c00002, 0x557ef74620), isPBuffer(drawable)=1, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => False
Error: glXMakeCurrent failed
Error: CanvasGeneric: Invalid EGL state
[build] use-vbo=false:


Stardew Valley:
Code: Select all
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct  9 2018 13:50:01
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:MY SECRET!!!!1!!!
glXQueryExtension(0x556a45ed60, 0x556a4b78a0, 0x556a4b78a4)
glXChooseVisual(0x556a45ed60, 0, 0x7fea621b30)
glXChooseFBConfig(0x556a45ed60, 0, 0x7fea621b30, 0x7fea621a94)
FBConfig rgba=1
FBConfig redBits=5
FBConfig greenBits=6
FBConfig blueBits=5
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x556a45ed60, 0x556a4b7940, (nil), 1), latest_visual=0x556a4b7940, fbcontext_count=0Creating R:5 G:6 B:5 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x556a4b79f0
glXMakeCurrent(0x556a45ed60, 0x2a00002, 0x556a4b79f0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x2a00002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x556a45ed60, 0)
glXMakeCurrent(0x556a45ed60, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x556a45ed60, 0x556a4b79f0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x556a45ed60, 0, 0x7fea6219e0)
glXChooseFBConfig(0x556a45ed60, 0, 0x7fea6219e0, 0x7fea621994)
FBConfig rgba=1
FBConfig redBits=5
FBConfig greenBits=6
FBConfig blueBits=5
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXCreateContext(0x556a45ed60, 0x556a4cd020, (nil), 1), latest_visual=0x556a4cd020, fbcontext_count=0Creating R:5 G:6 B:5 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x556a4e1930
glXMakeCurrent(0x556a45ed60, 0x2a00005, 0x556a4e1930), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x2a00005
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000003)
 => True
glXMakeCurrent(0x556a45ed60, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x556a45ed60, 0x556a4e1930), fbcontext_count=0, ctx_type=0
glXQueryExtension(0x556a45ed60, 0x556a4ec4b0, 0x556a4ec4b4)
glXChooseVisual(0x556a45ed60, 0, 0x7fea621c50)
glXChooseFBConfig(0x556a45ed60, 0, 0x7fea621c50, 0x7fea621bb4)
FBConfig rgba=1
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x556a45ed60, 0x556a5d0570, (nil), 1), latest_visual=0x556a5d0570, fbcontext_count=0Creating R:8 G:8 B:8 A:8 DepsetGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en


EDIT: In case it helps, this is with ptitSeb's latest version of gl4es (Oct 7 2018, "Large rework of Framebuffer tracking").
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Wed Oct 10, 2018 6:39 am

Ok, thanks for the logs. I'll think about something tomorrow.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 2:36 am

@Molorius I have pushed some changes in the glXFBConfig handling of gl4es, can you retry with latest gl4es version?
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Thu Oct 11, 2018 3:39 am

glmark2 with LIBGL_FB=3 crashes with a segmentation fault.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 12:12:06
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x556cff7e40, 0x7fc2b59560, 0x7fc2b59564)
glXChooseFBConfig(0x556cff7e40, 0, 0x556cf9b960, 0x7fc2b595dc)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 3 config
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x0002, 0x7fc2b59560) -> 0x0010
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x0008, 0x7fc2b59548) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x0009, 0x7fc2b5954c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x000A, 0x7fc2b59550) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x000B, 0x7fc2b59554) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x000C, 0x7fc2b59558) => 0x0018
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x000D, 0x7fc2b5955c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x0002, 0x7fc2b59560) -> 0x0010
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x0008, 0x7fc2b59548) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x0009, 0x7fc2b5954c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x000A, 0x7fc2b59550) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x000B, 0x7fc2b59554) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x000C, 0x7fc2b59558) => 0x0018
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0077e0, 0x000D, 0x7fc2b5955c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x0002, 0x7fc2b59560) -> 0x0010
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x0008, 0x7fc2b59548) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x0009, 0x7fc2b5954c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x000A, 0x7fc2b59550) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x000B, 0x7fc2b59554) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x000C, 0x7fc2b59558) => 0x0018
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0078c8, 0x000D, 0x7fc2b5955c) => 0x0008
glXGetFBConfigAttrib(0x556cff7e40, 0x556d0076f8, 0x800B, 0x7fc2b59654)glXChooseVisual(0x556cff7e40, 0, (nil))
./glmark2.sh: line 6:  4182 Segmentation fault


glmark2 without LIBGL_FB=3 crashes with a segmentation fault.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 12:12:06
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x558dfa8e40, 0x7ffc48e340, 0x7ffc48e344)
glXChooseFBConfig(0x558dfa8e40, 0, 0x558df4c960, 0x7ffc48e3bc)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 3 config
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x0002, 0x7ffc48e340) -> 0x0010
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x0008, 0x7ffc48e328) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x0009, 0x7ffc48e32c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x000A, 0x7ffc48e330) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x000B, 0x7ffc48e334) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x000C, 0x7ffc48e338) => 0x0018
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x000D, 0x7ffc48e33c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x0002, 0x7ffc48e340) -> 0x0010
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x0008, 0x7ffc48e328) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x0009, 0x7ffc48e32c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x000A, 0x7ffc48e330) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x000B, 0x7ffc48e334) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x000C, 0x7ffc48e338) => 0x0018
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3270, 0x000D, 0x7ffc48e33c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x0002, 0x7ffc48e340) -> 0x0010
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x0008, 0x7ffc48e328) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x0009, 0x7ffc48e32c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x000A, 0x7ffc48e330) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x000B, 0x7ffc48e334) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x000C, 0x7ffc48e338) => 0x0018
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3358, 0x000D, 0x7ffc48e33c) => 0x0008
glXGetFBConfigAttrib(0x558dfa8e40, 0x558dfc3188, 0x800B, 0x7ffc48e434)glXChooseVisual(0x558dfa8e40, 0, (nil))
./glmark2.sh: line 6:  4327 Segmentation fault


Stardew Valley with LIBGL_FB=3 runs extremely slowly half the time and crashes the other half on start. Working log:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 12:12:06
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x558b1a4e30, 0x558b1fcd40, 0x558b1fcd44)
glXChooseVisual(0x558b1a4e30, 0, 0x7ffce2ed50)
glXChooseFBConfig(0x558b1a4e30, 0, 0x7ffce2ebe0, 0x7ffce2ebdc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 9 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x558b1a4e30, 0x558b1fcde0, (nil), 1), latest_visual=0x558b1fcde0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x558b1fd740
glXMakeCurrent(0x558b1a4e30, 0x3200002, 0x558b1fd740), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3200002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x558b1a4e30, 0)
glXMakeCurrent(0x558b1a4e30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558b1a4e30, 0x558b1fd740), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x558b1a4e30, 0, 0x7ffce2ec00)
glXChooseFBConfig(0x558b1a4e30, 0, 0x7ffce2eae0, 0x7ffce2eadc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 9 config
glXCreateContext(0x558b1a4e30, 0x558b212ed0, (nil), 1), latest_visual=0x558b212d10, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x558b213160
glXMakeCurrent(0x558b1a4e30, 0x3200005, 0x558b213160), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3200005
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000003)
 => True
glXMakeCurrent(0x558b1a4e30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558b1a4e30, 0x558b213160), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x558b1a4e30, 0x558b31bd50, 0x558b31bd54)
glXChooseVisual(0x558b1a4e30, 0, 0x7ffce2ee70)
glXChooseFBConfig(0x558b1a4e30, 0, 0x7ffce2ed00, 0x7ffce2ecfc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x558b1a4e30, 0x558b31bcc0, (nil), 1), latest_visual=0x558b31bcc0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x558b250d20
glXMakeCurrent(0x558b1a4e30, 0x320000a, 0x558b250d20), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x320000a
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000004)
 => True
glXQueryExtensionString(0x558b1a4e30, 0)
glXMakeCurrent(0x558b1a4e30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558b1a4e30, 0x558b250d20), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x558b1a4e30, 0, 0x7ffce2ed20)
glXChooseFBConfig(0x558b1a4e30, 0, 0x7ffce2ec00, 0x7ffce2ebfc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x558b1a4e30, 0x558b3353a0, (nil), 1), latest_visual=0x558b310510, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x558b35a240
glXMakeCurrent(0x558b1a4e30, 0x320000d, 0x558b35a240), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 800x480 for drawable 0x320000d
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
glXCreateContext(0x558b1a4e30, 0x558b39deb0, 0x558b35a240, 1), latest_visual=0x558b310510, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x558b39b400
glXMakeCurrent(0x558b1a4e30, 0x320000d, 0x558b39b400), isPBuffer(drawable)=4, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
glXSwapBuffers(0x558b1a4e30, 0x320000D)
LIBGL: Recreate PBuffer 800x480x32 => 1280x720x32
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
glXSwapBuffers(0x558b1a4e30, 0x320000D)
(The last line continues as you play). Crashing log:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 12:12:06
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x55653b5de0, 0x556540dcf0, 0x556540dcf4)
glXChooseVisual(0x55653b5de0, 0, 0x7fcf58c930)
glXChooseFBConfig(0x55653b5de0, 0, 0x7fcf58c7c0, 0x7fcf58c7bc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 9 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55653b5de0, 0x556540dd90, (nil), 1), latest_visual=0x556540dd90, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x556540e6f0
glXMakeCurrent(0x55653b5de0, 0x3000002, 0x556540e6f0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x55653b5de0, 0)
glXMakeCurrent(0x55653b5de0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55653b5de0, 0x556540e6f0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55653b5de0, 0, 0x7fcf58c7e0)
glXChooseFBConfig(0x55653b5de0, 0, 0x7fcf58c6c0, 0x7fcf58c6bc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 9 config
glXCreateContext(0x55653b5de0, 0x5565423e80, (nil), 1), latest_visual=0x5565423cc0, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x5565424110
glXMakeCurrent(0x55653b5de0, 0x3000005, 0x5565424110), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000005
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000003)
 => True
glXMakeCurrent(0x55653b5de0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55653b5de0, 0x5565424110), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x55653b5de0, 0x5565456d80, 0x5565456d84)
glXChooseVisual(0x55653b5de0, 0, 0x7fcf58ca50)
glXChooseFBConfig(0x55653b5de0, 0, 0x7fcf58c8e0, 0x7fcf58c8dc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55653b5de0, 0x5565456e20, (nil), 1), latest_visual=0x5565456e20, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5565450f30
glXMakeCurrent(0x55653b5de0, 0x300000a, 0x5565450f30), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x300000a
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000004)
 => True
glXQueryExtensionString(0x55653b5de0, 0)
glXMakeCurrent(0x55653b5de0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55653b5de0, 0x5565450f30), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55653b5de0, 0, 0x7fcf58c900)
glXChooseFBConfig(0x55653b5de0, 0, 0x7fcf58c7e0, 0x7fcf58c7dc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x55653b5de0, 0x55652b1d60, (nil), 1), latest_visual=0x55655397b0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55655474f0
glXMakeCurrent(0x55653b5de0, 0x300000d, 0x55655474f0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 800x480 for drawable 0x300000d
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
glXCreateContext(0x55653b5de0, 0x55655b0a20, 0x55655474f0, 1), latest_visual=0x55655397b0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55655adf70
glXMakeCurrent(0x55653b5de0, 0x300000d, 0x55655adf70), isPBuffer(drawable)=4, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
glXMakeCurrent(0x55653b5de0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55653b5de0, 0x55655adf70), fbcontext_count=0, ctx_type=0
[ERROR] FATAL UNHANDLED EXCEPTION: Microsoft.Xna.Framework.Graphics.MonoGameGLException: GL.GetError() returned 1285
  at Microsoft.Xna.Framework.Graphics.GraphicsExtensions.CheckGLError () [0x0002e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D+<PlatformSetData>c__AnonStorey1`1[T].<>m__0 () [0x00355] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Threading.BlockOnUIThread (System.Action action) [0x0001d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformSetData[T] (System.Int32 level, System.Int32 arraySlice, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00034] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (System.Int32 level, System.Int32 arraySlice, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00190] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (System.Int32 level, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.Texture2DReader.Read (Microsoft.Xna.Framework.Content.ContentReader reader, Microsoft.Xna.Framework.Graphics.Texture2D existingInstance) [0x0043e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentTypeReader`1[T].Read (Microsoft.Xna.Framework.Content.ContentReader input, System.Object existingInstance) [0x00008] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.InnerReadObject[T] (T existingInstance) [0x00039] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T] () [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T] () [0x00007] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T] (System.String assetName, System.Action`1[T] recordDisposableObject) [0x00094] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentManager.Load[T] (System.String assetName) [0x00074] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.LocalizedContentManager.Load[T] (System.String assetName, StardewValley.LocalizedContentManager+LanguageCode language) [0x00054] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at StardewValley.LocalizedContentManager.Load[T] (System.String assetName) [0x00007] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at StardewValley.Game1.LoadContent () [0x00165] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.Initialize () [0x0004f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Initialize () [0x001aa] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoInitialize () [0x00012] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x0003a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0


Stardew Valley without LIBGL_FB=3 crashes.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 12:12:06
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x558dcabea0, 0x558dd03dd0, 0x558dd03dd4)
glXChooseVisual(0x558dcabea0, 0, 0x7fe3055bf0)
glXChooseFBConfig(0x558dcabea0, 0, 0x7fe3055a80, 0x7fe3055a7c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x558dcabea0, 0x558dd03e70, (nil), 1), latest_visual=0x558dd03e70, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x558dd0d420
glXMakeCurrent(0x558dcabea0, 0x3000002, 0x558dd0d420), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x558dcabea0, 0)
glXMakeCurrent(0x558dcabea0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558dcabea0, 0x558dd0d420), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x558dcabea0, 0, 0x7fe3055aa0)
glXChooseFBConfig(0x558dcabea0, 0, 0x7fe3055980, 0x7fe305597c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x558dcabea0, 0x558dd0d520, (nil), 1), latest_visual=0x558dd22870, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x558dd0d7b0
glXMakeCurrent(0x558dcabea0, 0x3000004, 0x558dd0d7b0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXMakeCurrent(0x558dcabea0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558dcabea0, 0x558dd0d7b0), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x558dcabea0, 0x558dd1b390, 0x558dd1b394)
glXChooseVisual(0x558dcabea0, 0, 0x7fe3055d10)
glXChooseFBConfig(0x558dcabea0, 0, 0x7fe3055ba0, 0x7fe3055b9c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x558dcabea0, 0x558de02850, (nil), 1), latest_visual=0x558de02850, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x558dd1b1d0
glXMakeCurrent(0x558dcabea0, 0x3000008, 0x558dd1b1d0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x558dcabea0, 0)
glXMakeCurrent(0x558dcabea0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x558dcabea0, 0x558dd1b1d0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x558dcabea0, 0, 0x7fe3055bc0)
glXChooseFBConfig(0x558dcabea0, 0, 0x7fe3055aa0, 0x7fe3055a9c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x558dcabea0, 0x558dbb6d90, (nil), 1), latest_visual=0x558dd22800, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x558dbb7020
glXMakeCurrent(0x558dcabea0, 0x300000a, 0x558dbb7020), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXCreateContext(0x558dcabea0, 0x558de5cd80, 0x558dbb7020, 1), latest_visual=0x558dd22800, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x558de57170
glXMakeCurrent(0x558dcabea0, 0x300000a, 0x558de57170), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: Warning, eglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x7F)
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x558dcabea0, 0x558de57170), fbcontext_count=0, ctx_type=0
Unable to make GL context current
glXMakeCurrent(0x558dcabea0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXMakeCurrent(0x558dcabea0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 4:26 am

Thanks for the test. So it's worse :'(

I'll try to fix the crashes first.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 5:52 am

@Molorius I should have fixed the various crashes you were getting, if you can git it another try.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Thu Oct 11, 2018 6:47 am

glmark2 with LIBGL_FBO=3 crashes.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 15:32:43
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x556bc70e40, 0x7ff6640060, 0x7ff6640064)
glXChooseFBConfig(0x556bc70e40, 0, 0x556bc14960, 0x7ff66400dc)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 4 config
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x0002, 0x7ff6640060) -> 0x0010
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x0008, 0x7ff6640048) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x0009, 0x7ff664004c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x000A, 0x7ff6640050) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x000B, 0x7ff6640054) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x000C, 0x7ff6640058) => 0x0018
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x000D, 0x7ff664005c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x0002, 0x7ff6640060) -> 0x0010
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x0008, 0x7ff6640048) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x0009, 0x7ff664004c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x000A, 0x7ff6640050) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x000B, 0x7ff6640054) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x000C, 0x7ff6640058) => 0x0018
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc807e8, 0x000D, 0x7ff664005c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x0002, 0x7ff6640060) -> 0x0010
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x0008, 0x7ff6640048) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x0009, 0x7ff664004c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x000A, 0x7ff6640050) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x000B, 0x7ff6640054) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x000C, 0x7ff6640058) => 0x0018
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc808d0, 0x000D, 0x7ff664005c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x0002, 0x7ff6640060) -> 0x0010
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x0008, 0x7ff6640048) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x0009, 0x7ff664004c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x000A, 0x7ff6640050) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x000B, 0x7ff6640054) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x000C, 0x7ff6640058) => 0x0018
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc809b8, 0x000D, 0x7ff664005c) => 0x0008
glXGetFBConfigAttrib(0x556bc70e40, 0x556bc80700, 0x800B, 0x7ff6640154) => 0x0000
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn't create native window!
Error: main: Could not initialize canvas


glmark2 without LIBGL_FBO=3 crashes.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 15:32:43
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x5572228e40, 0x7ff761ac10, 0x7ff761ac14)
glXChooseFBConfig(0x5572228e40, 0, 0x55721cc960, 0x7ff761ac8c)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 3 config
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x0002, 0x7ff761ac10) -> 0x0010
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x0008, 0x7ff761abf8) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x0009, 0x7ff761abfc) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x000A, 0x7ff761ac00) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x000B, 0x7ff761ac04) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x000C, 0x7ff761ac08) => 0x0018
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x000D, 0x7ff761ac0c) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x0002, 0x7ff761ac10) -> 0x0010
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x0008, 0x7ff761abf8) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x0009, 0x7ff761abfc) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x000A, 0x7ff761ac00) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x000B, 0x7ff761ac04) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x000C, 0x7ff761ac08) => 0x0018
glXGetFBConfigAttrib(0x5572228e40, 0x5572243270, 0x000D, 0x7ff761ac0c) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x0002, 0x7ff761ac10) -> 0x0010
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x0008, 0x7ff761abf8) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x0009, 0x7ff761abfc) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x000A, 0x7ff761ac00) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x000B, 0x7ff761ac04) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x000C, 0x7ff761ac08) => 0x0018
glXGetFBConfigAttrib(0x5572228e40, 0x5572243358, 0x000D, 0x7ff761ac0c) => 0x0008
glXGetFBConfigAttrib(0x5572228e40, 0x5572243188, 0x800B, 0x7ff761ad04) => 0x0000
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn't create native window!
Error: main: Could not initialize canvas


Stardew Valley with LIBGL_FB=3 either runs extremely slow or crashes on start. Crash log:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 15:32:43
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x55865da130, 0x5586632020, 0x5586632024)
glXChooseVisual(0x55865da130, 0, 0x7ffd71f940)
glXChooseFBConfig(0x55865da130, 0, 0x7ffd71f7d0, 0x7ffd71f7cc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55865da130, 0x55866320c0, (nil), 1), latest_visual=0x55866320c0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5586632b20
glXMakeCurrent(0x55865da130, 0x3000002, 0x5586632b20), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x55865da130, 0)
glXMakeCurrent(0x55865da130, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55865da130, 0x5586632b20), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55865da130, 0, 0x7ffd71f7f0)
glXChooseFBConfig(0x55865da130, 0, 0x7ffd71f6d0, 0x7ffd71f6cc)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXCreateContext(0x55865da130, 0x5586648240, (nil), 1), latest_visual=0x5586648100, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x55866484d0
glXMakeCurrent(0x55865da130, 0x3000005, 0x55866484d0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000005
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000003)
 => True
glXMakeCurrent(0x55865da130, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55865da130, 0x55866484d0), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x55865da130, 0x558674f2f0, 0x558674f2f4)
glXChooseVisual(0x55865da130, 0, 0x7ffd71fa60)
glXChooseFBConfig(0x55865da130, 0, 0x7ffd71f8f0, 0x7ffd71f8ec)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55865da130, 0x5586671fc0, (nil), 1), latest_visual=0x5586671fc0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5586632540
glXMakeCurrent(0x55865da130, 0x300000a, 0x5586632540), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x300000a
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000004)
 => True
glXQueryExtensionString(0x55865da130, 0)
glXMakeCurrent(0x55865da130, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55865da130, 0x5586632540), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55865da130, 0, 0x7ffd71f910)
glXChooseFBConfig(0x55865da130, 0, 0x7ffd71f7f0, 0x7ffd71f7ec)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXCreateContext(0x55865da130, 0x5586788590, (nil), 1), latest_visual=0x5586632a90, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5586788820
glXMakeCurrent(0x55865da130, 0x300000d, 0x5586788820), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 800x480 for drawable 0x300000d
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
glXCreateContext(0x55865da130, 0x55867d0ee0, 0x5586788820, 1), latest_visual=0x5586632a90, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55867ce430
glXMakeCurrent(0x55865da130, 0x300000d, 0x55867ce430), isPBuffer(drawable)=4, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
glXMakeCurrent(0x55865da130, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55865da130, 0x55867ce430), fbcontext_count=0, ctx_type=0
[ERROR] FATAL UNHANDLED EXCEPTION: Microsoft.Xna.Framework.Graphics.MonoGameGLException: GL.GetError() returned 1285
  at Microsoft.Xna.Framework.Graphics.GraphicsExtensions.CheckGLError () [0x0002e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D+<PlatformSetData>c__AnonStorey1`1[T].<>m__0 () [0x00355] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Threading.BlockOnUIThread (System.Action action) [0x0001d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformSetData[T] (System.Int32 level, System.Int32 arraySlice, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00034] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (System.Int32 level, System.Int32 arraySlice, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00190] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (System.Int32 level, System.Nullable`1[T] rect, T[] data, System.Int32 startIndex, System.Int32 elementCount) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.Texture2DReader.Read (Microsoft.Xna.Framework.Content.ContentReader reader, Microsoft.Xna.Framework.Graphics.Texture2D existingInstance) [0x0043e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentTypeReader`1[T].Read (Microsoft.Xna.Framework.Content.ContentReader input, System.Object existingInstance) [0x00008] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.InnerReadObject[T] (T existingInstance) [0x00039] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T] () [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T] () [0x00007] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T] (System.String assetName, System.Action`1[T] recordDisposableObject) [0x00094] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Content.ContentManager.Load[T] (System.String assetName) [0x00074] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.LocalizedContentManager.Load[T] (System.String assetName, StardewValley.LocalizedContentManager+LanguageCode language) [0x00054] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at StardewValley.LocalizedContentManager.Load[T] (System.String assetName) [0x00007] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at StardewValley.Game1.LoadContent () [0x00165] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.Initialize () [0x0004f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Initialize () [0x001aa] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoInitialize () [0x00012] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x0003a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0
Slow log:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 15:32:43
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x555fa2cfb0, 0x555fa84e50, 0x555fa84e54)
glXChooseVisual(0x555fa2cfb0, 0, 0x7fe395b6e0)
glXChooseFBConfig(0x555fa2cfb0, 0, 0x7fe395b570, 0x7fe395b56c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x555fa2cfb0, 0x555fa84ef0, (nil), 1), latest_visual=0x555fa84ef0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x555fa85950
glXMakeCurrent(0x555fa2cfb0, 0x3000002, 0x555fa85950), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x555fa2cfb0, 0)
glXMakeCurrent(0x555fa2cfb0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x555fa2cfb0, 0x555fa85950), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x555fa2cfb0, 0, 0x7fe395b590)
glXChooseFBConfig(0x555fa2cfb0, 0, 0x7fe395b470, 0x7fe395b46c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXCreateContext(0x555fa2cfb0, 0x555fa9b0f0, (nil), 1), latest_visual=0x555fa9af30, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x555fa9b380
glXMakeCurrent(0x555fa2cfb0, 0x3000005, 0x555fa9b380), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x3000005
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000003)
 => True
glXMakeCurrent(0x555fa2cfb0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x555fa2cfb0, 0x555fa9b380), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x555fa2cfb0, 0x555fba2950, 0x555fba2954)
glXChooseVisual(0x555fa2cfb0, 0, 0x7fe395b800)
glXChooseFBConfig(0x555fa2cfb0, 0, 0x7fe395b690, 0x7fe395b68c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x555fa2cfb0, 0x555fba2ac0, (nil), 1), latest_visual=0x555fba2ac0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x555fa85370
glXMakeCurrent(0x555fa2cfb0, 0x300000a, 0x555fa85370), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 32x32 for drawable 0x300000a
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000004)
 => True
glXQueryExtensionString(0x555fa2cfb0, 0)
glXMakeCurrent(0x555fa2cfb0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x555fa2cfb0, 0x555fa85370), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x555fa2cfb0, 0, 0x7fe395b6b0)
glXChooseFBConfig(0x555fa2cfb0, 0, 0x7fe395b590, 0x7fe395b58c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXCreateContext(0x555fa2cfb0, 0x555f9a8c70, (nil), 1), latest_visual=0x555fbaecd0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x555fbd8cc0
glXMakeCurrent(0x555fa2cfb0, 0x300000d, 0x555fbd8cc0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
XGetGeometry gives 800x480 for drawable 0x300000d
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
glXCreateContext(0x555fa2cfb0, 0x555fc27fb0, 0x555fbd8cc0, 1), latest_visual=0x555fbaecd0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x555fc25500
glXMakeCurrent(0x555fa2cfb0, 0x300000d, 0x555fc25500), isPBuffer(drawable)=4, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000005)
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
LIBGL: Recreate PBuffer 800x480x32 => 1280x720x32
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)
glXSwapBuffers(0x555fa2cfb0, 0x300000D)


Stardew Valley without LIBGL_FB=3 crashes.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 10 2018 15:32:43
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryExtension(0x559298df30, 0x55929e5e20, 0x55929e5e24)
glXChooseVisual(0x559298df30, 0, 0x7ff50873a0)
glXChooseFBConfig(0x559298df30, 0, 0x7ff5087230, 0x7ff508722c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x559298df30, 0x55929e5ec0, (nil), 1), latest_visual=0x55929e5ec0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x55929ef470
glXMakeCurrent(0x559298df30, 0x3000002, 0x55929ef470), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x559298df30, 0)
glXMakeCurrent(0x559298df30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x559298df30, 0x55929ef470), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x559298df30, 0, 0x7ff5087250)
glXChooseFBConfig(0x559298df30, 0, 0x7ff5087130, 0x7ff508712c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x559298df30, 0x55929ef530, (nil), 1), latest_visual=0x5592a048c0, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x55929ef7c0
glXMakeCurrent(0x559298df30, 0x3000004, 0x55929ef7c0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXMakeCurrent(0x559298df30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x559298df30, 0x55929ef7c0), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x559298df30, 0x55929fbec0, 0x55929fbec4)
glXChooseVisual(0x559298df30, 0, 0x7ff50874c0)
glXChooseFBConfig(0x559298df30, 0, 0x7ff5087350, 0x7ff508734c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x559298df30, 0x55929fd130, (nil), 1), latest_visual=0x55929fd130, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5592ae6af0
glXMakeCurrent(0x559298df30, 0x3000008, 0x5592ae6af0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x559298df30, 0)
glXMakeCurrent(0x559298df30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x559298df30, 0x5592ae6af0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x559298df30, 0, 0x7ff5087370)
glXChooseFBConfig(0x559298df30, 0, 0x7ff5087250, 0x7ff508724c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x559298df30, 0x5592894d10, (nil), 1), latest_visual=0x5592af2fa0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55928f3cb0
glXMakeCurrent(0x559298df30, 0x300000a, 0x55928f3cb0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXCreateContext(0x559298df30, 0x5592b40da0, 0x55928f3cb0, 1), latest_visual=0x5592af2fa0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5592b3b190
glXMakeCurrent(0x559298df30, 0x300000a, 0x5592b3b190), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: Warning, eglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x7F)
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x559298df30, 0x5592b3b190), fbcontext_count=0, ctx_type=0
Unable to make GL context current
glXMakeCurrent(0x559298df30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXMakeCurrent(0x559298df30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0


Sorry it didn't work :(
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby Molorius » Thu Oct 11, 2018 6:48 am

I just noticed you posted a commit, "Fixed an issue with Framebuffer and Renderbuffer deletion", this does not include that commit. I will post the new logs in a few hours.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 6:59 am

Don't bother :( That fix will not fix the crash you have with LIBGL_FB=3. I need to find something else (need to fix that "Could not get a valid XVisualInfo!").
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 7:07 am

Ok, I have just pushed a fix, so now LIBGL_FB=3 stuff should work.

Unfortunatly, it wont fix the problem with StardewValley without LIBGL_FB=3, that EGL_BAD_MATCH on the eglCreateSurface, that make the EGL Context to fail, is something else.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Thu Oct 11, 2018 5:24 pm

Also, I wonder how it would run (or not) with LIBGL_FB=1 ?
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 5:32 am

I put up monolibs-odroid for the C2 and N1 but I think currently there's an issue with gl4es :(
if I go "fullscreen" I only see the lower left corner of the screen nothing else.

I tested monolibs-odroid with Owlboy which works fine (except for fullscreen) and seems to be full speed.
This means Stardew Valley should work reasonably fast.

And since the fullscreen issue happens on both armhf and arm64 I'd say is one of the recent changes in glx that causes this now.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Fri Oct 12, 2018 5:52 am

Just in case, I have just pushed a tentative change to try workaround the "EGL_BAD_ALLOC" error when creating an EGLSurface. It "LIBGL_GLXRECYCLE".

Now, the fullscreen is again limited some 800x480 or 1280x720 (or maybe the previous windowed size)? I'm sure I had this error at some point... I'll investigate!
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Fri Oct 12, 2018 6:52 am

@meveric I have found the error and pushed a fix :) !
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 7:08 am

I'll rebuild and try in a couple of hours after I wake up again :D
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Fri Oct 12, 2018 3:05 pm

glmark2 without LIBGL_FB opens up a window that is completely see-through.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 11 2018 22:51:57
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x5586357e40, 0x7fcbb18850, 0x7fcbb18854)
glXChooseFBConfig(0x5586357e40, 0, 0x55862fb960, 0x7fcbb188cc)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 3 config
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x0002, 0x7fcbb18850) -> 0x0010
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x0008, 0x7fcbb18838) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x0009, 0x7fcbb1883c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x000A, 0x7fcbb18840) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x000B, 0x7fcbb18844) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x000C, 0x7fcbb18848) => 0x0018
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x000D, 0x7fcbb1884c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x0002, 0x7fcbb18850) -> 0x0010
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x0008, 0x7fcbb18838) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x0009, 0x7fcbb1883c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x000A, 0x7fcbb18840) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x000B, 0x7fcbb18844) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x000C, 0x7fcbb18848) => 0x0018
glXGetFBConfigAttrib(0x5586357e40, 0x5586372270, 0x000D, 0x7fcbb1884c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x0002, 0x7fcbb18850) -> 0x0010
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x0008, 0x7fcbb18838) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x0009, 0x7fcbb1883c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x000A, 0x7fcbb18840) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x000B, 0x7fcbb18844) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x000C, 0x7fcbb18848) => 0x0018
glXGetFBConfigAttrib(0x5586357e40, 0x5586372358, 0x000D, 0x7fcbb1884c) => 0x0008
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x800B, 0x7fcbb18944) => 0x0041
glXCreateNewContext(0x5586357e40, 0x5586372188, 32788, (nil), 1), drawableType=0x00
glXCreateContextAttribsARB(0x5586357e40, 0x5586372188, (nil), 1) config is RGBA:0000, depth=0, stencil=0, drawable=0
 => return 0x5586372340 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x5586357e40, 0)
glXMakeCurrent(0x5586357e40, 0x3400002, 0x5586372340), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXSwapInterval(0)
glXQueryDrawable(0x5586357e40, 0x3400002(0), GLX_SWAP_INTERVAL_EXT, 0x7fcbb189d4 = 0)
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
glXGetCurrentContext()
    OpenGL Information
    GL_VENDOR:     ptitSeb
    GL_RENDERER:   GL4ES wrapper
    GL_VERSION:    2.1 gl4es wrapper 1.0.9
=======================================================
glXDestroyContext(0x5586357e40, 0x5586372340), fbcontext_count=0, ctx_type=0
glXGetFBConfigAttrib(0x5586357e40, 0x5586372188, 0x800B, 0x7fcbb188d4) => 0x0000
glXCreateNewContext(0x5586357e40, 0x5586372188, 32788, (nil), 1), drawableType=0x00
glXCreateContextAttribsARB(0x5586357e40, 0x5586372188, (nil), 1) config is RGBA:0000, depth=0, stencil=0, drawable=0
 => return 0x5586372340 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x5586357e40, 0)
glXMakeCurrent(0x5586357e40, 0x3400002, 0x5586372340), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: Warning, eglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x55)
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
Error: glXMakeCurrent failed
Error: CanvasGeneric: Invalid EGL state
[build] use-vbo=false:glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)
glXSwapBuffers(0x5586357e40, 0x3400002)


glmark2 with LIBGL_FB=1: crashes on start.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 11 2018 22:51:57
LIBGL: framebuffer output enabled
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x557136de40, 0x7ffbd71e60, 0x7ffbd71e64)
glXChooseFBConfig(0x557136de40, 0, 0x5571311960, 0x7ffbd71edc)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 3 config
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x0002, 0x7ffbd71e60) -> 0x0010
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x0008, 0x7ffbd71e48) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x0009, 0x7ffbd71e4c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x000A, 0x7ffbd71e50) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x000B, 0x7ffbd71e54) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x000C, 0x7ffbd71e58) => 0x0018
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x000D, 0x7ffbd71e5c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x0002, 0x7ffbd71e60) -> 0x0010
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x0008, 0x7ffbd71e48) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x0009, 0x7ffbd71e4c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x000A, 0x7ffbd71e50) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x000B, 0x7ffbd71e54) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x000C, 0x7ffbd71e58) => 0x0018
glXGetFBConfigAttrib(0x557136de40, 0x557137d7e0, 0x000D, 0x7ffbd71e5c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x0002, 0x7ffbd71e60) -> 0x0010
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x0008, 0x7ffbd71e48) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x0009, 0x7ffbd71e4c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x000A, 0x7ffbd71e50) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x000B, 0x7ffbd71e54) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x000C, 0x7ffbd71e58) => 0x0018
glXGetFBConfigAttrib(0x557136de40, 0x557137d8c8, 0x000D, 0x7ffbd71e5c) => 0x0008
glXGetFBConfigAttrib(0x557136de40, 0x557137d6f8, 0x800B, 0x7ffbd71f54) => 0x0041
glXCreateNewContext(0x557136de40, 0x557137d6f8, 32788, (nil), 1), drawableType=0x7137D8F0
glXCreateContextAttribsARB(0x557136de40, 0x557137d6f8, (nil), 1) config is RGBA:0000, depth=0, stencil=0, drawable=1899485424
 => return 0x557137d9b0 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x557136de40, 0)
glXMakeCurrent(0x557136de40, 0x3400002, 0x557137d9b0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x55)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
Error: glXMakeCurrent failed
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas


glmark2 with LIBGL_FB=3 runs extremely slowly.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 11 2018 22:51:57
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:***
glXQueryVersion(0x555e39ce40, 0x7fe4cfafd0, 0x7fe4cfafd4)
glXChooseFBConfig(0x555e39ce40, 0, 0x555e340960, 0x7fe4cfb04c)
FBConfig renderable=1
FBConfig drawableType=0x1
FBConfig redBits=1
FBConfig greenBits=1
FBConfig blueBits=1
FBConfig alphaBits=1
FBConfig depthBits=1
FBConfig stencilBits=0
FBConfig doubleBufferMode=1
glXChooseFBConfig found 4 config
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x0002, 0x7fe4cfafd0) -> 0x0010
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x0008, 0x7fe4cfafb8) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x0009, 0x7fe4cfafbc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x000A, 0x7fe4cfafc0) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x000B, 0x7fe4cfafc4) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x000C, 0x7fe4cfafc8) => 0x0018
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x000D, 0x7fe4cfafcc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x0002, 0x7fe4cfafd0) -> 0x0010
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x0008, 0x7fe4cfafb8) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x0009, 0x7fe4cfafbc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x000A, 0x7fe4cfafc0) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x000B, 0x7fe4cfafc4) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x000C, 0x7fe4cfafc8) => 0x0018
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac7e8, 0x000D, 0x7fe4cfafcc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x0002, 0x7fe4cfafd0) -> 0x0010
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x0008, 0x7fe4cfafb8) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x0009, 0x7fe4cfafbc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x000A, 0x7fe4cfafc0) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x000B, 0x7fe4cfafc4) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x000C, 0x7fe4cfafc8) => 0x0018
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac8d0, 0x000D, 0x7fe4cfafcc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x0002, 0x7fe4cfafd0) -> 0x0010
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x0008, 0x7fe4cfafb8) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x0009, 0x7fe4cfafbc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x000A, 0x7fe4cfafc0) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x000B, 0x7fe4cfafc4) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x000C, 0x7fe4cfafc8) => 0x0018
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac9b8, 0x000D, 0x7fe4cfafcc) => 0x0008
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x800B, 0x7fe4cfb0c4) => 0x0041
glXCreateNewContext(0x555e39ce40, 0x555e3ac700, 32788, (nil), 1), drawableType=0x00
glXCreateContextAttribsARB(0x555e39ce40, 0x555e3ac700, (nil), 1) config is RGBA:0000, depth=0, stencil=0, drawable=0
 => return 0x555e3ac9b0 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x555e39ce40, 0)
glXMakeCurrent(0x555e39ce40, 0x3400002, 0x555e3ac9b0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
XGetGeometry gives 800x600 for drawable 0x3400002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXSwapInterval(0)
glXQueryDrawable(0x555e39ce40, 0x3400002(1), GLX_SWAP_INTERVAL_EXT, 0x7fe4cfb154 = 0)
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
glXGetCurrentContext()
    OpenGL Information
    GL_VENDOR:     ptitSeb
    GL_RENDERER:   GL4ES wrapper
    GL_VERSION:    2.1 gl4es wrapper 1.0.9
=======================================================
glXDestroyContext(0x555e39ce40, 0x555e3ac9b0), fbcontext_count=0, ctx_type=0
glXGetFBConfigAttrib(0x555e39ce40, 0x555e3ac700, 0x800B, 0x7fe4cfb054) => 0x5E3AC8F0
glXCreateNewContext(0x555e39ce40, 0x555e3ac700, 32788, (nil), 1), drawableType=0x00
glXCreateContextAttribsARB(0x555e39ce40, 0x555e3ac700, (nil), 1) config is RGBA:0000, depth=0, stencil=0, drawable=0
 => return 0x555e3ac9b0 (context->shared=(nil))
glXGetCurrentContext()
glXQueryExtensionString(0x555e39ce40, 0)
glXMakeCurrent(0x555e39ce40, 0x3400002, 0x555e3ac9b0), isPBuffer(drawable)=1, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_SURFACE (0x0)
 => False
Error: glXMakeCurrent failed
Error: CanvasGeneric: Invalid EGL state
[build] use-vbo=false:glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)
glXSwapBuffers(0x555e39ce40, 0x3400002)


Would you prefer one program over another? This thread was initially about Stardew Valley, but it's easier for other people to reproduce these results if they don't have to buy the game.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 3:10 pm

I currently don't own Stardew Valley so I wanted to test if FNA on the C2 works at all and it seems to work fine with Owlboy (and probably others as well)
So in theory Stardew Valley should work as well.

If you have other FNA games we can compare them as well, right now I can just say Owlboy works fine on the C2 (except for fullscreen, but I'm gonna test that again).
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Fri Oct 12, 2018 3:18 pm

@Molorius can you try with LIBGL_GLXRECYCLE=1 ?

Also, what OS are you running? I guess it's not OGST, is it some stock image?
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 3:35 pm

just tested the new gl4es and yes, fullscreen in fixed again and works on the C2 for Owlboy.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Fri Oct 12, 2018 3:44 pm

All of these are tested with LC_ALL="C" LIBGL_ES=2 LIBGL_GL=21 LIBGL_DEFAULTWRAP=2 LIBGL_FBOFORCETEX=1 LIBGL_GLXRECYCLE=1. This is using Debian Stretch built by meveric, it's what they use as a base for OGST. But I've been pretty unlucky with this so far, I'm wondering if I should reinstall the OS just in case...

Stardew Vally crashes at start.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 00:09:00
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: GLX Will try to recycle EGL Surface
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
glXQueryExtension(0x5573348f40, 0x55733a0e20, 0x55733a0e24)
glXChooseVisual(0x5573348f40, 0, 0x7fd5b1eba0)
glXChooseFBConfig(0x5573348f40, 0, 0x7fd5b1ea30, 0x7fd5b1ea2c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5573348f40, 0x55733a0ec0, (nil), 1), latest_visual=0x55733a0ec0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x55733aa470
glXMakeCurrent(0x5573348f40, 0x3200002, 0x55733aa470), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x5573348f40, 0)
glXMakeCurrent(0x5573348f40, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5573348f40, 0x55733aa470), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 52428802 Added
glXChooseVisual(0x5573348f40, 0, 0x7fd5b1ea50)
glXChooseFBConfig(0x5573348f40, 0, 0x7fd5b1e930, 0x7fd5b1e92c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x5573348f40, 0x55733ab030, (nil), 1), latest_visual=0x55733beef0, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x55733ab2c0
glXMakeCurrent(0x5573348f40, 0x3200004, 0x55733ab2c0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: eglMakeCurrent(0x2, 0x20000002, 0x20000002, 0x40000001)
 => True
glXMakeCurrent(0x5573348f40, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5573348f40, 0x55733ab2c0), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 52428804 Added
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x5573348f40, 0x55733be6d0, 0x55733be6d4)
glXChooseVisual(0x5573348f40, 0, 0x7fd5b1ecc0)
glXChooseFBConfig(0x5573348f40, 0, 0x7fd5b1eb50, 0x7fd5b1eb4c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5573348f40, 0x55734a32f0, (nil), 1), latest_visual=0x55734a32f0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x55733ae3e0
glXMakeCurrent(0x5573348f40, 0x3200008, 0x55733ae3e0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: eglMakeCurrent(0x2, 0x20000003, 0x20000003, 0x40000001)
 => True
glXQueryExtensionString(0x5573348f40, 0)
glXMakeCurrent(0x5573348f40, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5573348f40, 0x55733ae3e0), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 52428808 Added
glXChooseVisual(0x5573348f40, 0, 0x7fd5b1eb70)
glXChooseFBConfig(0x5573348f40, 0, 0x7fd5b1ea50, 0x7fd5b1ea4c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x5573348f40, 0x557324fe40, (nil), 1), latest_visual=0x557349f8c0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55734cd110
glXMakeCurrent(0x5573348f40, 0x320000a, 0x55734cd110), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: eglMakeCurrent(0x2, 0x20000004, 0x20000004, 0x40000001)
 => True
glXCreateContext(0x5573348f40, 0x55735007c0, 0x55734cd110, 1), latest_visual=0x557349f8c0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55734fdd10
glXMakeCurrent(0x5573348f40, 0x320000a, 0x55734fdd10), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, eglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x7F)
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x5573348f40, 0x55734fdd10), fbcontext_count=0, ctx_type=0
Unable to make GL context current
glXMakeCurrent(0x5573348f40, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXMakeCurrent(0x5573348f40, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0


With LIBGL_FB=1 it crashes on start.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 00:09:00
LIBGL: framebuffer output enabled
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: GLX Will try to recycle EGL Surface
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
glXQueryExtension(0x5568b8dd30, 0x5568be5c50, 0x5568be5c54)
glXChooseVisual(0x5568b8dd30, 0, 0x7fdee88260)
glXChooseFBConfig(0x5568b8dd30, 0, 0x7fdee880f0, 0x7fdee880ec)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5568b8dd30, 0x5568be5cf0, (nil), 1), latest_visual=0x5568be5cf0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5568be6330
glXMakeCurrent(0x5568b8dd30, 0x3600002, 0x5568be6330), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x55)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXQueryExtensionString(0x5568b8dd30, 0)
glXMakeCurrent(0x5568b8dd30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5568b8dd30, 0x5568be6330), fbcontext_count=1, ctx_type=0
glXChooseVisual(0x5568b8dd30, 0, 0x7fdee88110)
glXChooseFBConfig(0x5568b8dd30, 0, 0x7fdee87ff0, 0x7fdee87fec)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x5568b8dd30, 0x5568bf4180, (nil), 1), latest_visual=0x5568bfade0, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x5568bf4410
glXMakeCurrent(0x5568b8dd30, 0x3600004, 0x5568bf4410), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x7F)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x5568b8dd30, 0x5568bf4410), fbcontext_count=1, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x5568b8dd30, 0x5568cc9ce0, 0x5568cc9ce4)
glXChooseVisual(0x5568b8dd30, 0, 0x7fdee88380)
glXChooseFBConfig(0x5568b8dd30, 0, 0x7fdee88210, 0x7fdee8820c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5568b8dd30, 0x5568cc9ef0, (nil), 1), latest_visual=0x5568cc9ef0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5568cc9f40
glXMakeCurrent(0x5568b8dd30, 0x3600008, 0x5568cc9f40), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x55)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXQueryExtensionString(0x5568b8dd30, 0)
glXMakeCurrent(0x5568b8dd30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5568b8dd30, 0x5568cc9f40), fbcontext_count=1, ctx_type=0
glXChooseVisual(0x5568b8dd30, 0, 0x7fdee88230)
glXChooseFBConfig(0x5568b8dd30, 0, 0x7fdee88110, 0x7fdee8810c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x5568b8dd30, 0x5568b6cf80, (nil), 1), latest_visual=0x5568cc9ef0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5568b5d1d0
glXMakeCurrent(0x5568b8dd30, 0x360000a, 0x5568b5d1d0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x7F)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x5568b8dd30, 0x5568b5d1d0), fbcontext_count=1, ctx_type=0
Unable to make GL context current
glXCreateContext(0x5568b8dd30, 0x5568d114f0, (nil), 1), latest_visual=0x5568cc9ef0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5568d11000
glXMakeCurrent(0x5568b8dd30, 0x360000a, 0x5568d11000), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
LIBGL: Warning, EglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x7F)
LIBGL: eglMakeCurrent(0x1, (nil), (nil), 0x40000001)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x5568b8dd30, 0x5568d11000), fbcontext_count=1, ctx_type=0
Unable to make GL context current
glXMakeCurrent(0x5568b8dd30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXMakeCurrent(0x5568b8dd30, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0


With LIBGL_FB=3 it runs extremely slowly.
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 00:09:00
LIBGL: using pbuffer
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: GLX Will try to recycle EGL Surface
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
glXQueryExtension(0x5575b63c60, 0x5575bbbb10, 0x5575bbbb14)
glXChooseVisual(0x5575b63c60, 0, 0x7ff962d590)
glXChooseFBConfig(0x5575b63c60, 0, 0x7ff962d420, 0x7ff962d41c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5575b63c60, 0x5575bbbbb0, (nil), 1), latest_visual=0x5575bbbbb0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5575bbc610
glXMakeCurrent(0x5575b63c60, 0x3600002, 0x5575bbc610), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
XGetGeometry gives 32x32 for drawable 0x3600002
LIBGL: eglMakeCurrent(0x1, 0x20000001, 0x20000001, 0x40000002)
 => True
glXQueryExtensionString(0x5575b63c60, 0)
glXMakeCurrent(0x5575b63c60, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5575b63c60, 0x5575bbc610), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 56623106 Added
glXChooseVisual(0x5575b63c60, 0, 0x7ff962d440)
glXChooseFBConfig(0x5575b63c60, 0, 0x7ff962d320, 0x7ff962d31c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 10 config
glXCreateContext(0x5575b63c60, 0x5575bd2900, (nil), 1), latest_visual=0x5575be6540, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x5575be6780
glXMakeCurrent(0x5575b63c60, 0x3600005, 0x5575be6780), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
XGetGeometry gives 32x32 for drawable 0x3600005
LIBGL: eglMakeCurrent(0x1, 0x20000002, 0x20000002, 0x40000003)
 => True
glXMakeCurrent(0x5575b63c60, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5575b63c60, 0x5575be6780), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 56623109 Added
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x5575b63c60, 0x5575cdd240, 0x5575cdd244)
glXChooseVisual(0x5575b63c60, 0, 0x7ff962d6b0)
glXChooseFBConfig(0x5575b63c60, 0, 0x7ff962d540, 0x7ff962d53c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5575b63c60, 0x5575cdca30, (nil), 1), latest_visual=0x5575cdca30, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5575cdd0e0
glXMakeCurrent(0x5575b63c60, 0x360000a, 0x5575cdd0e0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
XGetGeometry gives 32x32 for drawable 0x360000a
LIBGL: eglMakeCurrent(0x1, 0x20000003, 0x20000003, 0x40000004)
 => True
glXQueryExtensionString(0x5575b63c60, 0)
glXMakeCurrent(0x5575b63c60, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x1, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5575b63c60, 0x5575cdd0e0), fbcontext_count=0, ctx_type=0
LIBGL: EGLSurface for drawable 56623114 Added
glXChooseVisual(0x5575b63c60, 0, 0x7ff962d560)
glXChooseFBConfig(0x5575b63c60, 0, 0x7ff962d440, 0x7ff962d43c)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 4 config
glXCreateContext(0x5575b63c60, 0x5575d14630, (nil), 1), latest_visual=0x5575cdca30, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5575d1a170
glXMakeCurrent(0x5575b63c60, 0x360000d, 0x5575d1a170), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
creating attributes
XGetGeometry gives 800x480 for drawable 0x360000d
LIBGL: eglMakeCurrent(0x1, 0x20000004, 0x20000004, 0x40000005)
 => True
glXCreateContext(0x5575b63c60, 0x5575d5fe00, 0x5575d1a170, 1), latest_visual=0x5575cdca30, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5575d5d350
glXMakeCurrent(0x5575b63c60, 0x360000d, 0x5575d5d350), isPBuffer(drawable)=4, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x1, 0x20000004, 0x20000004, 0x40000005)
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods.SteamAPI_InitSafe()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
glXSwapBuffers(0x5575b63c60, 0x360000D)
LIBGL: Recreate PBuffer 800x480x32 => 1280x720x32
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
glXSwapBuffers(0x5575b63c60, 0x360000D)
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 3:49 pm

if you're using my image, update the system so you have the latested libgl-odroid version (should be uploaded in 2mins or so) and also install the package monolibs-odroid
after that use the same command that you used before except for the LD_LIBRARY_PATH which now should be : /usr/local/lib/monolibs/ let's see if that helps.

I used the following line for Owlboy:
Code: Select all
export LC_ALL="C" LIBGL_MIPMAP=3 LIBGL_ES=2 LIBGL_GL=21 LIBGL_DEFAULTWRAP=2 LIBGL_FBOFORCETEX=1 LD_LIBRARY_PATH=/usr/local/lib/monolibs/


Edit: now that I see it, I should probably remove the MIPMAP option -.-
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Fri Oct 12, 2018 3:55 pm

It's the same error. Does glmark2 (not glmark2-es) run on yours?
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby meveric » Fri Oct 12, 2018 4:04 pm

just tried, no glmark2 doesn't work either, but that's not really a surprise, I never expect it to work to begin with.
Doesn't work in other ODROIDs either (probably rather bad for testing anyway).

But other OpenGL applications are working (such as Owlboy with FNA).
You can for example install "hedgewars-odroid-launcher" to test gl4es.
Hedgewars also requires OpenGL (although OpenGL 1.x is enough), but you have to start a game to see if it works, not just the menu.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9205
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Stardew Valley FNA Help

Unread postby Molorius » Fri Oct 12, 2018 4:13 pm

Hedgewars crashes for me too, I'll assume I messed up the image somehow... I will reinstall the OS and run the tests again in a few hours.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby Molorius » Sat Oct 13, 2018 4:39 am

I reinstalled the whole OS. Hedgewars is working now, Stardew Valley gives the same errors. Dang.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Sat Oct 13, 2018 4:50 am

You have the same "EGL_BAD_ALLOC" and a NULL eglSurf?
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Sat Oct 13, 2018 5:19 am

Here is the output from meveric's build (no debug):
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 08:11:41
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: ignore MipMap
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x0)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
Unable to make GL context current
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods:SteamAPI_InitSafe ()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0


EDIT: here's the output from my build that has DEBUG enabled:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 20:26:13
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
glXQueryExtension(0x5592b4b340, 0x5592ba3790, 0x5592ba3794)
glXChooseVisual(0x5592b4b340, 0, 0x7ff9b44ba0)
glXChooseFBConfig(0x5592b4b340, 0, 0x7ff9b44a70, 0x7ff9b44a6c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5592b4b340, 0x5592ba3830, (nil), 1), latest_visual=0x5592ba3830, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5592bacde0
glXMakeCurrent(0x5592b4b340, 0x2a00002, 0x5592bacde0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x5592b4b340, 0)
glXMakeCurrent(0x5592b4b340, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5592b4b340, 0x5592bacde0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x5592b4b340, 0, 0x7ff9b44b70)
glXChooseFBConfig(0x5592b4b340, 0, 0x7ff9b44a40, 0x7ff9b44a3c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x5592b4b340, 0x5592bacee0, (nil), 1), latest_visual=0x5592bc2220, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x5592bad170
glXMakeCurrent(0x5592b4b340, 0x2a00004, 0x5592bad170), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXMakeCurrent(0x5592b4b340, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5592b4b340, 0x5592bad170), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x5592b4b340, 0x5592bdbfb0, 0x5592bdbfb4)
glXChooseVisual(0x5592b4b340, 0, 0x7ff9b44d30)
glXChooseFBConfig(0x5592b4b340, 0, 0x7ff9b44c00, 0x7ff9b44bfc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x5592b4b340, 0x5592ca85c0, (nil), 1), latest_visual=0x5592ca85c0, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5592ca97f0
glXMakeCurrent(0x5592b4b340, 0x2a00008, 0x5592ca97f0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x5592b4b340, 0)
glXMakeCurrent(0x5592b4b340, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x5592b4b340, 0x5592ca97f0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x5592b4b340, 0, 0x7ff9b44d00)
glXChooseFBConfig(0x5592b4b340, 0, 0x7ff9b44bd0, 0x7ff9b44bcc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x5592b4b340, 0x5592cb74a0, (nil), 1), latest_visual=0x5592ca7e60, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5592cb7730
glXMakeCurrent(0x5592b4b340, 0x2a0000a, 0x5592cb7730), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXCreateContext(0x5592b4b340, 0x5592d015b0, 0x5592cb7730, 1), latest_visual=0x5592ca7e60, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5592d01840
glXMakeCurrent(0x5592b4b340, 0x2a0000a, 0x5592d01840), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: Warning, eglSurf is null
LIBGL: ERROR: EGL Error detected: EGL_BAD_ALLOC (0x7F)
LIBGL: eglMakeCurrent(0x2, (nil), (nil), 0x40000002)
LIBGL: ERROR: EGL Error detected: EGL_BAD_MATCH (0x0)
 => False
glXDestroyContext(0x5592b4b340, 0x5592d01840), fbcontext_count=0, ctx_type=0
Unable to make GL context current
glXMakeCurrent(0x5592b4b340, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXMakeCurrent(0x5592b4b340, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods:SteamAPI_InitSafe ()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en

gameMode was 'titleScreenGameMode (0)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Shader Compilation Failed
  at Microsoft.Xna.Framework.Graphics.Shader.GetShaderHandle () [0x000d9] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.Link (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00011] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.ShaderProgramCache.GetProgram (Microsoft.Xna.Framework.Graphics.Shader vertexShader, Microsoft.Xna.Framework.Graphics.Shader pixelShader) [0x00021] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ActivateShaderProgram () [0x00013] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformApplyState (System.Boolean applyShaders) [0x00156] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.ApplyState (System.Boolean applyShaders) [0x0006a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformDrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00001] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives[T] (Microsoft.Xna.Framework.Graphics.PrimitiveType primitiveType, T[] vertexData, System.Int32 vertexOffset, System.Int32 numVertices, System.Int16[] indexData, System.Int32 indexOffset, System.Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x000ec] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.FlushVertexArray (System.Int32 start, System.Int32 end, Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Graphics.Texture texture) [0x0009f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawBatch (Microsoft.Xna.Framework.Graphics.SpriteSortMode sortMode, Microsoft.Xna.Framework.Graphics.Effect effect) [0x000eb] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Graphics.SpriteBatch.End () [0x0001a] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Game1.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x028d1] in <d1a12a15b5184adfa0937d2553365fc8>:0
  at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00024] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x0022e] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () [0x0001f] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run (Microsoft.Xna.Framework.GameRunBehavior runBehavior) [0x00092] in <bfa6443ad4d842578f5c49494f83268e>:0
  at Microsoft.Xna.Framework.Game.Run () [0x0000d] in <bfa6443ad4d842578f5c49494f83268e>:0
  at StardewValley.Program.Main (System.String[] args) [0x00028] in <d1a12a15b5184adfa0937d2553365fc8>:0

So yes, it has the EGL_BAD_ALLOC error and eglSurf is null warning.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Sat Oct 13, 2018 6:36 am

Ok, I have to recheck everything I guess.

Also, how many screen are connected to your C2 (2?), and on wich one are you launching the game (the secondary?).
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Sat Oct 13, 2018 6:45 am

I only have a single HDMI screen connected to it.
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Re: Stardew Valley FNA Help

Unread postby ptitSeb » Sat Oct 13, 2018 6:55 am

Based on latest logs, I tried something, just pushed on gl4es repo. Maybe it helps things.
User avatar
ptitSeb
 
Posts: 53
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french

Re: Stardew Valley FNA Help

Unread postby Molorius » Sat Oct 13, 2018 7:09 am

It worked! Thanks for the help and patience :D

If you're curious, here's the logs:
Code: Select all
LIBGL: Initialising gl4es
LIBGL: v1.0.9 built on Oct 12 2018 16:00:45
LIBGL: Using GLES 2.0 backend
LIBGL:loaded: libGLESv2.so
LIBGL:loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 12
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: Targeting OpenGL 2.1
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Default wrap mode is GL_CLAMP_TO_EDGE, enforced
LIBGL: Current folder is:
glXQueryExtension(0x55941d9cc0, 0x559424e670, 0x559424e674)
glXChooseVisual(0x55941d9cc0, 0, 0x7ff99aa090)
glXChooseFBConfig(0x55941d9cc0, 0, 0x7ff99a9f60, 0x7ff99a9f5c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55941d9cc0, 0x559424e710, (nil), 1), latest_visual=0x559424e710, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x5594257cc0
glXMakeCurrent(0x55941d9cc0, 0x3000002, 0x5594257cc0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x55941d9cc0, 0)
glXMakeCurrent(0x55941d9cc0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55941d9cc0, 0x5594257cc0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55941d9cc0, 0, 0x7ff99aa060)
glXChooseFBConfig(0x55941d9cc0, 0, 0x7ff99a9f30, 0x7ff99a9f2c)
FBConfig redBits=3
FBConfig greenBits=3
FBConfig blueBits=2
FBConfig doubleBufferMode=1
FBConfig depthBits=16
glXChooseFBConfig found 6 config
glXCreateContext(0x55941d9cc0, 0x5594257dc0, (nil), 1), latest_visual=0x559426d110, fbcontext_count=0Creating R:8 G:8 B:8 A:0 Depth:16 Stencil:8 Multisample:0/0
 => 0x5594258050
glXMakeCurrent(0x55941d9cc0, 0x3000004, 0x5594258050), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXMakeCurrent(0x55941d9cc0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55941d9cc0, 0x5594258050), fbcontext_count=0, ctx_type=0
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
glXQueryExtension(0x55941d9cc0, 0x5594267b10, 0x5594267b14)
glXChooseVisual(0x55941d9cc0, 0, 0x7ff99aa220)
glXChooseFBConfig(0x55941d9cc0, 0, 0x7ff99aa0f0, 0x7ff99aa0ec)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXGetCurrentContext()
glXGetCurrentDrawable()
glXCreateContext(0x55941d9cc0, 0x5594354640, (nil), 1), latest_visual=0x5594354640, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:24 Stencil:8 Multisample:0/0
 => 0x55943549d0
glXMakeCurrent(0x55941d9cc0, 0x3000008, 0x55943549d0), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXQueryExtensionString(0x55941d9cc0, 0)
glXMakeCurrent(0x55941d9cc0, (nil), (nil)), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=0
LIBGL: eglMakeCurrent(0x2, (nil), (nil), (nil))
 => True
glXDestroyContext(0x55941d9cc0, 0x55943549d0), fbcontext_count=0, ctx_type=0
glXChooseVisual(0x55941d9cc0, 0, 0x7ff99aa1f0)
glXChooseFBConfig(0x55941d9cc0, 0, 0x7ff99aa0c0, 0x7ff99aa0bc)
FBConfig redBits=8
FBConfig greenBits=8
FBConfig blueBits=8
FBConfig alphaBits=8
FBConfig doubleBufferMode=1
FBConfig depthBits=24
glXChooseFBConfig found 3 config
glXCreateContext(0x55941d9cc0, 0x55943618c0, (nil), 1), latest_visual=0x5594340500, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x5594361b50
glXMakeCurrent(0x55941d9cc0, 0x300000a, 0x5594361b50), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000001)
 => True
glXCreateContext(0x55941d9cc0, 0x55943a3370, 0x5594361b50, 1), latest_visual=0x5594340500, fbcontext_count=0Creating R:8 G:8 B:8 A:8 Depth:16 Stencil:8 Multisample:0/0
 => 0x55943a3600
glXMakeCurrent(0x55941d9cc0, 0x300000a, 0x55943a3600), isPBuffer(drawable)=0, context->drawable=(nil), context->eglSurface=(nil)((nil)), context->doublebuff=1
LIBGL: eglMakeCurrent(0x2, 0x20000001, 0x20000001, 0x40000002)
 => True
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
System.DllNotFoundException: CSteamworks
  at (wrapper managed-to-native) Steamworks.NativeMethods:SteamAPI_InitSafe ()
  at Steamworks.SteamAPI.Init () [0x00005] in <84f6cc6c98764a4d997251a75f411232>:0
  at StardewValley.SDKs.SteamHelper.Initialize () [0x00000] in <d1a12a15b5184adfa0937d2553365fc8>:0
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
glXSwapBuffers(0x55941d9cc0, 0x300000A)
Molorius
 
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO

Next

Return to Games and Emulators

Who is online

Users browsing this forum: No registered users and 2 guests