Skip to contentSkip to conversation

New: nouveau graphics often freezes when using KDE Plasma 5

Bug 99335 [email protected] 1 participant 14 messages Jan 9, 2017 – Sep 18, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 99335
Summary: nouveau graphics often freezes when using KDE Plasma 5
Product: Mesa
Version: 12.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

Nouveau graphics on my system (Gentoo) often freezes with errors in dmesg.

The system works fine for some time, but starts freezing at random intervals (after 3 mins or 10 mins or 2 hours of work, etc) in random windows (chromium, krusader, smplayer, login screen after auto-lock, etc) and a lot of artifacts appear on the screen. After about 30 secs it freezes completely. My keyboard does not react to any key combinations, mouse pointer moves with lags and mouse buttons do not work so only hard reset helps.

For example, here are two photos of my frozen screen with artifacts:
http://i.imgur.com/vTbrNay.jpg
http://i.imgur.com/YIvEBGn.jpg

I wrote a script that saves dmesg to a file each 5 secs to get error logs. Please find two examples with different errors attached.

I use the following versions of packages:
media-libs/mesa-12.0.1
x11-base/xorg-drivers-1.18-r1
x11-base/xorg-server-1.18.4
x11-drivers/xf86-video-nouveau-1.0.11
x11-libs/libdrm-2.4.70
sys-kernel/hardened-sources-4.7.10

My graphics card is Nvidia GeForce GTS 250 (G92 chip).

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-99335-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- If you're interested in continuing to use KDE, I'd recommend adding LIBGL_ALWAYS_SOFTWARE=1 to your environment, and unsetting it only for applications that you want to actually use 3d accel. KDE + nouveau = fail for now. I'm told that some newer versions of ... Qt? KDE? something? detect nouveau and auto-disable the GL backends now. Not sure on the precise specifics.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Apparently Qt/KDE's threading can be disabled with

QSG_RENDER_LOOP=basic

Try putting that into /etc/environment and logging out/in (to make sure that it's there).

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #3 from Alexander <[email protected]> --- Thanks Ilia. Do you mean that I need to add both LIBGL_ALWAYS_SOFTWARE=1 and QSG_RENDER_LOOP=basic to /etc/environment or either of them? By the way, any of them slows down graphics processing so that watching Youtube or even scrolling pages in browser becomes nightmare due to lags. How can I fight this?

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Try it with just

QSG_RENDER_LOOP=basic

in your /etc/environment. Note you need to log out/in in order for changes to take effect.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #5 from Alexander <[email protected]> --- I have added QSG_RENDER_LOOP=basic to /etc/environment and then logged out/in, but Chromium is still lagging. According to 'top', kwin_x11 consumes about 90% of CPU.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Does running "glxinfo" show that you're using nouveau or llvmpipe?

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #7 from Alexander <[email protected]> ---

# glxinfo | grep -E "nouveau | llvmpipe"
    Device: llvmpipe (LLVM 3.7, 128 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)
Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Alexander from comment #7)

Quoted 3 lines
# glxinfo | grep -E "nouveau | llvmpipe"
    Device: llvmpipe (LLVM 3.7, 128 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)

OK, so you're still using llvmpipe. You must have a LIBGL_ALWAYS_SOFTWARE=1 left somewhere. (check "env" to see whether that's the case.)

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #9 from Alexander <[email protected]> --- Thanks. I have added the following to ~/.bashrc:
export "LIBGL_ALWAYS_SOFTWARE=1"

Then I checked 'env' as advised:

# env | grep QSG
QSG_RENDER_LOOP=basic
# env | grep LIBGL
LIBGL_ALWAYS_SOFTWARE=1

However, there is still llvmpipe in glxinfo output.

The system works with no lags, but it froze twice within 5 minutes. So now I have the same as I had initially.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Alexander from comment #9)

Quoted 7 lines

Thanks. I have added the following to ~/.bashrc:
export "LIBGL_ALWAYS_SOFTWARE=1"

Then I checked 'env' as advised:

# env | grep QSG
QSG_RENDER_LOOP=basic

That's good.

Quoted 2 lines
# env | grep LIBGL
LIBGL_ALWAYS_SOFTWARE=1

That's bad. You don't want this.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #11 from Alexander <[email protected]> --- Oh, I see. I thought you meant I should add this by saying "You must have a LIBGL_ALWAYS_SOFTWARE=1 left somewhere." My apologies.

I have removed it and now I have

# glxinfo | grep -E "nouveau | llvmpipe"
    Vendor: nouveau (0x10de)

Will test it for some time. Thank you.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

--- Comment #12 from Alexander <[email protected]> --- No, it froze again.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 99335] nouveau graphics often freezes when using KDE Plasma 5

In reply to a message not in the archive

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

GitLab Migration User <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #13 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1122.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau