Bug 2145253
Summary: | gnome-session check accelerated tool got wrong GL_RENDERER name with amggpu hardware | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | euroford |
Component: | mesa | Assignee: | Dave Airlie <airlied> |
Status: | CLOSED MIGRATED | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.7 | CC: | ndegraef, rstrode, tpelka |
Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-09-11 15:03:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
euroford
2022-11-23 15:52:37 UTC
Is the amdgpu module loaded? lsmod | grep amd What HW are we talking about? lspci -nn | grep -i video although polaris is quite old and should be supported. Would it be please possible to provide the 'journalctl -b' ? Thanks -Tom (In reply to Tomas Pelka from comment #1) > Is the amdgpu module loaded? > lsmod | grep amd > yes amdgpu module is loaded > What HW are we talking about? > lspci -nn | grep -i video > AMD Radeon RX 550 > although polaris is quite old and should be supported. > in weston, wayland works fine, even in RHEL9, AMD Radeon RX550 works fine. > > Would it be please possible to provide the 'journalctl -b' ? amdgpu driver works fine. Nov 23 23:07:01 localhost kernel: [drm] amdgpu kernel modesetting enabled. Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: enabling device (0006 -> 0007) Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: amdgpu: Fetched VBIOS from VFCT Nov 23 23:07:01 localhost kernel: amdgpu: ATOM BIOS: 113-55D-MG Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: amdgpu: PCIE atomic ops is not supported Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: BAR 2: releasing [mem 0x1120000000-0x11201fffff 64bit pref] Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: BAR 0: releasing [mem 0x1110000000-0x111fffffff 64bit pref] Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: BAR 0: assigned [mem 0x1200000000-0x12ffffffff 64bit pref] Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: BAR 2: assigned [mem 0x1180000000-0x11801fffff 64bit pref] Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: amdgpu: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used) Nov 23 23:07:01 localhost kernel: amdgpu 0000:11:00.0: amdgpu: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF Nov 23 23:07:01 localhost kernel: [drm] amdgpu: 4096M of VRAM memory ready Nov 23 23:07:01 localhost kernel: [drm] amdgpu: 4096M of GTT memory ready. Nov 23 23:07:01 localhost kernel: amdgpu: hwmgr_sw_init smu backed is polaris10_smu Nov 23 23:07:02 localhost kernel: amdgpu 0000:11:00.0: amdgpu: SE 2, SH per SE 1, CU per SH 8, active_cu_number 10 Nov 23 23:07:02 localhost kernel: amdgpu 0000:11:00.0: amdgpu: Using BACO for runtime pm Nov 23 23:07:02 localhost kernel: [drm] Initialized amdgpu 3.46.0 20150101 for 0000:11:00.0 on minor 0 Nov 23 23:07:02 localhost kernel: amdgpu 0000:11:00.0: [drm] fb0: amdgpudrmfb frame buffer device > > Thanks > -Tom https://issues.redhat.com/browse/RHELPLAN-140317 I don't have permission to view it, could you please give some useful explain? Thanks Hi, I just wanted to ask a few more questions: - Does this also happen with an X11 session? - Couuld you run `glxinfo -B` and attach the output? - Could you run `LIBGL_DEBUG=verbose glxgears` and attach the output? (In reply to euroford from comment #3) > https://issues.redhat.com/browse/RHELPLAN-140317 > > I don't have permission to view it, could you please give some useful > explain? It's a link to our internal issue tracking, which basically just mirrors this BZ. Nothing to worry about :-) (In reply to Niels De Graef from comment #4) > Hi, I just wanted to ask a few more questions: > > - Does this also happen with an X11 session? in X11 sesion: /usr/libexec/gnome-session-check-accelerated /usr/libexec/gnome-session-check-accelerated-gl-helper --print-renderer /usr/libexec/gnome-session-check-accelerated-gles-helper --print-renderer works fine, return AMD Radeon RX 550 Series (polaris11, LLVM 14.0.6, DRM 3.46 4.18.0-425.3.1.el8.x86_64) > > - Couuld you run `glxinfo -B` and attach the output? name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: AMD (0x1002) Device: AMD Radeon RX 550 Series (polaris11, LLVM 14.0.6, DRM 3.46, 4.18.0-425.3.1.el8.x86_64) (0x67ff) Version: 22.1.5 Accelerated: yes Video memory: 4096MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 3898 MB, largest block: 3898 MB VBO free aux. memory - total: 4062 MB, largest block: 4062 MB Texture free memory - total: 3898 MB, largest block: 3898 MB Texture free aux. memory - total: 4062 MB, largest block: 4062 MB Renderbuffer free memory - total: 3898 MB, largest block: 3898 MB Renderbuffer free aux. memory - total: 4062 MB, largest block: 4062 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 4096 MB Total available memory: 8192 MB Currently available dedicated video memory: 3898 MB OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 550 Series (polaris11, LLVM 14.0.6, DRM 3.46, 4.18.0-425.3.1.el8.x86_64) OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.5 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.5 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.5 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 > > - Could you run `LIBGL_DEBUG=verbose glxgears` and attach the output? > libGL: using driver amdgpu for 4 libGL: pci id for fd 4: 1002:67ff, driver radeonsi libGL: MESA-LOADER: dlopen(/usr/lib64/dri/radeonsi_dri.so) ATTENTION: default value of option vblank_mode overridden by environment. /usr/share/libdrm/amdgpu.ids version: 1.0.0 libGL: Using DRI3 for screen 0 36545 frames in 5.0 seconds = 7308.932 FPS X11 protocol works fine with accelerated, but in wayland protocol, acceleration lost. you can try glmark2-wayland and glmark2-es2-wayland, both got poor score. > (In reply to euroford from comment #3) > > https://issues.redhat.com/browse/RHELPLAN-140317 > > > > I don't have permission to view it, could you please give some useful > > explain? > > It's a link to our internal issue tracking, which basically just mirrors > this BZ. Nothing to worry about :-) got it, thanks for your kindly feedback. wayland-info in gnome wayland session: interface: 'wl_drm', version: 2, name: 1 interface: 'wl_compositor', version: 4, name: 2 interface: 'wl_shm', version: 1, name: 3 formats: XRGB8888 ARGB8888 interface: 'wl_output', version: 2, name: 4 x: 0, y: 0, scale: 1, physical_width: 530 mm, physical_height: 300 mm, make: 'SAM', model: 'SMS24A350H', subpixel_orientation: unknown, output_transform: normal, mode: width: 1920 px, height: 1080 px, refresh: 60.000 Hz, flags: current preferred interface: 'zxdg_output_manager_v1', version: 1, name: 5 xdg_output_v1 output: 4 logical_x: 0, logical_y: 0 logical_width: 1920, logical_height: 1080 interface: 'wl_data_device_manager', version: 3, name: 6 interface: 'gtk_primary_selection_device_manager', version: 1, name: 7 interface: 'wl_subcompositor', version: 1, name: 8 interface: 'xdg_wm_base', version: 2, name: 9 interface: 'zxdg_shell_v6', version: 1, name: 10 interface: 'wl_shell', version: 1, name: 11 interface: 'gtk_shell1', version: 3, name: 12 interface: 'wp_viewporter', version: 1, name: 13 interface: 'zwp_pointer_gestures_v1', version: 1, name: 14 interface: 'zwp_tablet_manager_v2', version: 1, name: 15 interface: 'wl_seat', version: 5, name: 16 name: seat0 capabilities: pointer keyboard keyboard repeat rate: 33 keyboard repeat delay: 500 interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 17 interface: 'zwp_pointer_constraints_v1', version: 1, name: 18 interface: 'zxdg_exporter_v1', version: 1, name: 19 interface: 'zxdg_importer_v1', version: 1, name: 20 interface: 'zwp_linux_dmabuf_v1', version: 3, name: 21 formats: interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1', version: 1, name: 22 interface: 'zwp_text_input_manager_v3', version: 1, name: 23 interface: 'gtk_text_input_manager', version: 1, name: 24 zwp_linux_dmabuf_v1 return nothing. in weston, wayland-info got: interface: 'wl_compositor', version: 4, name: 1 interface: 'wl_subcompositor', version: 1, name: 2 interface: 'wp_viewporter', version: 1, name: 3 interface: 'zxdg_output_manager_v1', version: 2, name: 4 xdg_output_v1 output: 17 name: 'DP-1' logical_x: 0, logical_y: 0 logical_width: 1920, logical_height: 1080 interface: 'wp_presentation', version: 1, name: 5 presentation clock id: 1 (CLOCK_MONOTONIC) interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 6 interface: 'zwp_pointer_constraints_v1', version: 1, name: 7 interface: 'zwp_input_timestamps_manager_v1', version: 1, name: 8 interface: 'wl_data_device_manager', version: 3, name: 9 interface: 'wl_shm', version: 1, name: 10 formats: 'XB4H'(0x48344258) 'AB4H'(0x48344241) 'XB30'(0x30334258) 'AB30'(0x30334241) 'XYUV'(0x56555958) 'YUYV'(0x56595559) 'NV12'(0x3231564e) 'YU12'(0x32315559) RGB565 XRGB8888 ARGB8888 interface: 'wl_drm', version: 2, name: 11 interface: 'wl_seat', version: 7, name: 12 name: default capabilities: pointer keyboard keyboard repeat rate: 40 keyboard repeat delay: 400 interface: 'zwp_linux_dmabuf_v1', version: 4, name: 13 formats: 'Y216'(0x36313259), modifier: 0x00ffffffffffffff 'Y212'(0x32313259), modifier: 0x00ffffffffffffff 'Y210'(0x30313259), modifier: 0x00ffffffffffffff 'UYVY'(0x59565955), modifier: 0x00ffffffffffffff 'YUYV'(0x56595559), modifier: 0x00ffffffffffffff 'Y416'(0x36313459), modifier: 0x00ffffffffffffff 'Y412'(0x32313459), modifier: 0x00ffffffffffffff 'Y410'(0x30313459), modifier: 0x00ffffffffffffff 'XYUV'(0x56555958), modifier: 0x00ffffffffffffff 'AYUV'(0x56555941), modifier: 0x00ffffffffffffff 'NV16'(0x3631564e), modifier: 0x00ffffffffffffff 'P016'(0x36313050), modifier: 0x00ffffffffffffff 'P012'(0x32313050), modifier: 0x00ffffffffffffff 'P010'(0x30313050), modifier: 0x00ffffffffffffff 'NV12'(0x3231564e), modifier: 0x00ffffffffffffff 'YV24'(0x34325659), modifier: 0x00ffffffffffffff 'YV16'(0x36315659), modifier: 0x00ffffffffffffff 'YV12'(0x32315659), modifier: 0x00ffffffffffffff 'YV11'(0x31315659), modifier: 0x00ffffffffffffff 'YVU9'(0x39555659), modifier: 0x00ffffffffffffff 'YU24'(0x34325559), modifier: 0x00ffffffffffffff 'YU16'(0x36315559), modifier: 0x00ffffffffffffff 'YU12'(0x32315559), modifier: 0x00ffffffffffffff 'YU11'(0x31315559), modifier: 0x00ffffffffffffff 'YUV9'(0x39565559), modifier: 0x00ffffffffffffff 'GR32'(0x32335247), modifier: 0x00ffffffffffffff 'GR88'(0x38385247), modifier: 0x00ffffffffffffff 'R16 '(0x20363152), modifier: 0x00ffffffffffffff 'R8 '(0x20203852), modifier: 0x00ffffffffffffff 'RG16'(0x36314752), modifier: 0x00ffffffffffffff 'AR15'(0x35315241), modifier: 0x00ffffffffffffff 'XB24'(0x34324258), modifier: 0x00ffffffffffffff 'XR24'(0x34325258), modifier: 0x00ffffffffffffff 'AB24'(0x34324241), modifier: 0x00ffffffffffffff 'AR24'(0x34325241), modifier: 0x00ffffffffffffff 'XB30'(0x30334258), modifier: 0x00ffffffffffffff 'AB30'(0x30334241), modifier: 0x00ffffffffffffff 'XR30'(0x30335258), modifier: 0x00ffffffffffffff 'AR30'(0x30335241), modifier: 0x00ffffffffffffff 'XB4H'(0x48344258), modifier: 0x00ffffffffffffff 'AB4H'(0x48344241), modifier: 0x00ffffffffffffff interface: 'weston_direct_display_v1', version: 1, name: 14 interface: 'zwp_linux_explicit_synchronization_v1', version: 2, name: 15 interface: 'weston_content_protection', version: 1, name: 16 interface: 'wl_output', version: 3, name: 17 x: 0, y: 0, scale: 1, physical_width: 530 mm, physical_height: 300 mm, make: 'SAM', model: 'SMS24A350H', subpixel_orientation: unknown, output_transform: normal, mode: width: 1920 px, height: 1080 px, refresh: 60.000 Hz, flags: current preferred mode: width: 1600 px, height: 1200 px, refresh: 60.000 Hz, flags: mode: width: 1680 px, height: 1050 px, refresh: 59.954 Hz, flags: mode: width: 1280 px, height: 1024 px, refresh: 75.025 Hz, flags: mode: width: 1280 px, height: 1024 px, refresh: 60.020 Hz, flags: mode: width: 1440 px, height: 900 px, refresh: 74.984 Hz, flags: mode: width: 1440 px, height: 900 px, refresh: 59.887 Hz, flags: mode: width: 1280 px, height: 960 px, refresh: 60.000 Hz, flags: mode: width: 1280 px, height: 800 px, refresh: 59.810 Hz, flags: mode: width: 1152 px, height: 864 px, refresh: 75.000 Hz, flags: mode: width: 1280 px, height: 720 px, refresh: 60.000 Hz, flags: mode: width: 1024 px, height: 768 px, refresh: 75.029 Hz, flags: mode: width: 1024 px, height: 768 px, refresh: 70.069 Hz, flags: mode: width: 1024 px, height: 768 px, refresh: 60.004 Hz, flags: mode: width: 832 px, height: 624 px, refresh: 74.551 Hz, flags: mode: width: 800 px, height: 600 px, refresh: 75.000 Hz, flags: mode: width: 800 px, height: 600 px, refresh: 72.188 Hz, flags: mode: width: 800 px, height: 600 px, refresh: 60.317 Hz, flags: mode: width: 800 px, height: 600 px, refresh: 56.250 Hz, flags: mode: width: 640 px, height: 480 px, refresh: 75.000 Hz, flags: mode: width: 640 px, height: 480 px, refresh: 72.809 Hz, flags: mode: width: 640 px, height: 480 px, refresh: 66.667 Hz, flags: mode: width: 640 px, height: 480 px, refresh: 59.940 Hz, flags: mode: width: 720 px, height: 400 px, refresh: 70.082 Hz, flags: interface: 'zwp_input_panel_v1', version: 1, name: 18 interface: 'zwp_input_method_v1', version: 1, name: 19 interface: 'zwp_text_input_manager_v1', version: 1, name: 20 interface: 'xdg_wm_base', version: 3, name: 21 interface: 'weston_desktop_shell', version: 1, name: 22 interface: 'weston_screenshooter', version: 1, name: 23 in weston, interface: 'zwp_linux_dmabuf_v1' return all formats. Normally gnome-session-check-accelerated isn't run at all at start up for wayland sessions. There's code like this: if (getenv ("DISPLAY") == NULL) {• ... return TRUE;• }• to make it return TRUE if DISPLAY is unset. Are you perhaps hardcoding DISPLAY in your ~/.bashrc or similar? Peter from QE pointed out he can reproduce in 8.7 but not 8.8. He gave me a machine showing the problem, and I did a bit of experimentation: $ GDK_BACKEND=x11 /usr/libexec/gnome-session-check-accelerated AMD Radeon RX 550 / 550 Series (polaris12, LLVM 14.0.6, DRM 3.46, 4.18.0-425.13.1.el8_7.x86_64) $ GDK_BACKEND=wayland /usr/libexec/gnome-session-check-accelerated llvmpipe (LLVM 14.0.6, 256 bits) [test@fractal1-vm1-tpb-c-01 root]$ rpm -q mesa-libGL mesa-libGL-22.1.5-2.el8.x86_64 [test@fractal1-vm1-tpb-c-01 root]$ sudo dnf -y install mesa-*-22.3.0-2.el8 ... Upgraded: libwayland-client-1.21.0-1.el8.x86_64 llvm-libs-15.0.7-1.module+el8.8.0+17939+b58878af.x86_64 mesa-dri-drivers-22.3.0-2.el8.x86_64 mesa-filesystem-22.3.0-2.el8.x86_64 mesa-libEGL-22.3.0-2.el8.x86_64 mesa-libGL-22.3.0-2.el8.x86_64 mesa-libgbm-22.3.0-2.el8.x86_64 mesa-libglapi-22.3.0-2.el8.x86_64 mesa-libxatracker-22.3.0-2.el8.x86_64 [test@fractal1-vm1-tpb-c-01 root]$ GDK_BACKEND=x11 /usr/libexec/gnome-session-check-accelerated; echo ; GDK_BACKEND=wayland /usr/libexec/gnome-session-check-accelerated AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.46, 4.18.0-425.13.1.el8_7.x86_64) AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.46, 4.18.0-425.13.1.el8_7.x86_64) So it seems this problem has been resolved in 8.8. Moving to mesa team so they can confirm, move to MODIFIED, etc... Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |