LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-08-2021, 07:39 PM   #1
plutopear
LQ Newbie
 
Registered: Jul 2021
Distribution: Fedora 35
Posts: 5

Rep: Reputation: Disabled
Question Unable to Launch AppImages on Fedora 35 - libva Error


This issue happens on every AppImage I have on my system. I do not have any handlers (AppImageLauncher, etc) installed, although I used to (I uninstalled AppImageLauncher while troubleshooting this issue).

When launching from Nautilus, nothing at all happens. However, when I launch from a terminal, I get this message:
Code:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[36406:1208/193424.879531:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
System Info: (please let me know if you need something more)
OS: Fedora 35
Kernel: 5.15
Display Server: X and Wayland (issue happens on both)
GPU: Nvidia Geforce 1060
Nvidia Driver: 495.44
 
Old 12-11-2021, 01:13 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,453

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
Try
Code:
ldd /path/to/Some_Appimage |grep libva
and

Code:
ldd /path/to/Some_Appimage |grep found
Post any output. The correct output from the second one is NO output.
 
Old 12-20-2021, 02:35 PM   #3
plutopear
LQ Newbie
 
Registered: Jul 2021
Distribution: Fedora 35
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs down

Sorry for the late response, I tried this for 3 different AppImages, all are returning the same message:
Code:
$ ldd ~/AppImages/Obsidian-0.12.19.AppImage | grep libva
	not a dynamic executable
$ ldd ~/AppImages/Obsidian-0.12.19.AppImage | grep found
	not a dynamic executable
$ ldd ~/AppImages/deemix-gui.AppImage | grep libva
	not a dynamic executable
$ ldd ~/AppImages/deemix-gui.AppImage | grep found
	not a dynamic executable
$ ldd ~/AppImages/balenaEtcher-1.7.0-x64_1e3bcbc6fc572b5d84f0472335c2f1da.AppImage | grep libva
	not a dynamic executable
$ ldd ~/AppImages/balenaEtcher-1.7.0-x64_1e3bcbc6fc572b5d84f0472335c2f1da.AppImage | grep found
	not a dynamic executable
Sudoing returns the same message. Any ideas?
 
Old 12-21-2021, 02:53 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
To look inside AppImages, you have to mount them first. Although I doubt this would help.
Code:
$ echo $TMPDIR
/dev/shm
$ ./balenaEtcher-1.7.1-x64.AppImage --appimage-mount
/dev/shm/.mount_balena9nzshU
Then in another terminal window
Code:
$ cd /dev/shm/.mount_balena9nzshU
$ find -executable -type f -exec ldd {} +|grep libva
$ find -executable -type f -exec ldd {} +|grep found
	libindicator.so.7 => not found
	libdbusmenu-gtk.so.4 => not found
On a CentOS 8 system, I get the same error message, but the AppImage above works.
Code:
$ ./balenaEtcher-1.7.1-x64.AppImage
[Axios v1.7.1] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.1] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.1] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
ready-to-show: 1.243s
Checking for update
Update for version 1.7.1 is not available (latest version: 1.7.1, downgrade is disallowed).
Code:
$ rpm -q --provides libva
libva = 1:2.9.1-1.el8
libva(x86-64) = 1:2.9.1-1.el8
libva-drm.so.2()(64bit)
libva-glx.so.2()(64bit)
libva-wayland.so.2()(64bit)
libva-x11.so.2()(64bit)
libva.so.2()(64bit)
libva.so.2(VA_API_0.32.0)(64bit)
libva.so.2(VA_API_0.33.0)(64bit)
So, the libva error messages seem to be harmless. The actual culprit is this
Quote:
Originally Posted by plutopear View Post
Code:
[36406:1208/193424.879531:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
balenaEtcher is an Electron-based AppImage. This is a known bug fixed in Electron 13.5. Try balenaEtcher 1.7.1. Perhaps, it's already fixed there.

If not, you may try to run it with --no-sandbox
Code:
./balenaEtcher-1.7.1-x64.AppImage --no-sandbox

Last edited by shruggy; 12-21-2021 at 03:53 AM.
 
1 members found this post helpful.
Old 12-27-2021, 12:36 PM   #5
plutopear
LQ Newbie
 
Registered: Jul 2021
Distribution: Fedora 35
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs up

--no-sandbox did it. I'm able to launch all my AppImages using this, so kudos to you!
What does this actually do? What is this "sandbox" that prevents all these apps from running?

Would there be any way to launch these from my file manager with that flag instead of running from the terminal every time?

P.S. When I run those find commands, I just get a screen full of
Code:
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
	not a dynamic executable
So that isn't too helpful
 
Old 12-27-2021, 02:49 PM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
Quote:
Originally Posted by plutopear View Post
What is this "sandbox" that prevents all these apps from running?
It's a security feature. --no-sandbox isn't meant to be a permanent solution: it's just a hack to get around a bug in Electron linked to above. When Electron-based AppImages catch up and publish versions based on Electron >=13.5, you'd better run them sandboxed as they were intended to be run.

Quote:
Originally Posted by plutopear View Post
Would there be any way to launch these from my file manager with that flag instead of running from the terminal every time?
Well, you can write .desktop files for them that would start them with any options you like. Or wrapper shell scripts. Besides, there are appimaged daemon and AppImageLauncher. I believe neither is packaged for Fedora, but you can build them yourself or download binaries for the latter.
 
Old 12-28-2021, 11:01 AM   #7
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 496

Rep: Reputation: 182Reputation: 182
I use KDE, but I run appImages from the desktop no problem (Etcher and FreeCad as examples). To create a desktop icon, I just right click on the desktop, (Create New->Link to Application), and point it the app image. I believe you should also make it executable. Ie. from the commandline: chmod +x <the app image file> . This may also also allow you to run from the file manager (not a Gnome user).

Last edited by rclark; 12-28-2021 at 01:42 PM.
 
  


Reply

Tags
appimage, appimages, fedora, libva, nvidia



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open execute binary files AppImages under Debian 7 ApolloPT Linux - General 3 04-24-2018 11:49 AM
[SOLVED] vdpauinfo libva error slackartist Slackware 14 01-18-2016 09:25 PM
VLC Slackware 14 libva stormtracknole Slackware 4 10-05-2012 05:05 AM
How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver? linuxs64 Slackware 3 01-11-2011 11:47 AM
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration