Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819045 - net-im/discord-bin-0.0.16-r1: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Summary: net-im/discord-bin-0.0.16-r1: libva error: vaGetDriverNameByIndex() failed wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Workaround applied
Keywords: PullRequest
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-10-20 16:20 UTC by Julien Delquié
Modified: 2021-12-03 23:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2021-10-20 16:20:40 UTC
With Wayland, Discord interface is just a black and void window with the following verbose in console:

$ discord 
Discord 0.0.16
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/loup/.config/discord/0.0.16/modules
[Modules] Module installed file path: /home/loup/.config/discord/0.0.16/modules/installed.json
[Modules] Module download path: /home/loup/.config/discord/0.0.16/modules/pending
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.


Reproducible: Always

Steps to Reproduce:
1. Launch a Wayland session (not X11)
2. Launch Discord
Actual Results:  
Discord with black and void window

Expected Results:  
Discord window with its normal content.

Operating System: Gentoo Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.13-gentoo-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
Comment 1 Julien Delquié 2021-10-20 16:59:26 UTC
It seems that launching discord this way from console works:
discord --enable-features=UseOzonePlatform --ozone-platform=wayland
Comment 2 Larry the Git Cow gentoo-dev 2021-12-01 14:28:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d8fcd2df5e1f0d11f507257b71f69a1031749f

commit 16d8fcd2df5e1f0d11f507257b71f69a1031749f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-29 21:03:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-01 14:28:43 +0000

    sys-libs/glibc: allow disabling clone3 sysflag (breaks older Electron)
    
    Bug: https://bugs.gentoo.org/827386
    Bug: https://bugs.gentoo.org/819045
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/23118
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/glibc-2.34-disable-clone3-syscall.patch  | 38 ++++++++++++++++++++++
 sys-libs/glibc/glibc-2.34-r3.ebuild                |  9 ++++-
 sys-libs/glibc/metadata.xml                        |  1 +
 3 files changed, 47 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-12-01 14:42:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec09e8f846381af94bd5ee7b74fcc53ab436795

commit 6ec09e8f846381af94bd5ee7b74fcc53ab436795
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-01 14:42:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-01 14:42:05 +0000

    net-im/discord-bin: depend on glibc[-clone3]
    
    Uses an older version of Electron which breaks when the clone3 syscall is used
    internally within glibc.
    
    Bug: https://bugs.gentoo.org/819045
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{discord-bin-0.0.16-r2.ebuild => discord-bin-0.0.16-r3.ebuild}     | 3 +++
 1 file changed, 3 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-12-03 23:36:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148790b23176c33fb17b9644b7319a281a7ae052

commit 148790b23176c33fb17b9644b7319a281a7ae052
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-12-03 23:35:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-12-03 23:35:56 +0000

    net-im/signal-desktop-bin: remove clone3 USEdep for 5.25.0
    
    Closes: https://bugs.gentoo.org/819045
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...l-desktop-bin-5.25.0.ebuild => signal-desktop-bin-5.25.0-r1.ebuild} | 3 ---
 1 file changed, 3 deletions(-)