Can't run in xsession, runs slow otherwise, Debian 8, "Could not create GL context"
Posted: Tue Dec 30, 2014 1:33 pm
Hello all, hope you are well. I've been out of the Pioneer universe for a while (real life got in the way [
] ), but hoping to give it another go. I can't get it to run on Debian 8 (strictly Testing / Sid at the moment) inside an already running xsession. Unfortunately we don't have libglut3-dev, we're using freeglut3-dev. Not sure if that's the reason. apt-cache policy freeglut3-devfreeglut3-dev: Installed: 2.8.1-2 Candidate: 2.8.1-2 Version table: *** 2.8.1-2 0 990 http://ftp.de.debian.org/debian/[/url] testing/main amd64 Packages 500 http://ftp.de.debian.org/debian/[/url] unstable/main amd64 Packages 100 /var/lib/dpkg/status I tried building from git, and using the latest build from the website. This is what I get: ./pioneerver 20141231 (50cdfd1) on: Linux System Name: LinuxHost Name: stirfryRelease(Kernel) Version: 3.16.0-4-amd64Kernel Build Timestamp: #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08)Machine Arch: x86_64Domain Name: (none) SDL Version 2.0.3Failed to set video mode. (Couldn't find matching GLX visual). Re-trying without multisampling.Failed to set video mode. (Could not create GL context). Re-trying with 16-bit depth bufferFailed to set video mode. (Couldn't find matching GLX visual). Re-trying with 16-bit depth buffer and no multisamplingerror: Failed to set video mode: Could not create GL context I deleted my ~/.pioneer folder, and it doesn't create logs when I try to run it like this. It's Intel integrated graphics, and it used to work OK a year or so ago (a Thinkpad X201-T). Glxgears and suchlike run fine. lspci... 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) If I switch to another virtual console, I can run it with xinit ./pioneer -- :1 but it runs so slowly as to be unplayable - something like 1 - 2 frames / sec. It creates this opengl.txt cat opengl.txt OpenGL version 3.3 (Core Profile) Mesa 10.3.2, running on VMware, Inc. Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)Available extensions:Shading language version: 3.30 GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_blend_func_extended GL_ARB_clear_buffer_object GL_ARB_compressed_texture_pixel_storage GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_conservative_depth GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_packing GL_ARB_shading_language_420pack GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_rectangle GL_ARB_texture_rgb10_a2ui GL_ARB_texture_rg GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_provoking_vertex GL_EXT_shader_integer_mix GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_integer GL_EXT_texture_mirror_clamp GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_OES_EGL_image GL_OES_read_format GL_KHR_debug GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_trinary_minmax GL_ATI_blend_equation_separate GL_ATI_texture_compression_3dc GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_multimode_draw_arrays GL_MESA_pack_invert GL_MESA_texture_signed_rgba GL_MESA_ycbcr_texture GL_NV_conditional_render GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_S3_s3tc Implementation Limits:GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 48GL_MAX_CUBE_MAP_TEXTURE_SIZE = 8192GL_MAX_DRAW_BUFFERS = 8GL_MAX_ELEMENTS_INDICES = 3000GL_MAX_ELEMENTS_VERTICES = 3000GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 16384GL_MAX_TEXTURE_IMAGE_UNITS = 16GL_MAX_TEXTURE_LOD_BIAS = 16GL_MAX_TEXTURE_SIZE = 8192GL_MAX_VERTEX_ATTRIBS = 16GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16GL_MAX_VERTEX_UNIFORM_COMPONENTS = 16384GL_NUM_COMPRESSED_TEXTURE_FORMATS = 3GL_SAMPLE_BUFFERS = 0GL_SAMPLES = 0GL_ALIASED_LINE_WIDTH_RANGE = 1, 255GL_MAX_VIEWPORT_DIMS = 8192, 8192GL_SMOOTH_LINE_WIDTH_RANGE = 1, 255GL_SMOOTH_POINT_SIZE_RANGE = 0, 255 Compressed texture formats: 0x83f0 0x83f2 0x83f3 from this config.ini cat config.ini AntiAliasingMode=0BindBottomCamera=Key1073741915,Key1073741902BindCameraRollLeft=Key1073741913BindCameraRollRight=Key1073741915BindCameraRotateDown=Key1073741914,Key1073741905BindCameraRotateLeft=Key1073741916,Key1073741904BindCameraRotateRight=Key1073741918,Key1073741903BindCameraRotateUp=Key1073741920,Key1073741906BindDecreaseScanRange=Key91BindDecreaseSpeed=Key1073742053BindFireLaser=Key32BindFireMissile=Key109BindFrontCamera=Key1073741920,Key1073741906BindIncreaseScanRange=Key93BindIncreaseSpeed=Key13BindKillRot=Key112BindLeftCamera=Key1073741916,Key1073741904BindMapLockHyperspaceTarget=Key32BindMapStartSearch=Key47,Key1073741908BindMapToggleInfoPanel=Key9BindMapToggleSelectionFollowView=Key13,Key1073741912BindMapViewReset=Key114BindMapViewRotateDown=Key115BindMapViewRotateLeft=Key97BindMapViewRotateRight=Key100BindMapViewRotateUp=Key119BindMapViewShiftBackward=Key1073741902BindMapViewShiftDown=Key1073741905BindMapViewShiftForward=Key1073741899BindMapViewShiftLeft=Key1073741904BindMapViewShiftRight=Key1073741903BindMapViewShiftUp=Key1073741906BindMapWarpToCurrent=Key99BindMapWarpToHyperspaceTarget=Key104BindMapWarpToSelection=Key103BindPitchDown=Key119BindPitchUp=Key115BindRearCamera=Key1073741914,Key1073741905BindResetCamera=Key1073741898BindRightCamera=Key1073741918,Key1073741903BindRollLeft=Key113BindRollRight=Key101BindTargetObject=Key116BindThrustBackwards=Key107BindThrustDown=Key111BindThrustForward=Key105BindThrustLeft=Key106BindThrustLowPower=Key1073742049BindThrustRight=Key108BindThrustUp=Key117BindToggleHudMode=Key9BindToggleLuaConsole=Key96BindToggleRotationDamping=Key114BindToggleScanMode=Key92BindTopCamera=Key1073741921,Key1073741899BindViewZoomIn=Key1073741911,Key61BindViewZoomOut=Key1073741910,Key45BindYawLeft=Key97BindYawRight=Key100CompactScanner=1DefaultLowThrustPower=0.25DetailCities=1DetailPlanets=1DisableEclipse=0DisableSound=0DisplayNavTunnel=0EnableCockpit=0EnableGLDebug=0EnableJoystick=1FOVVertical=65HudTrails=0InvertMouseY=0JoystickDeadzone=0.2Lang=enMasterMuted=0MasterVolume=0.8MaxPhysicsCyclesPerRender=4MusicMuted=0MusicVolume=0.8RedirectStdio=0ScrHeight=768ScrWidth=1024SectorViewXRotation=-10.0SectorViewZRotation=0SectorViewZoom=2.0SfxMuted=0SfxVolume=0.8SpeedLines=0StartFullscreen=1UseTextureCompression=1VSync=0WorkerThreads=0 Any suggestions? It's not great hardware, but I was hoping I could still just about play...Thanks.