https://bugs.freedesktop.org/show_bug.cgi?id=94581
Bug ID: 94581 Summary: Red flood in dmesg when running applications Product: Mesa Version: 11.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: mazahakaforever@ya.ru QA Contact: dri-devel@lists.freedesktop.org
Hi there. Im using laptop with hybrid graphics. Intel Core i5-2450m with integrated videocard and AMD Radeon HD 6650m as discrete. My glxinfo output
glxinfo | grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.4 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 11.0.4 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.4 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:
And output with DRI_PRIME set.
DRI_PRIME=1 glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.2) OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.4 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 11.0.4 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.4 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:
So, i guess when im using DRI_PRIME environmental variable as one - kernel tries to use discrete videocard. And when im trying to launch applications (glxgears, etracer, steam) i got many messages in dmesg like this [ 1376.309602] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe [ 1376.309620] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -2! [ 1376.822639] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe [ 1376.822661] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -2!
Looking forward to some discussion.
https://bugs.freedesktop.org/show_bug.cgi?id=94581
--- Comment #1 from Vladislav Kamenev mazahakaforever@ya.ru --- Also im using uname -r 4.5.0-040500-generic from kernel.ubuntu.com
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=34643
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.freedesktop.org/show_bug.cgi?id=94581
--- Comment #2 from Vladislav Kamenev mazahakaforever@ya.ru --- Created attachment 122472 --> https://bugs.freedesktop.org/attachment.cgi?id=122472&action=edit Graphic artifacts
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|11.0 |git
--- Comment #3 from Vladislav Kamenev mazahakaforever@ya.ru --- Added screenshot with an graphic artifacts. The right part of console is a Steam running with DRI_PRIME=1 And dmesg on the left.
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Red flood in dmesg when |[drm:radeon_cs_parser_reloc |running applications |s [radeon]] *ERROR* gem | |object lookup failed 0xe
https://bugs.freedesktop.org/show_bug.cgi?id=94581
--- Comment #4 from Vladislav Kamenev mazahakaforever@ya.ru --- [ 326.627005] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe [ 326.627032] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -2! [ 326.689902] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:480 cb[0] bo too small (layer size 3379200, offset 0, max layer 1, bo size 81920, slice 13199) [ 326.689907] radeon 0000:01:00.0: evergreen_cs_track_validate_cb:484 problematic surf: (1280 660) (1 4 1 0 0 0 0) [ 326.689909] radeon 0000:01:00.0: evergreen_packet3_check:1948 invalid cmd stream 927 [ 326.689938] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! [ 326.690222] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe [ 326.690239] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -2!
New lines in dmesg appeared. DRI_PRIME=1 glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.8.0) OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.3.0-devel (git-dc9ecf5 2016-03-21 wily-oibaf-ppa) OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 11.3.0-devel (git-dc9ecf5 2016-03-21 wily-oibaf-ppa) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.3.0-devel (git-dc9ecf5 2016-03-21 wily-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:
https://bugs.freedesktop.org/show_bug.cgi?id=94581
Vladislav Kamenev mazahakaforever@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED
--- Comment #5 from Vladislav Kamenev mazahakaforever@ya.ru --- Fixed by enabling DRI3 on integrated card.
https://bugs.freedesktop.org/show_bug.cgi?id=94581
--- Comment #6 from sunny yadav sunny639736@gmail.com --- Download shoebox app https://getshowbox.com no sign up and charges required,just easy to install/
https://bugs.freedesktop.org/show_bug.cgi?id=94581
--- Comment #7 from Aakash Dubey aakashdsd26@gmail.com --- increasing of smartphone users these are really a threat these days so is there any solution for that like which App to use like https://askmeapps.com/ sade or how to stay safe from it please help me Sir thank you
dri-devel@lists.freedesktop.org