From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107149] Resuming from suspend can cause not working hw acceleration Date: Sat, 07 Jul 2018 11:06:16 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1175788982==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 76A966E18D for ; Sat, 7 Jul 2018 11:06:17 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1175788982== Content-Type: multipart/alternative; boundary="15309615770.2DfBbAd5.16540" Content-Transfer-Encoding: 7bit --15309615770.2DfBbAd5.16540 Date: Sat, 7 Jul 2018 11:06:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107149 Bug ID: 107149 Summary: Resuming from suspend can cause not working hw acceleration Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: kami911@gmail.com Sometimes when my machine come back from suspend the hw acceleration is sto= pped to work. Kernel messages: https://bugzilla.mozilla.org/attachment.cgi?id=3D8989152 I updated my system to Ubuntu 18.04 based Linux Mint 19 recently so I have = this X: X.Org X Server 1.19.6 I used radeon driver that time, but now I switched to AMDGPU driver and 4.17 kernel. This laptop has two video cards, one integrated from Intel and anot= her from AMD. Release Date: 2017-12-20 [ 62.938] X Protocol Version 11, Revision 0 [ 62.938] Build Operating System: Linux 4.4.0-119-generic x86_64 Ubuntu [ 62.938] Current Operating System: Linux godzilla 4.17.0-041700-generic #201806032231 SMP Sun Jun 3 22:33:34 UTC 2018 x86_64 [ 62.938] Kernel command line: BOOT_IMAGE=3D/vmlinuz-4.17.0-041700-gener= ic root=3D/dev/mapper/main-root ro rootflags=3Dsubvol=3D@ elevator=3Ddeadline zswap.enabled=3D1 pti=3D1 ibrs=3D1 ibpb=3D1 radeon.si_support=3D0 radeon.ci= k_support=3D0 amdgpu.si_support=3D1 amdgpu.cik_support=3D1 amdgpu.dc=3D1 quiet splash vt.= handoff=3D1 [ 62.938] Build Date: 13 April 2018 08:07:36PM [ 62.938] xorg-server 2:1.19.6-1ubuntu4 (For technical support please see http://www.ubuntu.com/support)=20 Mesa: OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile=20 OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5 OpenGL core profile shading language version string: 4.50 As you can see from the kernel parameters I was manage to use amdgpu driver with the build in AMD GPU. Time by time something happen (maybe related to = ACPI events) and Firefox is stop working. I have to restart Firefox, but I got t= his error in terminal: DRI_PRIME=3D1 firefox firefox: ../../../src/amd/addrlib/r800/siaddrlib.cpp:2294: int Addr::V1::SiLib::DecodeGbRegs(const ADDR_REGISTER_VALUE*): Assertion `!"Unhandled case"' failed. ExceptionHandler::GenerateDump cloned child 7263 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... Also glxinfo has problem: DRI_PRIME=3D1 glxinfo=20 name of display: :0 glxinfo: ../../../src/amd/addrlib/r800/siaddrlib.cpp:2294: int Addr::V1::SiLib::DecodeGbRegs(const ADDR_REGISTER_VALUE*): Assertion `!"Unhandled case"' failed. F=C3=A9lbeszak=C3=ADtva (core k=C3=A9sz=C3=BClt) kami@godzilla ~ $=20 ----------------------------- name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile,=20 GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,=20 GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,=20 GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,= =20 GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,=20 GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,= =20 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,=20 GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,=20 GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,=20 GLX_SGI_make_current_read, GLX_SGI_swap_control client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_context_flush_control, GLX_ARB_create_context,=20 GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,=20 GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,=20 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,=20 GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,= =20 GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,=20 GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_inf= o,=20 GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,= =20 GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,=20 GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,=20 GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,=20 GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,=20 GLX_SGI_swap_control, GLX_SGI_video_sync GLX version: 1.4 GLX extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile,=20 GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,=20 GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample= ,=20 GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,=20 GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,=20 GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_visual_info,= =20 GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,= =20 GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,=20 GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,=20 GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,=20 GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,=20 GLX_SGI_swap_control, GLX_SGI_video_sync Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD Radeon HD 8600M Series (HAINAN / DRM 3.25.0 / 4.17.0-041700-generic, LLVM 6.0.0) (0x6660) Version: 18.0.0 Accelerated: yes Video memory: 2047MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.5 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.1 Memory info (GL_ATI_meminfo): VBO free memory - total: 2046 MB, largest block: 2046 MB VBO free aux. memory - total: 3039 MB, largest block: 3039 MB Texture free memory - total: 2046 MB, largest block: 2046 MB Texture free aux. memory - total: 3039 MB, largest block: 3039 MB Renderbuffer free memory - total: 2046 MB, largest block: 2046 MB Renderbuffer free aux. memory - total: 3039 MB, largest block: 3039 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 2047 MB Total available memory: 5086 MB Currently available dedicated video memory: 2046 MB OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon HD 8600M Series (HAINAN / DRM 3.25.0 / 4.17.0-041700-generic, LLVM 6.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: --=20 You are receiving this mail because: You are the assignee for the bug.= --15309615770.2DfBbAd5.16540 Date: Sat, 7 Jul 2018 11:06:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 107149
Summary Resuming from suspend can cause not working hw acceleration
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter kami911@gmail.com

Sometimes when my machine come back from suspend the hw accele=
ration is stopped
to work. Kernel messages:
https:=
//bugzilla.mozilla.org/attachment.cgi?id=3D8989152

I updated my system to Ubuntu 18.04 based Linux Mint 19 recently so I have =
this
X:
X.Org X Server 1.19.6

I used radeon driver that time, but now I switched to AMDGPU driver and 4.17
kernel. This laptop has two video cards, one integrated from Intel and anot=
her
from AMD.

Release Date: 2017-12-20
[    62.938] X Protocol Version 11, Revision 0
[    62.938] Build Operating System: Linux 4.4.0-119-generic x86_64 Ubuntu
[    62.938] Current Operating System: Linux godzilla 4.17.0-041700-generic
#201806032231 SMP Sun Jun 3 22:33:34 UTC 2018 x86_64
[    62.938] Kernel command line: BOOT_IMAGE=3D/vmlinuz-4.17.0-041700-gener=
ic
root=3D/dev/mapper/main-root ro rootflags=3Dsubvol=3D@ elevator=3Ddeadl=
ine
zswap.enabled=3D1 pti=3D1 ibrs=3D1 ibpb=3D1 radeon.si_support=3D0 radeon.ci=
k_support=3D0
amdgpu.si_support=3D1 amdgpu.cik_support=3D1 amdgpu.dc=3D1 quiet splash vt.=
handoff=3D1
[    62.938] Build Date: 13 April 2018  08:07:36PM
[    62.938] xorg-server 2:1.19.6-1ubuntu4 (For technical support please see
http://www.ubuntu.com/support=
)=20

Mesa:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile=20
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50

As you can see from the kernel parameters I was manage to use amdgpu driver
with the build in AMD GPU. Time by time something happen (maybe related to =
ACPI
events) and Firefox is stop working. I have to restart Firefox, but I got t=
his
error in terminal:

DRI_PRIME=3D1 firefox
firefox: ../../../src/amd/addrlib/r800/siaddrlib.cpp:2294: int
Addr::V1::SiLib::DecodeGbRegs(const ADDR_REGISTER_VALUE*): Assertion
`!"Unhandled case"' failed.
ExceptionHandler::GenerateDump cloned child 7263
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

Also glxinfo has problem:
DRI_PRIME=3D1 glxinfo=20
name of display: :0
glxinfo: ../../../src/amd/addrlib/r800/siaddrlib.cpp:2294: int
Addr::V1::SiLib::DecodeGbRegs(const ADDR_REGISTER_VALUE*): Assertion
`!"Unhandled case"' failed.
F=C3=A9lbeszak=C3=ADtva (core k=C3=A9sz=C3=BClt)
kami@godzilla ~ $=20

-----------------------------

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,=20
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,=20
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,=20
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,=
=20
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,=20
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,=
=20
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,=20
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,=20
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,=20
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,=20
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,=20
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,=20
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,=20
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,=
=20
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,=20
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_inf=
o,=20
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,=
=20
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,=20
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,=20
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,=20
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,=20
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,=20
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,=20
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample=
,=20
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,=20
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,=20
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_visual_info,=
=20
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,=
=20
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,=20
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,=20
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,=20
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,=20
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD Radeon HD 8600M Series (HAINAN / DRM 3.25.0 /
4.17.0-041700-generic, LLVM 6.0.0) (0x6660)
    Version: 18.0.0
    Accelerated: yes
    Video memory: 2047MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 2046 MB, largest block: 2046 MB
    VBO free aux. memory - total: 3039 MB, largest block: 3039 MB
    Texture free memory - total: 2046 MB, largest block: 2046 MB
    Texture free aux. memory - total: 3039 MB, largest block: 3039 MB
    Renderbuffer free memory - total: 2046 MB, largest block: 2046 MB
    Renderbuffer free aux. memory - total: 3039 MB, largest block: 3039 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2047 MB
    Total available memory: 5086 MB
    Currently available dedicated video memory: 2046 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon HD 8600M Series (HAINAN / DRM 3.25.0 /
4.17.0-041700-generic, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:


You are receiving this mail because:
  • You are the assignee for the bug.
= --15309615770.2DfBbAd5.16540-- --===============1175788982== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1175788982==--