Skip to contentSkip to conversation

GPU hang, TearFree On, Mate desktop environment

Bug 90873 [email protected] 1 participant 8 messages Jun 5, 2015 – Jun 18, 2015

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 90873
Summary: GPU hang, TearFree On, Mate desktop environment
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 116320
--> https://bugs.freedesktop.org/attachment.cgi?id=116320&action=edit
dmesg

Hello,

I experience GPU hang while TearFree option is on. Logs are in the attachments. Without TearFree option is okay. I've tested TearFree when this feature was introduced in git version of xf86-video-ati-git and I didn't experience GPU hang back then.

GPU: Radeon 7790
OS: Arch Linux, latest RC version kernel
mesa-git, llvm-svn, xf86-video-ati-git
Desktop environment: Mate 1.8

Best regards

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

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Tom <[email protected]> ---
Created attachment 116322
--> https://bugs.freedesktop.org/attachment.cgi?id=116322&action=edit
xorg.conf

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

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

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Michel Dänzer <[email protected]> --- (In reply to Tom from comment #0)

Quoted 1 line

I experience GPU hang while TearFree option is on.

Does it hang when you do anything in particular?

FWIW, this line in dmesg is probably related:

[  141.232226] radeon 0000:01:00.0: bo ffff8804236d3400 va 0x0000001000

conflict with (bo ffff88042a018800 0x0000001000 0x0000001563)

but I'm not sure what would cause that.

Quoted 2 lines

I've tested TearFree when this feature was introduced in git version of xf86-video-ati-git and I didn't experience GPU hang back then.

Can you try isolating the xf86-video-ati commit introducing the hang with git bisect?

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

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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Tom <[email protected]> ---
(In reply to Michel Dänzer from comment #3)

Quoted 10 lines

(In reply to Tom from comment #0)

Quoted 1 line

I experience GPU hang while TearFree option is on.

Does it hang when you do anything in particular?

FWIW, this line in dmesg is probably related:

[  141.232226] radeon 0000:01:00.0: bo ffff8804236d3400 va 0x0000001000

conflict with (bo ffff88042a018800 0x0000001000 0x0000001563)

Quoted 8 lines

but I'm not sure what would cause that.

Quoted 2 lines

I've tested TearFree when this feature was introduced in git version of xf86-video-ati-git and I didn't experience GPU hang back then.

Can you try isolating the xf86-video-ati commit introducing the hang with git bisect?

I investigated it a bit. When I start lightdm it starts fine. I've created new linux user without any desktop config and it desktop env started also ok. Then I've changed resolution using desktop environment tool and then problem appeared. The same happened when used xrandr.

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

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

#5 lore raw

[Bug 90873] Kernel hang, TearFree On, Mate desktop environment

In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

                 CC|                            |[email protected]
          Component|Drivers/Gallium/radeonsi    |DRM/Radeon
            Version|git                         |unspecified
            Product|Mesa                        |DRI
            Summary|GPU hang, TearFree On, Mate |Kernel hang, TearFree On,
                   |desktop environment         |Mate desktop environment
         QA Contact|[email protected] |
                   |.org                        |

--- Comment #5 from Michel Dänzer <[email protected]> ---
http://lists.freedesktop.org/archives/dri-devel/2015-June/084514.html fixes the hang for me (not a GPU hang but a kernel hang, because it tries to lock a mutex that's already locked).

Quoted 2 lines
[  141.232226] radeon 0000:01:00.0: bo ffff8804236d3400 va 0x0000001000

conflict with (bo ffff88042a018800 0x0000001000 0x0000001563)

These still happen, but at least with GNOME it continues working for me somehow. I tried various workarounds for this in the Xorg driver, but I haven't found anything that avoids these. I think the proper solution for these would be for the kernel driver to track GPU VA ranges per GEM handle instead of per BO.

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

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

#6 lore raw

[Bug 90873] Kernel hang, TearFree On, Mate desktop environment

In reply to [email protected]

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

--- Comment #6 from Tom <[email protected]> ---
(In reply to Michel Dänzer from comment #5)

Quoted 5 lines

http://lists.freedesktop.org/archives/dri-devel/2015-June/084514.html fixes the hang for me (not a GPU hang but a kernel hang, because it tries to lock a mutex that's already locked).

Quoted 8 lines
Quoted 2 lines
[  141.232226] radeon 0000:01:00.0: bo ffff8804236d3400 va 0x0000001000

conflict with (bo ffff88042a018800 0x0000001000 0x0000001563)

These still happen, but at least with GNOME it continues working for me somehow. I tried various workarounds for this in the Xorg driver, but I haven't found anything that avoids these. I think the proper solution for these would be for the kernel driver to track GPU VA ranges per GEM handle instead of per BO.

The latest patch applied to linux kernel rc8 fixed this issue, thanks.

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

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

#7 lore raw

[Bug 90873] Kernel hang, TearFree On, Mate desktop environment

In reply to [email protected]

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

Tom <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Tom <[email protected]> ---
Resolved in kernel 4.1-rc8

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

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