Summary: | [865g Linux regression] GPU hang and disabled acceleration | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Eugene <ken20001> | ||||||||||||||||||||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||||||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||||||||||||
Severity: | major | ||||||||||||||||||||||||||||
Priority: | medium | CC: | chris, intel-gfx-bugs, ken20001, mrmazda | ||||||||||||||||||||||||||
Version: | unspecified | Keywords: | regression | ||||||||||||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||||
i915 platform: | I865G | i915 features: | display/Other | ||||||||||||||||||||||||||
Attachments: |
|
Description
Eugene
2015-09-10 13:32:37 UTC
Created attachment 118186 [details]
Distorted desktop screenshot
Created attachment 118187 [details]
dmesg
Created attachment 118188 [details]
glxinfo
Created attachment 118189 [details]
syslog
Created attachment 118190 [details]
Xorg.0.log
Created attachment 118191 [details]
Xorg.0.log.old
Bug scrub: Priority updated to medium/mejor. System is quite old now. Priority is new systems (In reply to cprigent from comment #7) > Bug scrub: > Priority updated to medium/mejor. System is quite old now. Priority is new > systems Sorry, but this is what we have: 10, with the same hardware config, desktops in usual school. We don't have more modern hardware. Looks like the old bug mentioned in comment #0 was in userspace. Do you have systems with the old distro? Can you upgrade *just* the kernel on one of those, and we'll see whether this reproduces the bug. (In reply to Jani Nikula from comment #9) > Looks like the old bug mentioned in comment #0 was in userspace. Do you have > systems with the old distro? Can you upgrade *just* the kernel on one of > those, and we'll see whether this reproduces the bug. It's a pity but we have no machine with distro that still not upgraded. All they are with Kubuntu 14.04.3, linux 3.19, and graphics stack from Kubuntu 14.04.2. In this case there is no distortion on a screen. In attempt to follow-up to comment 9, I started with: 1G RAM 1680x1050 native Lenovo L2251 LCD display 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) PRETTY_NAME="Ubuntu 14.04.2 LTS" ii libglu1-mesa:i386 9.0.0-2 i386 Mesa OpenGL utility library (GLU) ii xserver-xorg-video-intel 2:2.99.910-0ubuntu1.6 i386 X.Org X server -- Intel i8xx, i9xx display driver ii linux-image-generic 3.13.0.52.59 i386 Generic Linux kernel image ii kde-workspace 4:4.11.11-0ubuntu0.2 all KDE Plasma Workspace components updated to (added without Xorg update stack or recommends): ii linux-image-generic 3.19.0.49.34 i386 Generic Linux kernel image With or without compositing enabled via xorg.conf*, I was unable to notice any kind of corruption of or in desktop, menus, Konsole or Firefox 44. apt-get upgrade and reboot left me with the following (also with no video corruption evident with or without compositing enabled): PRETTY_NAME="Ubuntu 14.04.3 LTS" ii libglu1-mesa:i386 9.0.0-2 i386 Mesa OpenGL utility library (GLU) ii xserver-xorg-video-intel 2:2.99.910-0ubuntu1.6 i386 X.Org X server -- Intel i8xx, i9xx display driver ii kde-workspace 4:4.11.11-0ubuntu0.2 all KDE Plasma Workspace components ii linux-image-generic-lts-vivid 3.19.0.49.34 i386 Generic Linux kernel image Eugene, where did your MESA 10.5.9 come from? Hello. Sorry for the delay. I think the following is no normal. Also, at now, my desktop wallpaper just becoming black. $ dmesg | grep -i error [ 133.825738] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 133.830842] [drm:i915_reset [i915]] *ERROR* Failed to reset chip: -19 $ grep -i "(EE)" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 133.830] (EE) intel(0): Detected a hung GPU, disabling acceleration. [ 133.831] (EE) intel(0): When reporting this, please include /sys/class/drm/card0/error and the full dmesg. Xubuntu 14.04.4 LTS Linux 4.2.0-35-generic x86_64 MESA 11.0.2 from Ubuntu's repo. xserver-xorg-video-intel-lts-wily 2.99.917+git20150808-0ubuntu4~trusty2 All needed fresh files is in attachment. Created attachment 122994 [details]
dmesg
Created attachment 122995 [details]
/sys/class/drm/card0/error
Created attachment 122996 [details]
glxinfo
Created attachment 122997 [details]
syslog
Created attachment 122998 [details]
Xorg.0.log
Created attachment 122999 [details]
current desktop wallpaper crash result
Eugene, make sure if your BIOS has video buffer size options of 1MB and 8MB that you select 8. You might wish to try removing xserver-xorg-video-intel. I did so on i865G running 14.04.03 (Linux 3.19), which caused automatic use of the modesetting driver. Whether performance is better or worse than with the Intel driver I'm not sure, but Youtube is watchable, and I see no corruption with it either. (In reply to Felix Miata from comment #19) > Eugene, make sure if your BIOS has video buffer size options of 1MB and 8MB > that you select 8. You might wish to try removing xserver-xorg-video-intel. > I did so on i865G running 14.04.03 (Linux 3.19), which caused automatic use > of the modesetting driver. Whether performance is better or worse than with > the Intel driver I'm not sure, but Youtube is watchable, and I see no > corruption with it either. I'll check BIOS setting of course. But, look, my problem isn't with youtube, my problem is that GPU is hung and acceleration then turning off. (In reply to Eugene from comment #20) > (In reply to Felix Miata from comment #19) > > Eugene, make sure if your BIOS has video buffer size options of 1MB and 8MB > > that you select 8. You might wish to try removing xserver-xorg-video-intel. > > I did so on i865G running 14.04.03 (Linux 3.19), which caused automatic use > > of the modesetting driver. Whether performance is better or worse than with > > the Intel driver I'm not sure, but Youtube is watchable, and I see no > > corruption with it either. > > I'll check BIOS setting of course. But, look, my problem isn't with youtube, > my problem is that GPU is hung and acceleration then turning off. Without xserver-xorg-video-intel package there is no graphics at all after rebooting. $ dmesg | grep -i error [ 60.825428] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 60.833500] [drm:i915_reset [i915]] *ERROR* Failed to reset chip: -19 This message appears regularly. Hmm, this corresponds to commit d721b02fd00bf133580f431b82ef37f3b746dfb2 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Mon Aug 8 13:58:39 2016 +0300 drm/i915: Account for TSEG size when determining 865G stolen base so worth checking (hmm, that hasn't landed upstream yet). (In reply to Chris Wilson from comment #23) > Hmm, this corresponds to > > commit d721b02fd00bf133580f431b82ef37f3b746dfb2 > Author: Ville Syrjälä <ville.syrjala@linux.intel.com> > Date: Mon Aug 8 13:58:39 2016 +0300 > > drm/i915: Account for TSEG size when determining 865G stolen base > > so worth checking (hmm, that hasn't landed upstream yet). Hi, Chris. Any chance to put it in upstream someday? Yes, it'll land in 4.9 and then back through the stable trees. I was just expecting it to already be in the 4.8-rc (and stable trees). (In reply to Chris Wilson from comment #25) > Yes, it'll land in 4.9 and then back through the stable trees. I was just > expecting it to already be in the 4.8-rc (and stable trees). It would be great. I've been waiting for this for a long time. (In reply to Chris Wilson from comment #25) > Yes, it'll land in 4.9 and then back through the stable trees. I was just > expecting it to already be in the 4.8-rc (and stable trees). It would be great. I've been waiting for this for a long time. With Linux 3.8RC7: $ dmesg | grep -i error [ 2.348832] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=21 end=3362197186) time 9 us, min 1017, max 1023, scanline start 1026, end 1023 [ 27.845631] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 27.845634] i915: render error detected, EIR: 0x00000010 [ 27.845806] [drm:i915_report_and_clear_eir [i915]] *ERROR* EIR stuck: 0x00000010, masking And also I'm not able to play any video. $ glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. intel_do_flush_locked failed: Input/output error but it works with: $ LIBGL_ALWAYS_SOFTWARE=1 glxgears -info GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits) GL_VERSION = 3.0 Mesa 11.2.0 GL_VENDOR = VMware, Inc. GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_buffer_storage GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_get_texture_sub_image GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control VisualID 32, 0x20 436 frames in 5.0 seconds = 87.180 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" after 1573 requests (1571 known processed) with 0 events remaining. All is OK with Interl-DRM-Next Kernel. Waiting for upstream. Eugene, have you had a chance to verify this is fixed in the upstream driver? I will check it as soon as I'll get to those old Intel graphic's machines at the end of current week. I removed Interl-DRM-Next Kernel but with upstream kernel all is ok now too. So I confirm that with upstream kernel there is no error messages about GPU crash or render error. Thank you very much. Finally! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.