MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.54k stars 288 forks source link

I can not record minecraft using GLInject after version 4.3 of the SSR #922

Open uaaaaaaa opened 2 years ago

uaaaaaaa commented 2 years ago

Since version 0.4.3 I can not use Glinject to record Minecraft the game does not start, plus the process starts in the background and the glinject arrives to detect but and impossible to record since the screen of the game does not appear I tried the versions 0.3.11 to 0.4.2 and I did not have problems but from 0.4.3 and 0.4.4 this happens I also tried other versions of OpenJDK but without success

In Minecraft Launcher logs the following appears: [SSR-GLInject] Library loaded (64-bit). [17:24:43] [Client thread/INFO]: Setting user: user [17:24:53] [Client thread/WARN]: Skipping bad option: lastServer: [17:24:53] [Client thread/INFO]: LWJGL Version: 3.2.2 build 10 [SSR-GLInject] Hooked: dlsym(glXSwapBuffers). [SSR-GLInject] Hooked: dlsym(glXCreateWindow). [SSR-GLInject] Hooked: dlsym(glXDestroyWindow). [SSR-GLInject] Hooked: dlsym(glXGetProcAddressARB). [SSR-GLInject] [GLXFrameGrabber 1] Created GLX frame grabber. [SSR-GLInject] [/dev/shm/ssr-channel-user/video-7115656116-13631-glx0001-java] Created video stream. [SSR-GLInject] Error: Could not get OpenGL version, version string is NULL!

While in the versions below 0.4.2 this appears, and I can record normally: [SSR-GLInject] Library loaded (64-bit). [17:16:17] [Client thread/INFO]: Setting user: user [17:16:27] [Client thread/WARN]: Skipping bad option: lastServer: [17:16:27] [Client thread/INFO]: LWJGL Version: 3.2.2 build 10 [SSR-GLInject] Hooked: dlsym(glXSwapBuffers). [SSR-GLInject] Hooked: dlsym(glXCreateWindow). [SSR-GLInject] Hooked: dlsym(glXDestroyWindow). [SSR-GLInject] Hooked: dlsym(glXGetProcAddressARB). [SSR-GLInject] [GLXFrameGrabber 1] Created GLX frame grabber. [SSR-GLInject] [/dev/shm/ssr-channel-user/video-6609398965-12400-glx0001-java] Created video stream. [SSR-GLInject] OpenGL version = 2.1 (2.1.2 NVIDIA 304.137). [SSR-GLInject] [/dev/shm/ssr-channel-user/video-6609398965-12400-glx0001-java] frame size = 854x480. [SSR-GLInject] Library loaded (64-bit). [17:16:32] [Client thread/INFO]: Narrator library successfully loaded [17:16:34] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [17:17:01] [Client thread/INFO]: OpenAL initialized. [17:17:01] [Client thread/INFO]: Sound engine started [17:17:02] [Client thread/INFO]: Created: 1024x512 textures-atlas [17:17:03] [Client thread/INFO]: Created: 256x256 textures/particle-atlas [17:17:03] [Client thread/INFO]: Created: 256x256 textures/painting-atlas [17:17:03] [Client thread/INFO]: Created: 256x128 textures/mob_effect-atlas

here are the complete logs:

simplescreenrecorder4.3notworking.txt

ssr4.2working.txt

JuliusLongmind commented 2 years ago

By downgrading to 0.4.2 the recording works again. I have tested 0.4.4 as well, but no luck.

Same issue here

petterreinholdtsen commented 4 months ago

I suspect this issue is fixed by 83b8f9f5d9c9ab06152657e57f85b6f71954a6b9, see also https://github.com/MaartenBaert/ssr/issues/947 .