Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Glxgears or any app won't run under virgl. #17

Open
PaimonAndTails opened this issue Sep 26, 2023 · 2 comments
Open

Glxgears or any app won't run under virgl. #17

PaimonAndTails opened this issue Sep 26, 2023 · 2 comments

Comments

@PaimonAndTails
Copy link

PaimonAndTails commented Sep 26, 2023

I installed mesa-link and VirGL through the add-ons
menu, then i launched the XFCE session with zink,
and attempted to run the glxgears app with GALLIUM_DRIVER=virpipe glxgears
and it gave me this:
Screenshot_20230926_161218_TermuxX11
I tried searching on Google for this error but got no results.
How can I solve this problem?

@cheadrian
Copy link
Owner

cheadrian commented Oct 23, 2023

Can you provide more details? On what device you are running the proot?
Try to alternate the --no-sysvipc inside LaunchXFCE_proot.

@NepbluNoGaGeX
Copy link

NepbluNoGaGeX commented Aug 28, 2024

Me same problem, I've been suffering for several days. I searched Google, nothing.

there is only ptitSeb/box64#1195

but the issue author closed it himself with the words "never mind, client does not send data"

it is not clear what he meant.

gpu mali g52 mc2
i use lhroot chroot (ubuntu 22:04 with kisak-mesa ppa)

glxgears startup without artifacts, but errors in termux session virgl_test_server_android appear as 1-2s with 'GALLIUM_DRIVERS=virpipe'

'failed to export fence sync object
virgl_fence_set_fd: failed err=-1'

also at startup game crashing (used latest OpenGL 4.6 with glsl 4.50 with variables MESA GL/GLSL VERSION OVERRIDE)

`vtest_client_dispatch_commands: client context created.
vrend_check_no_error: context error reported 1 "FarmingSimulator2019Game.exe" Unknown 1281
context 1 failed to dispatch TRANSFER3D: 22
vrend_decode_ctx_submit_cmd: context error reported 1 "FarmingSimulator2019Game.exe" Illegal command buffer 852011
client: VTEST_CLIENT_ERROR_COMMAND_DISPATCH'

at the same time, the LLVM-pipe (CPU-GL as we know) everything works, but it is clear that for such a heavy game we still need to use the GPU.

PS:

If I open terminal output startup box64 wine64, I see errors related to the same virgl server:

'No headers available
failed to get fd
Unable to get a valid fd
No headers available
failed to get fd
Unable to get a valid fd
lost connection to rendering server on 8 read 0 32'

I tried proot-distro with --shared-tmp and --no-sysvipc

is the same there

inside log.txt
does not give any errors at all, this log breaks off immediately, after initialize gpu and sound....

if I try to search in google for people who tried to run fs19 on Mali, I will not find absolutely anything. Because this was only run on Adreno via Turnip

I'll also add that I tried the same game on winlator
and miraculously everything works there and doesn't crash immediately upon launch.

But, winlator crashes when loading the map "probably due to lack of RAM".

And on my chroot, even with LLVM it loaded and played (albeit with 1 fps), which is strange.

So can I take something config/variables/drivers,etc from winlator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants