On Fedora 43 KDE Plasma, it is asking me to compile with Wayland on. How to do that? Topic is solved

Problems building or running the engine, queries about how to use features etc.
Brown
Gnoblar
Posts: 7
Joined: Sat Dec 21, 2024 11:37 am

On Fedora 43 KDE Plasma, it is asking me to compile with Wayland on. How to do that?

Post by Brown »

Ogre Version: :14.4.1:
Operating System: :Fedora 43 KDE Plasma:
Render System: : GL3+:
Hi, Ogre 14.4.1 gives this error when trying to launch the Ogre Sample Browser.
An exception has occurred: RuntimeAssertionException: miscParams->find("externalWlDisplay") == end failed. Recompile with OGRE_USE_WAYLAND=ON in initNativeCreatedWindow at /home/Fedro4All/Downloads/ogre-14.4.1/RenderSystems/GLSupport/src/EGL/X11/OgreX11EGLWindow.cpp (line 96)

09:53:59: OverlayElementFactory for type TextArea registered.
09:53:59: Registering ResourceManager for type Font
09:53:59: CPU Identifier & Features
09:53:59: -------------------------
09:53:59: * SSE: yes
09:53:59: * SSE2: yes
09:53:59: * SSE3: yes
09:53:59: * SSE41: yes
09:53:59: * SSE42: yes
09:53:59: * MMX: yes
09:53:59: * MMXEXT: yes
09:53:59: * 3DNOW: no
09:53:59: * 3DNOWEXT: no
09:53:59: * CMOV: yes
09:53:59: * TSC: yes
09:53:59: *INVARIANT TSC: yes
09:53:59: * FPU: yes
09:53:59: * PRO: yes
09:53:59: * HT: no
09:53:59: -------------------------
09:53:59: ******************************
*** Starting EGL Subsystem ***


09:53:59: EGL_VENDOR = Mesa Project
09:53:59: EGL_VERSION = 1.5
09:53:59: EGL_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_query_reset_notification_strategy EGL_EXT_surface_compression EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_partial_update EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_MESA_x11_native_visual_id EGL_NOK_texture_from_pixmap
09:53:59: [SDL] Creating Wayland window
09:53:59: RenderSystem::_createRenderWindow "OGRE Sample Browser", 800x600 fullscreen miscParams: FSAA=0 displayFrequency=60 Hz externalWlDisplay=917150368 externalWlSurface=916985648 gamma=No sdlwin=917369600 vsync=Yes vsyncInterval=1

Thanks in advance.

Code: Select all

Ogre.log (optional)
paroj
OGRE Team Member
OGRE Team Member
Posts: 2278
Joined: Sun Mar 30, 2014 2:51 pm
x 1241

Re: On Fedora 43 KDE Plasma, it is asking me to compile with Wayland on. How to do that?

Post by paroj »

try "export SDL_VIDEODRIVER=x11"

Brown
Gnoblar
Posts: 7
Joined: Sat Dec 21, 2024 11:37 am

Re: On Fedora 43 KDE Plasma, it is asking me to compile with Wayland on. How to do that?

Post by Brown »

For someone like me, the above answer means. Run this command in the Command Line.

SDL_VIDEODRIVER=x11 ./SampleBrowser