DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st November 2020
bradley bradley is offline
Fdisk Soldier
 
Join Date: Jul 2020
Posts: 53
Default OpenRA problems

From ports I built OpenRA but nothing starts.

Received a similar warning like above:
Code:
Platform is Linux
Engine version is release-20200503
libEGL warning: DRI3: Screen seems not DRI3 capable
Renderer initialization failed. Check graphics.log for details.
Renderer initialization failed. Check graphics.log for details.
Exception of type `System.InvalidOperationException`: Failed to initialize platform-integration library. Check graphics.log for details.
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00162] in <28f23cc180214022841ac13af72445d1>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00006] in <28f23cc180214022841ac13af72445d1>:0 
  at OpenRA.Program.Main (System.String[] args) [0x00044] in <28f23cc180214022841ac13af72445d1>:0
glxinfo:
Code:
glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics (ILK)
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fog_distance, 
    GL_KHR_robustness, GL_NV_conditional_render, GL_NV_draw_buffers, 
    GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,
In the logs it says:
Code:
System.InvalidOperationException: No supported OpenGL profiles were found.
  at OpenRA.Platforms.Default.Sdl2PlatformWindow..ctor (OpenRA.Primitives.Size requestEffectiveWindowSize, OpenRA.WindowMode windowMode, System.Single scaleModifier, System.Int32 batchSize, System.Int32 videoDisplay, OpenRA.GLProfile requestProfile) [0x000c3] in <94c4a448d8e34836ba49f8897cce0561>:0 
  at OpenRA.Platforms.Default.DefaultPlatform.CreateWindow (OpenRA.Primitives.Size size, OpenRA.WindowMode windowMode, System.Single scaleModifier, System.Int32 batchSize, System.Int32 videoDisplay, OpenRA.GLProfile profile) [0x00000] in <94c4a448d8e34836ba49f8897cce0561>:0 
  at OpenRA.Renderer..ctor (OpenRA.IPlatform platform, OpenRA.GraphicSettings graphicSettings) [0x00057] in <28f23cc180214022841ac13af72445d1>:0 
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00204] in <28f23cc180214022841ac13af72445d1>:0 
System.InvalidOperationException: No supported OpenGL profiles were found.
  at OpenRA.Platforms.Default.Sdl2PlatformWindow..ctor (OpenRA.Primitives.Size requestEffectiveWindowSize, OpenRA.WindowMode windowMode, System.Single scaleModifier, System.Int32 batchSize, System.Int32 videoDisplay, OpenRA.GLProfile requestProfile) [0x000c3] in <94c4a448d8e34836ba49f8897cce0561>:0 
  at OpenRA.Platforms.Default.DefaultPlatform.CreateWindow (OpenRA.Primitives.Size size, OpenRA.WindowMode windowMode, System.Single scaleModifier, System.Int32 batchSize, System.Int32 videoDisplay, OpenRA.GLProfile profile) [0x00000] in <94c4a448d8e34836ba49f8897cce0561>:0 
  at OpenRA.Renderer..ctor (OpenRA.IPlatform platform, OpenRA.GraphicSettings graphicSettings) [0x00057] in <28f23cc180214022841ac13af72445d1>:0 
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00204] in <28f23cc180214022841ac13af72445d1>:0
Also checked some other games like armagetronad, supertux2, zaz, lbreakout2 and they run fine (lbreakout2 goes to "pause" after the lost of the first ball and it's not playable but it's unrelated to the graphics issue. supertux2 only starts as root but that's probably also unrelated).

Is there a way to fix this issue? The machine has intel hd graphics and OpenGL ES 2.0 Mesa 20.0.8.
Reply With Quote
  #2   (View Single Post)  
Old 21st November 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

  • Why are you building from ports? Are you using an uncommon architecture?
  • If there is a project-provided package for your architecture, does it produce the same experience?
If you are certain you are using the correct release/flavor of the ports tree, I recommend you contact the port's maintainer, Thomas Frohwein. His Email address can be obtained with $ pkg_info openra.
Reply With Quote
  #3   (View Single Post)  
Old 21st November 2020
bradley bradley is offline
Fdisk Soldier
 
Join Date: Jul 2020
Posts: 53
Default

Thank you for the hint, overlooked that there is a package.

Tried to remove the package built from the portstree. Installing the package worked fine too, but starting the games delivers the same error messages. I guess those driver issues are not so important in general, only for this game, so better to switch to other games.
Reply With Quote
  #4   (View Single Post)  
Old 10th December 2020
thfr thfr is offline
New User
 
Join Date: Nov 2020
Posts: 2
Default

Maintainer here. I can't reproduce the error on 6.8-current. Can you post more details about what command you run and best a dmesg?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vi/Vim problems sorkom OpenBSD Packages and Ports 7 8th February 2016 01:51 PM
three problems :) craze OpenBSD Packages and Ports 6 6th March 2011 03:26 PM
GDM Problems Saint OpenBSD Packages and Ports 4 29th August 2010 09:42 AM
phpMyAdmin problems werwer OpenBSD General 5 16th July 2010 10:53 AM
ATI DRI problems harisman FreeBSD General 16 11th May 2008 05:12 PM


All times are GMT. The time now is 09:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick