Bug 115959 - AppImage does not work on Fedora 26 !
Summary: AppImage does not work on Fedora 26 !
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-23 09:42 UTC by yousifjkadom
Modified: 2018-03-02 09:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (78.38 KB, image/png)
2018-02-27 18:00 UTC, yousifjkadom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yousifjkadom 2018-02-23 09:42:49 UTC
Hi. I'm on Fedora 26 X64 bit Cinnamon edition. I downloaded AppImage of LibreOffice version 6 (fresh) as AppImage to run it on my Fedora Linux.

I give permission right for image to run as program, then double click on image, I saw launcher window of L.O, but it remain for seconds as if L.O in loading process, & finally closed without L.O work ! 

I tried many times but not worked at all.

Please your kind replay.
Comment 1 Timur 2018-02-23 11:00:33 UTC
Appimage working fine in Fedora 27. 
Did you get from https://www.libreoffice.org/download/appimage/ ?
Do you have installed LO? Which version, does it work? Please try OpenGL and and off. In Appimage it's off.
Comment 2 Timur 2018-02-23 11:01:10 UTC Comment hidden (obsolete)
Comment 3 yousifjkadom 2018-02-23 15:46:53 UTC
@Timur

Hi.

1) fuse is already installed on my Fedora by default,

2) I have L.O installed on my system from Fedora repositories by default, & it is of version 5.3.7.2.0 & it working very O.K,

3) regarding your instruction:

 "Please try OpenGL and and off. In Appimage it's off."

I did not understood any thing from it. I have no any information about what it is "OpenGL and and off". Please can you explain more about this ? & how exactly can I use it ? From terminal ?
Comment 4 yousifjkadom 2018-02-23 15:59:11 UTC Comment hidden (obsolete)
Comment 5 Timur 2018-02-23 16:09:37 UTC
(In reply to yousifjkadom from comment #3)
Please try LO installed with Options-LibreOffice-View-OpenGL on and off. 
In Appimage it's off so we should know how installed LO works.
Please write your opengl_device.log
Comment 6 Timur 2018-02-23 16:11:07 UTC
If you use Appimage from https://www.libreoffice.org/download/appimage/ please also try daily from https://libreoffice.soluzioniopen.com/.
Comment 7 yousifjkadom 2018-02-23 19:48:32 UTC
I opened my default-installation L.O, then:

 Tools | Options | OpenCL 

I inspect that OpenCL is disabled. So, I closed L.O

Now, if installed L.O working very O.K with OpenCL disabled, & OpenCL is already disabled in AppImage L.O, this mean that the problem most likely is of dependencies ......

What is further ?
Comment 8 yousifjkadom 2018-02-24 12:45:28 UTC
@Timur

Help ! Help !

I did what you asked me for: I tried my default installed L.O with OpenCL ON. It was a disaster ! Now my default installed L.O not working & suffer from same problem & same error ! It does not work even from terminal ! I tried:

$ libreoffice
sh: /usr/bin/clang++: No such file or directory
soffice.bin: /builddir/build/BUILD/pocl-0.14/lib/CL/devices/common.c:127: llvm_codegen: Assertion `error == 0' failed.

Please help me to restore my installed L.O ! How can I disable OpenCL for L.O ??

Any one can help please ?
Comment 9 yousifjkadom 2018-02-24 17:41:35 UTC
Hi. I fix my installed L.O as following:

libreoffice --safe-mode

then disabled hardware accelerators .........

Now, how can I get OpenCL log that you asked me for ?
Comment 10 Timur 2018-02-26 08:34:06 UTC
Please read more carefully. 
Not OpenCL, but Tools-Options-LibreOffice-View-OpenGL. 
Please write your opengl_device.log, just find that file.
https://wiki.documentfoundation.org/QA/FirstSteps#Graphics-related_issues_.28OpenGL.29
And "If you use Appimage from https://www.libreoffice.org/download/appimage/ please also try daily from https://libreoffice.soluzioniopen.com/."
Comment 11 yousifjkadom 2018-02-27 17:59:34 UTC
@Timur

Hi. No such option available to me !

I did what you ask me:

Open L.O | Tools | Options | View 

In "View" I did not see "OpenGL" option !! Instead, there is "Graphic output", under which there are 2 suboptions: "Use hardware acceleration" & "Use anti-aliasing" !!

Please see attached screeenshot !
Comment 12 yousifjkadom 2018-02-27 18:00:24 UTC
Created attachment 140188 [details]
screenshot
Comment 13 Timur 2018-02-28 12:08:29 UTC
Maybe your graphics card was blacklisted. Please write which it is. 
You didn't specify it's real Fedora OS, not some VM.
Again you're not giving all info, did you try daily Appimage.
Comment 14 yousifjkadom 2018-02-28 18:24:58 UTC
@Timur

I'm on real Fedora Linux, installed on build-in hard desk of my laptop.

My laptop is of switchable VGA. I mean it has 2 VGA: integrated VGA (intel Corporation Graphics 5500) + dedicated VGA (Radeon R7 M265 2GB).

Please notice that my dedicated VGA is of the following state: 

"the driver does do dynamic switching.  The hardware is the same.  There are no displays connected to the dGPU, so it can only be used for offscreen rendering (e.g, render offload) where the frame is rendered by the dGPU & then copied to the integrated chip for display."

This mean that by default application use intel HD Graphics VGA (my RAM is 8 GB). To run application with Radeon driver, then user need to use:

env DRI_PRIME=1 <application name> In this case application will processes by Radeon VGA of 2 GB then passed to intel HD Graphics (which use free part of RAM). So, if available part of RAM is 6 GB & user use "env DRI_PRIME=1" then application will get ADDITIONAL 2 GB of dedicated VGA.

I'm on Xorg.

By default, AppImage should run (when doubled clicked as I did) using intel HD Graphics VGA.

Regarding your request to use daily AppImage: please is this cary any risk to distroy my Fedora ?? I'm affraid from this. Please notice that I use Fedora as my primary system on my primary laptop where all may documents are stored. For that I'm very conservative with my Fedora Linux. When I was on Fedora 24, I did not upgraded to Fedora 25. But I waited till Fedora 26 released then upgraded from 24 to 26.
Comment 15 yousifjkadom 2018-03-01 09:03:01 UTC
@Timur

Hi. What does error message mean when I run AppImage from terminal:

sh: /usr/bin/clang++: No such file or directory

I search my repositories for "clang++". No such package name available. The available packages are:

american-fuzzy-lop-clang
clang
clang-analyzer
clang-devel
clang-libs
clang-tools-extra
csmock-plugin-clang
git-clang-format

Of these package there is ONLY ONE INSTALLED ON MY SYSTEN which is "clang-libs" which is a run time library for "clang". But "clang" itself is not installed on my system !! 

Does the fact that "clang" is not installed on my system, could be the cause ??
Comment 16 yousifjkadom 2018-03-01 18:04:52 UTC
Issue resolved ! The cause was absence of clang package on my system. Just when I installed it:

sudo dnf installed clang

then it installed clang & gcc-c++ as a dependency. Then I doubled clicked AppImage & it launched & worked very O.K !
Comment 17 yousifjkadom 2018-03-01 18:13:30 UTC
@Timur

I forgot to mention that "clang" & "gcc-c++" are removed from my system by an autoremove process ! So, may this lead us to discover a bug in DNF !

Just inform us: you said that L.O AppImage run O.K on Fedora 27, so does "clang" is installed on your Fedora 27 by default or you installed it manually ??

Please do not ignore replay on this .....
Comment 18 Xisco Faulí 2018-03-02 09:02:33 UTC
(In reply to yousifjkadom from comment #17)
> @Timur
> 
> I forgot to mention that "clang" & "gcc-c++" are removed from my system by
> an autoremove process ! So, may this lead us to discover a bug in DNF !
> 
> Just inform us: you said that L.O AppImage run O.K on Fedora 27, so does
> "clang" is installed on your Fedora 27 by default or you installed it
> manually ??
> 
> Please do not ignore replay on this .....

Did it fix the issue in the end ?