Skip to contentSkip to conversation

Red flood in dmesg when running applications

Bug 94581 [email protected] 1 participant 12 messages Mar 17, 2016 – Oct 23, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=34643
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

--- Comment #2 from Vladislav Kamenev <[email protected]> --- Created attachment 122472
--> https://bugs.freedesktop.org/attachment.cgi?id=122472&action=edit
Graphic artifacts

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|11.0 |git

--- Comment #3 from Vladislav Kamenev <[email protected]> --- Added screenshot with an graphic artifacts.
The right part of console is a Steam running with DRI_PRIME=1 And dmesg on the left.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> 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
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

--- Comment #4 from Vladislav Kamenev <[email protected]> ---

[  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:

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

Vladislav Kamenev <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #5 from Vladislav Kamenev <[email protected]> --- Fixed by enabling DRI3 on integrated card.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

--- Comment #6 from sunny yadav <[email protected]> --- Download shoebox app https://getshowbox.com no sign up and charges required,just easy to install/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 94581] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup failed 0xe

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94581

--- Comment #7 from Aakash Dubey <[email protected]> --- 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel