You are not logged in.

#1 2017-10-29 10:07:30

Kicer
Member
From: Poland
Registered: 2014-10-02
Posts: 89
Website

Graphics issues - display (sometimes) hangs when launching opengl apps

Hi

I have an issue when I launch OpenGL application (steam, some games):
both monitors start display fixed content.
I can move mouse cursor and it's shape changes on particular areas,
but everything is still. All apps seem to work - I can hear sounds, music etc.
If I click something I know a proper action was executed, but nothing changes
on screen. Like there was a screenshot taken and it is being displayed all the time.

I doesn't happen always but is quite frequent.

Here are results of journalctl -b:

...
paź 29 10:27:31 Kicer automount[596]: expire_proc: exp_proc = 140422523188992 path /media/serwer
paź 29 10:27:31 Kicer automount[596]: expire_cleanup: got thid 140422523188992 path /media/serwer stat 0
paź 29 10:27:31 Kicer automount[596]: expire_cleanup: sigchld: exp 140422523188992 finished, switching from 2 to 1
paź 29 10:27:31 Kicer automount[596]: st_ready: st_ready(): state = 2 path /media/serwer
paź 29 10:27:49 Kicer plasmashell[8750]: QXcbConnection: XCB error: 2 (BadValue), sequence: 10218, resource id: 98566160, major code: 142 (Unknown), minor code: 3
paź 29 10:27:50 Kicer kwin_x11[8748]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12903, resource id: 106954752, major code: 18 (ChangeProperty), minor code: 0
paź 29 10:27:50 Kicer kwin_x11[8748]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12907, resource id: 106954753, major code: 18 (ChangeProperty), minor code: 0
paź 29 10:27:50 Kicer plasmashell[8750]: QObject::startTimer: Timers cannot be started from another thread
paź 29 10:27:51 Kicer dbus[553]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager.service'
paź 29 10:27:51 Kicer dbus[553]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service 
paź 29 10:27:52 Kicer org_kde_powerdevil[8776]: powerdevil: Scheduling inhibition from ":1.19" "My SDL application" with cookie 8 and reason "Playing a game"
paź 29 10:27:52 Kicer kernel: NVRM: GPU at PCI:0000:01:00: GPU-40911bcb-f90f-4e0a-78af-9dbf461d4a0d
paź 29 10:27:52 Kicer kernel: NVRM: Xid (PCI:0000:01:00): 31, Ch 00000038, engmask 00000101, intr 10000000
paź 29 10:27:52 Kicer kwin_x11[8748]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14028, resource id: 117440520, major code: 18 (ChangeProperty), minor code: 0
paź 29 10:27:52 Kicer org_kde_powerdevil[8776]: powerdevil: Releasing inhibition with cookie  8
paź 29 10:27:52 Kicer org_kde_powerdevil[8776]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
paź 29 10:27:53 Kicer kwin_x11[8748]: kwin_core: OpenGL 2 compositing setup failed
paź 29 10:27:53 Kicer kwin_x11[8748]: kwin_core: Failed to initialize compositing, compositing disabled
paź 29 10:27:53 Kicer kwin_x11[8748]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14174, resource id: 472, major code: 3 (GetWindowAttributes), minor code: 0
paź 29 10:27:53 Kicer kwin_x11[8748]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 14175, resource id: 472, major code: 14 (GetGeometry), minor code: 0
paź 29 10:27:53 Kicer plasmashell[8750]: Currrent active notifications: QHash()
paź 29 10:27:53 Kicer plasmashell[8750]: Guessing partOf as: 0
paź 29 10:27:53 Kicer plasmashell[8750]:  New Notification:  "Zarządzanie oknami KWin" "Uruchomiono efekty pulpitu na nowo ze względu na awarię grafiki" -1 & Part of: 0
paź 29 10:27:53 Kicer plasmashell[8750]: trying to show an empty dialog
paź 29 10:27:53 Kicer plasmashell[8750]: trying to show an empty dialog
paź 29 10:27:53 Kicer plasmashell[8750]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:147:19: QML Loader: Binding loop detected for property
paź 29 10:27:53 Kicer plasmashell[8750]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:147:19: QML Loader: Binding loop detected for property
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::begin: Paint device returned engine == 0, type: 2
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::save: Painter not active
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::translate: Painter not active
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::scale: Painter not active
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::worldTransform: Painter not active
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::setPen: Painter not active
paź 29 10:27:54 Kicer plasmashell[8750]: QPainter::setBrush: Painter not active
...
paź 29 10:27:55 Kicer plasmashell[8750]: QPainter::setWorldTransform: Painter not active
paź 29 10:27:55 Kicer plasmashell[8750]: QPainter::setWorldTransform: Painter not active
paź 29 10:27:55 Kicer plasmashell[8750]: QPainter::restore: Unbalanced save/restore
paź 29 10:27:55 Kicer plasmashell[8750]: QPainter::end: Painter not active, aborted
paź 29 10:27:57 Kicer org_kde_powerdevil[8776]: powerdevil: Enforcing inhibition from ":1.19" "My SDL application" with cookie 8 and reason "Playing a game"
paź 29 10:27:57 Kicer org_kde_powerdevil[8776]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
paź 29 10:27:59 Kicer plasmashell[8750]: QObject::startTimer: Timers cannot be started from another thread
paź 29 10:28:04 Kicer kernel: sysrq: SysRq : SAK
paź 29 10:28:04 Kicer kernel: tty tty1: SAK: killed process 8588 (Xorg): by session
paź 29 10:28:04 Kicer kernel: tty tty1: SAK: killed process 8588 (Xorg): by controlling tty
paź 29 10:28:04 Kicer kernel: tty tty1: SAK: killed process 8596 (InputThread): by controlling tty
paź 29 10:28:04 Kicer akonadi_sendlater_agent[9070]: The X11 connection broke (error 1). Did the X11 server die?
...

"Zarządzanie oknami KWin" "Uruchomiono efekty pulpitu na nowo ze względu na awarię grafiki" - it is the message like in screenshot
here.

I have found suggestion that it can be caused by power issues (NVRM message),
so I've disconnected one of my harddrives and two cdroms, but it didn't help.

Offline

#2 2017-10-29 10:51:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,525
Website

Re: Graphics issues - display (sometimes) hangs when launching opengl apps

What graphics hardware do you have?  What driver are you using?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-10-29 11:13:57

Kicer
Member
From: Poland
Registered: 2014-10-02
Posts: 89
Website

Re: Graphics issues - display (sometimes) hangs when launching opengl apps

$ pacman -Q | grep nvidia
lib32-nvidia-utils 387.12-1
nvidia-dkms 387.12-2
nvidia-settings 387.12-1
nvidia-utils 387.12-1
opencl-nvidia 387.12-1

I've tried both nvidia and nvidia-dkms, just in case.

$ nvidia-settings -q gpus

1 GPU on Kicer:0

    [0] Kicer:0[gpu:0] (GeForce GTX 750 Ti)

      Has the following names:
        GPU-0
        GPU-40911bcb-f90f-4e0a-78af-9dbf461d4a0d

Offline

#4 2017-11-02 19:59:32

Kicer
Member
From: Poland
Registered: 2014-10-02
Posts: 89
Website

Re: Graphics issues - display (sometimes) hangs when launching opengl apps

So I have found this thread.
I have switched "Rendering backend" in systemsettings5 from OpenGL 2.0 to 3.1 and I have no issues so far.

Offline

#5 2017-11-04 09:01:34

Kicer
Member
From: Poland
Registered: 2014-10-02
Posts: 89
Website

Re: Graphics issues - display (sometimes) hangs when launching opengl apps

Another thing, which seems to be relevant, is to have "Allow applications to block compositing" turned OFF

Offline

Board footer

Powered by FluxBB