mcshader-lsp icon indicating copy to clipboard operation
mcshader-lsp copied to clipboard

[Linux - mesa] extension crashes with NoAvailablePixelFormat

Open ColdIce1605 opened this issue 2 years ago • 9 comments

Logs: https://pastebin.com/zKCravCv

It crashes as soon as you open up a shaderpack. Not sure if there is really anything else other than its a AMD card and mesa version is 22.1.6-1 on arch Linux.

ColdIce1605 avatar Aug 18 '22 21:08 ColdIce1605

Can you link the whole outputs of glxinfo, glinfo and eglinfo separately?

Strum355 avatar Aug 20 '22 22:08 Strum355

https://pastebin.com/v8nhyPWx no glinfo https://pastebin.com/eLHp3Mq9

ColdIce1605 avatar Aug 22 '22 03:08 ColdIce1605

Can you unzip this, place it somewhere, and point the extension towards it and let me know if it works? Also any other info on your setup would help: wayland, in a VM etc

mcshader-lsp.zip

Strum355 avatar Dec 05 '22 13:12 Strum355

Wayland, not in vm

ColdIce1605 avatar Dec 31 '22 00:12 ColdIce1605

Issue doesnt happen on nvidia+wayland (sway). Are you able to try xorg?

Strum355 avatar Jan 03 '23 22:01 Strum355

Also got to trying the executable sent also the samething.

ColdIce1605 avatar Jan 04 '23 07:01 ColdIce1605

on my computer (intel mesa) + (nvidia proprietary driver) ./mcshader-lsp same as this issue. but __NV_PRIME_RENDER_OFFLOAD=1 ./mcshader-lsp works

SnowNF avatar Apr 17 '23 15:04 SnowNF

on my computer (intel mesa) + (nvidia proprietary driver) ./mcshader-lsp same as this issue. but __NV_PRIME_RENDER_OFFLOAD=1 ./mcshader-lsp works

That wont work for ColdeIce's issue unfortunately, but good to know about dual GPU laptops, Im not sure right now how I would auto-detect that (maybe just unconditionally pass it in)

Strum355 avatar Apr 17 '23 17:04 Strum355

That wont work for ColdeIce's issue unfortunately, but good to know about dual GPU laptops, Im not sure right now how I would auto-detect that (maybe just unconditionally pass it in)

thx, but I think only nvidia proprietary drivers will work properly because I tried with llvmpipe LIBGL_ALWAYS_SOFTWARE=true ./mcshader-lsp it fails too

SnowNF avatar Apr 17 '23 17:04 SnowNF