Ralaoups Posted February 2, 2023 Report Posted February 2, 2023 (edited) Hello I have a little problem with ETL 281 i386 with Ubuntu (22.04 LTS) : I can't start the game : SDL build version 2.24.1 - link version 2.24.1 0 SDL_Init(SDL_INIT_VIDEO) FAILED (No available video device) 0 Setting r_mode -2 failed, falling back on r_mode 4 0 SDL_Init(SDL_INIT_VIDEO) FAILED (No available video device) 0 ----- Client Shutdown ---------- No problem with ETL 277 / ET 2.6B or ETL 281x64. In ETL 277 it's SDL 2.0.x and ETL 2.8.1 is SDL 2.24.1. On my laptop I have : ls -al /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so : /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so -> libSDL2-2.0.so.0 maybe I need to search on this way but ... Any idea ? Thanks David Edited February 2, 2023 by Ralaoups Quote
Ralaoups Posted February 2, 2023 Author Report Posted February 2, 2023 It works with 64bits binary but I want to understand why it doesnt work with 2.81 / 32 bits (2.77 32 bits works). Quote
ralvek Posted February 2, 2023 Report Posted February 2, 2023 prolly u have some missing 32b libs (dependancies) ls -al /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so : /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so -> libSDL2-2.0.so.0 Quote
Ralaoups Posted February 2, 2023 Author Report Posted February 2, 2023 well : Fresh install 2.81 i386 : problem 0 ----- Initializing Renderer ---- 0 SDL build version 2.24.1 - link version 2.24.1 0 SDL_Init(SDL_INIT_VIDEO) FAILED (No available video device) 0 SDL_Init(SDL_INIT_VIDEO) FAILED (No available video device) 0 Setting r_mode -2 failed, falling back on r_mode 4 0 SDL_Init(SDL_INIT_VIDEO) FAILED (No available video device) 0 ----- Client Shutdown ---------- 0 RE_Shutdown( 1 ) 0 ----- Client Shutdown ---------- Same fresh install with 2.81 x64 : ok ----- Initializing Renderer ---- 0 SDL build version 2.24.1 - link version 2.24.1 0 SDL initialized driver "x11" 0 Initializing OpenGL display 0 Estimated display aspect: 1.778 0 ...setting mode -2: 1920x1080 0 Using 24 color bits, 24 depth, 0 stencil display ==> no problem it works My current install with 2.77 i386 : ok 0 ----- Initializing Renderer ---- 0 SDL build version 2.0.14 - link version 2.0.14 0 SDL initialized driver "x11" 0 Initializing OpenGL display 0 Estimated display aspect: 1.778 0 ...setting mode -2: 1920x1080 ==> no problem it works Version 2.79 i386 : KO so lets play with x64 version... Quote
ralvek Posted February 3, 2023 Report Posted February 3, 2023 It doesnt like ur driver / x server for whatever reason. Just use the one that works mate 1 Quote
Ralaoups Posted February 10, 2023 Author Report Posted February 10, 2023 On 2/2/2023 at 10:58 AM, Kevlar said: prolly u have some missing 32b libs (dependancies) ls -al /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so : /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so -> libSDL2-2.0.so.0 Yes off course .... sudo apt install libsdl2-2.0-0:i386 All is resolved now with the 32 bits version. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.