New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658921 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Text rendering bug with AMDGPU-PRO driver

Project Member Reported by kraynov@chromium.org, Oct 24 2016

Issue description

Chrome Version: 54.0.2840.59 (Official Build) (64-bit)
Is this the most recent version: Latest Stable
OS + version: Ubuntu 16.04.1 LTS
CPU architecture: x86_64
Window manager: GDM 3 (GNOME 3.18.5)
URLs: https://docs.google.com/spreadsheets (any spreadsheet)
Behavior in Linux Firefox: Works as intended

Graphics:
GPU: AMD Radeon RX480 8Gb
Driver: AMDGPU-PRO 16.30
This driver is quite new but totally replaces fglrx (peace with him) in Ubuntu 16.04, so my setup wouldn't be exotic.

What steps will reproduce the problem?
(1) Open any spreadsheet in Google Docs
(2) Click any cell

What is the expected result?
Selection of particular cell (it works with --disable-gpu option)

What happens instead?
All text (including row/column labels) disappears from edit area. Background colours and text underlines are intact.

Attachments:
(1) chrome://gpu
(2) Rendering trace

P.S. I have machine to reproduce.
 
gpu.html
52.5 KB View Download
trace_amdgpu_bug.json.gz
2.6 MB Download
Screenshots
Screenshot from 2016-10-24 23-26-44.png
7.3 KB View Download
Screenshot from 2016-10-24 23-47-35.png
9.0 KB View Download

Comment 2 by ericrk@chromium.org, Oct 24 2016

Thanks for reporting this! Can you paste or attach the contents of about://gpu while your browser is in the state where the issue reproduces?
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
disable_framebuffer_cmaa
disable_transparent_visuals
force_cube_map_positive_x_allocation
init_texture_max_anisotropy
regenerate_struct_names
scalarize_vec_and_mat_constructor_args
Problems Detected
Accelerated video decode is unavailable on Linux: 137247
Disabled Features: accelerated_video_decode
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Linux AMD drivers incorrectly return initial value of 1 for TEXTURE_MAX_ANISOTROPY: 348237
Applied Workarounds: init_texture_max_anisotropy
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Linux AMD drivers handle struct scopes incorrectly: 403957
Applied Workarounds: regenerate_struct_names
Linux ATI drivers crash on binding incomplete cube map texture to FBO: 518889
Applied Workarounds: force_cube_map_positive_x_allocation
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
Limit transparent visuals to drivers known to work: 369209
Applied Workarounds: disable_transparent_visuals
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Raster is using a single thread.
Disabled Features: multiple_raster_threads
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	25/10/2016, 01:47:30
Chrome version	Chrome/54.0.2840.59
Operating system	Linux 4.4.0-45-generic
Software rendering list version	11.12
Driver bug list version	9.00
ANGLE commit id	905fbdea9ef0
2D graphics backend	Skia/54 a21f10dd8b19c6cb47d07d94d0a0525c16461969
Command Line Args	--wm-user-time-ms=349306557 --flag-switches-begin --flag-switches-end --disable_transparent_visuals --window-depth=24 --x11-visual-id=33
Driver Information
Initialization time	48
In-process GPU	false
Sandboxed	false
GPU0	VENDOR = 0x1002, DEVICE= 0x67df
Optimus	false
AMD switchable	false
Driver vendor	ATI / AMD (Brahma)
Driver version	16.30.3
Driver date	
Pixel shader version	4.50
Vertex shader version	4.50
Max. MSAA samples	8
Machine model name	
Machine model version	
GL_VENDOR	ATI Technologies Inc.
GL_RENDERER	AMD Radeon (TM) RX 480 Graphics
GL_VERSION	4.5.13448 Core Profile Context 16.30.3
GL_EXTENSIONS	GL_AMDX_debug_output GL_AMD_blend_minmax_factor GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_framebuffer_sample_positions GL_AMD_gcn_shader GL_AMD_gpu_shader_half_float GL_AMD_gpu_shader_half_float2 GL_AMD_gpu_shader_int64 GL_AMD_interleaved_elements GL_AMD_multi_draw_indirect GL_AMD_name_gen_delete GL_AMD_occlusion_query_event GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_atomic_counter_ops GL_AMD_shader_stencil_export GL_AMD_shader_stencil_value_export GL_AMD_shader_trace GL_AMD_shader_trinary_minmax GL_AMD_stencil_operation_extended GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_transform_feedback3_lines_triangles GL_AMD_transform_feedback4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access 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_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 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_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program 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_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_bptc GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_texture_mirrored_repeat GL_INTEL_fragment_shader_ordering GL_KHR_context_flush_control GL_KHR_debug GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_explicit_multisample GL_NV_float_buffer GL_NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_vdpau_interop GL_OES_EGL_image GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint
Disabled Extensions	
Window system binding vendor	SGI
Window system binding version	1.4
Window system binding extensions	GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_OML_swap_method GLX_SGI_swap_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_INTEL_swap_event
Window manager	GNOME Shell
XDG_CURRENT_DESKTOP	GNOME
GDMSESSION	gnome
Compositing manager	Yes
Direct rendering	Yes
Reset notification strategy	0x8261
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_8888	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Log Messages
[15240:15240:1024/233307:ERROR:sandbox_linux.cc(343)] : InitializeSandbox() called with multiple threads in process gpu-process.
[15240:15240:1025/012101:WARNING:x11_util.cc(1404)] : X error received: serial 330771, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 4 (DRI2DestroyDrawable)
[15240:15240:1025/012101:WARNING:x11_util.cc(1404)] : X error received: serial 330772, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Still reproducible on AMDGPU-PR0 16.40

Comment 5 by ericrk@chromium.org, Jan 10 2017

Components: -Internals>GPU>Rasterization Internals>GPU>Canvas2D
Owner: junov@chromium.org
The content which is rendering incorrectly is from a Canvas element. Seems like a hardware accelerated Canvas2D issue (or possibly a generic Skia issue). 

junov@, can you take a look? Thanks!

Comment 6 by junov@chromium.org, Jan 10 2017

Components: -Internals>GPU>Canvas2D Blink>Canvas Internals>Skia
Owner: jvanverth@chromium.org
Punting to jvanverth,

Looks like a hardware incompatibility with skia's GPU-accelerated text rendering.
Status: Assigned (was: Untriaged)
Sorry it's taken a while to swing back to this. Before I set up a machine to look at it, can you confirm that it's still happening?
It'd also be good to know if it happens in Opera as well (though I'm not sure if they're GPU-accelerated on Linux). Thanks.
Hi, I can confirm the problem is still present. 

Chromium version: 59.0.3071.109 (Developer Build) Built on Ubuntu, running on LinuxMint 18.2 (64-bit)
AMDGPU-PRO version: 17.10-450821

The problem disappears when I disable "Accelerated 2D canvas" in chrome://flags/ (and relaunch)

It may be helpful to note that some Google sheet content is rendered correctly even with accelerated canvas - for example if I switch the cell formatting to use white text on black background - see the attached screenshot. The top cell in the default colors is rendered blank, the bottom in inverse colors is OK.

chrome://gpu output attached.

Thanks!






Selection_026.png
13.5 KB View Download
gpu.html
57.9 KB View Download

Comment 11 by m1g...@gmail.com, Nov 2 2017

Same problem here with amdgpu-pro 17.30 version and latest chrome 58.0.3029.110 (Build oficial) (64 bits)

I made a video that shows the text is there and it appears while loading the page but dissapears later (video contains several reloads) 
https://youtu.be/X8J_SeCM7aA
Installing amdgpu-pro-17.40-492261 on either Ubuntu 16.04.3 LTS / Ubuntu 17.10 Fresh installs 

leads to unreadable Google Chrome Version 63.0.3239.84 (Official Build) (64-bit)
Screenshot from 2017-12-15 13-41-10.png
205 KB View Download
Screenshot from 2017-12-15 13-40-53.png
24.3 KB View Download
Cc: masterc...@gmail.com
Labels: -Pri-2 Pri-1
mastercatz@
Could you please provide more information, like desktop environment, any issues with other applications, etc.? Thanks!

jvanverth@
Feel free to reach me out, I have a home desktop with that hardware and driver, can install a clean distro and provide Remote Desktop / SSH access. Also it's quite powerful to build Chrome on it.
Knowing the graphics card would be useful, in particular whether it's limited to the RX4xx line.

Comment 15 by m1g...@gmail.com, Dec 15 2017

Mine is a Radeon RX 460. 

Problem is gone when using amdgpu (open source driver) instead of amdgpu-pro.
I'm experiencing the same problem with Ubuntu 16.04. Also using an MSI RX480 (4gb version).
AMD A10-5800K APU with Radeon(tm) HD Graphics

R9 290

anything within google chrome does this the other browsers are ok 

Chromium Version 63.0.3239.84 (Official Build) Built on Ubuntu, running on Ubuntu 16.04 (64-bit)
runs ok 



Only other issue is with steam and psychedelic colors
http://steamcommunity.com/sharedfiles/filedetails/?id=1231908533

problems are amdgpu-pro-17.40-492261 related if I don't load 
Kernel driver in use: amdgpu and use Kernel driver in use: radeon
everything loads fine 

	

Our AMD setup has an R7 360, which is not supported for this driver, and it doesn't look like I can get an RX 4xx locally. I'll order a card and take another stab at this in the New Year.

amdgpu-pro-17.50 and it seems to look ok? 

I will try a fresh install over Xmas and see if it has been fixed 
just in case its another setting I have played with that made it work 
Thanks, that would be great news. It's obviously a driver bug and it's best if we don't have to work around those.
mastercatz@
Have you tried a fresh install, and if so, what were the results?

sorry been unexpectedly busy, and now work has me doing weekends 


I have not had to reboot my main machine so have been unable to restest 

I have a spare SSD ready how ever 

sorry for the delay 

actually, I could get this done soon 

if you can provide any debugging commands you would like me to run please provide them ( ubuntu / google chrome ) I will only be doing the test run once 
before going to ubuntu 17 


I will do ubuntu 16 install. google chrome install, test, reboot test, install old AMD drivers test, reboot test, remove AMD drivers test, reboot test, install new AMD drivers test, reboot, test, apt-update / apt-upgrade , test 
That sounds thorough enough, thanks. I have an RX 460 arriving soon, so if it continues to duplicate I can take it from there.
I dug up an old amdgpu-pro-16.40-348864 as well 
will try that first unsure if I still have the other driver I was using before 

will have something for you in a few hrs i have this afternoon free 
and now I cannot fault it 

however not entirely a fresh install as amdgpu-pro-16.40-348864 was tried first and failed to boot with an desktop display and was uninstalled

ubuntu was installed without any update or 3rd party selected 

17.40 was installed, could not fault it, ran apt upgrade, still could not fault it 

google-chrome-stable (63.0.3239.132-1) unsure what my last version was 

yet I did over 10 fresh installs last time and chrome was the only thing playing up ... 

I don't think I have tried any 3rd pary mesa drivers yet 
apt update
102 KB View Download
amd 17.40 install
15.9 KB Download
amd 16.4 install
38.7 KB Download
google install
2.6 KB View Download
Status: WontFix (was: Assigned)
In addition to mastercatz@'s testing, I easily duplicated the bug with 17.40, and wasn't able to with 17.50, so it's clearly a driver bug that was fixed.
Labels: -Hotlist-GoogleApps Hotlist-Partner-GSuite
Hello!
I use a ASUS-ROG-Strix-GL702ZC, with Ryzen 1700 and RX580 laptop. I am using Linux Mint 19. I installed (after changing the installer from only allow ubuntu to linuxmint - /etc/os-release) the AMDGPU PRO and it was not showing the spreadsheets. So, I uninstalled, the open source was using, but, then I found a topic on the Linux Mint, that I have to add my user to the video group. So, I added my user to the video group and now it works fine.

inxi -Gx

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           bus-ID: 0c:00.0
           Display Server: X.Org 1.19.6
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1920x1080@60.02hz
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 / DRM 3.25.0 AMD 18.20 / 4.15.0-24-generic, LLVM 6.0.1)
           version: 4.5 Mesa 18.0.0 Direct Render: Yes

Sign in to add a comment