FS#59057 - Error in nouveau in applications that use qt5-webengine

Attached to Project: Arch Linux
Opened by Núbio Cicarini Hott Júnior (nubiocicarini) - Monday, 18 June 2018, 21:35 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 20 February 2019, 22:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

error in nouveau in applications that use qt5-webengine

When starting Falkon (3.0.1), for example, I receive the following error message:

Additional info:
* package version(s)

KDE Plasma: 5.13.0
KDE Frameworks: 5.47.0
QT: 5.11.0
Kernel: 4.17.2-1

QT5-WEBENGINE 5.11.0-3

Hardware
Processor: i5-4460
Memory: 8 Gb
GPU: GF GT 420
Nouveau
mesa
* config and/or log files etc.

[code] Falkon: Python plugin support initialized
Falkon: 3 extensions loaded
falkon: ../libdrm-2.4.92/nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref 'failed.
Received signal 6
# 0 0x7ff6c4151d8e <unknown>
# 1 0x7ff6c4151ea0 <unknown>
# 2 0x7ff6c41524d7 <unknown>
# 3 0x7ff6c9ef08f0 <unknown>
# 4 0x7ff6c9ef086b __GI_raise
# 5 0x7ff6c9edb40e __GI_abort
# 6 0x7ff6c9edb2e0 __assert_fail_base.cold.0
# 7 0x7ff6c9ee9112 __GI___assert_fail
# 8 0x7ff6981d2600 nouveau_pushbuf_data
# 9 0x7ff6981d2563 nouveau_pushbuf_data
# 10 0x7ff6981d2698 <unknown>
# 11 0x7ff6981d32af <unknown>
# 12 0x7ff6981d42d0 nouveau_pushbuf_kick
# 13 0x7ff69ceead4c <unknown>
# 14 0x7ff69d071690 <unknown>
# 15 0x7ff69cbf6327 <unknown>
# 16 0x7ff69e5c0d1a <unknown>
# 17 0x7ff6aa38a569 <unknown>
# 18 0x7ff6c12436f0 ​​QOpenGLContext :: swapBuffers ()
# 19 0x7ff6c14da848 QPlatformBackingStore :: composeAndFlush ()
# 20 0x7ff6ad0d0da6 <unknown>
# 21 0x7ff6cae622f1 <unknown>
# 22 0x7ff6cae63da5 <unknown>
# 23 0x7ff6cae65168 <unknown>
# 24 0x7ff6cae65309 <unknown>
# 25 0x7ff6cae7ca57 QWidgetPrivate :: syncBackingStore ()
# 26 0x7ff6cae95199 QWidget :: event ()
# 27 0x7ff6cafad8b5 QMainWindow :: event ()
# 28 0x7ff6cae55984 QApplicationPrivate :: notify_helper ()
# 29 0x7ff6cae5d25b QApplication :: notify ()
# 30 0x7ff6ca870bc9 QCoreApplication :: notifyInternal2 ()
# 31 0x7ff6ca873c5c QCoreApplicationPrivate :: sendPostedEvents ()
# 32 0x7ff6ca8c4864 <unknown>
# 33 0x7ff6bf4e5368 g_main_context_dispatch
# 34 0x7ff6bf4e55b1 <unknown>
# 35 0x7ff6bf4e563e g_main_context_iteration
# 36 0x7ff6ca8c3e49 QEventDispatcherGlib :: processEvents ()
# 37 0x7ff6ad13fb32 <unknown>
# 38 0x7ff6ca86f85c QEventLoop :: exec ()
# 39 0x7ff6ca877b56 QCoreApplication :: exec ()
# 40 0x55671ff94f21 <unknown>
# 41 0x7ff6c9edd06b __libc_start_main
# 42 0x55671ff9523a _start
r8: 0000000000000000 r9: 00007fff14641a30 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ff6981d5640 r13: 00007ff6981d57b1 r14: 00000000000002d3 r15: 0000000000000000
di: 0000000000000002 si: 00007fff14641a30 bp: 00007ff6ca03be38 bx: 0000000000000006
dx: 0000000000000000 ax: 0000000000000000 cx: 00007ff6c9ef086b sp: 00007fff14641a30
ip: 00007ff6c9ef086b efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit (1). Core file will not be generated. [/ code]

LOG FILE

[code]
[7860.826] (II) NOUVEAU (0): NVLeaveVT is called.
[7860.836] (WW) xf86CloseConsole: KDSETMODE failed: Input / output error
[7860.836] (WW) xf86CloseConsole: VT_GETMODE failed: Input / output error
[7860.836] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input / output error
[7860.836] (EE) systemd-logind: ReleaseControl failed: Connection is closed
[7860.836] (II) Server terminated successfully (0). Closing log file.


Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 20 February 2019, 22:30 GMT
Reason for closing:  None
Comment by Antonio Rojas (arojas) - Monday, 18 June 2018, 21:44 GMT
As a workaround you can run them with QT_XCB_FORCE_SOFTWARE_OPENGL=1
Comment by Núbio Cicarini Hott Júnior (nubiocicarini) - Monday, 18 June 2018, 21:54 GMT
I'm sorry for not correctly classifying the error, I sent the message unintentionally before I finished it.

I do not have much knowledge. What would that be? I ran as a command on the terminal and the error persists.
Comment by Núbio Cicarini Hott Júnior (nubiocicarini) - Monday, 18 June 2018, 21:59 GMT
I found a similar error (at https://github.com/ColinDuquesnoy/Mello … ssues/252), the indications point to the nouveau drive. However, it also has some relation with qt5-webengine 5.11.0-3, since the downgrade solved the problem.
Comment by Antonio Rojas (arojas) - Monday, 18 June 2018, 22:01 GMT
It is an environment variable, you need to export it before running the webengine application, or add it to your profile so it's automatically exported at login
Comment by Núbio Cicarini Hott Júnior (nubiocicarini) - Monday, 18 June 2018, 22:24 GMT
It worked! Thank you!

If not too much, how do I export the variable to my profile?

I will share the solution with the community.
Comment by Núbio Cicarini Hott Júnior (nubiocicarini) - Tuesday, 19 June 2018, 03:15 GMT
If I install the proprietary nvidia drive I solve the OPENGL acceleration problem?
Comment by Antonio Rojas (arojas) - Tuesday, 19 June 2018, 06:25 GMT
Yes, the issue is with qtwebengine + opengl + nouveau. Upstream is supposed to have code to disable opengl for nouveau but it's obviously not working.
Comment by Antonio Rojas (arojas) - Tuesday, 19 February 2019, 08:49 GMT
Is this still an issue in 5.12?
Comment by Núbio Cicarini Hott Júnior (nubiocicarini) - Wednesday, 20 February 2019, 16:02 GMT
I can not figure out why I'm using the nvidia owner. Next time I buy a radeon video card. Thanks a lot for the help. :)

Loading...