Bug 432260

Summary: kmod-fglrx opengl problems means that OpenOffice.org is unable to start
Product: [Fedora] Fedora Reporter: Chris Spencer <chrisspen>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 8CC: jnavrati
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-14 08:28:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Output from strace -f /usr/lib/openoffice.org/program/soffice.bin > /tmp/strace.log 2>&1 none

Description Chris Spencer 2008-02-10 17:04:04 UTC
Description of problem:
On a fresh install of Fedora 8, Openoffice refuses to launch at all, either by
the application menu or the commandline. The commandline just hangs and shows no
errors. I've tried removing IcedTea and installing Sun Java, and reinstalling
all Openoffice packages, but Openoffice still refuses to launch.

How reproducible:

Steps to Reproduce:
1.Attempt to launch any Openoffice application (e.g. openoffice.org -calc %U)
Actual results:
Nothing happens.

Expected results:
Openoffice should launch.

Comment 1 Caolan McNamara 2008-02-13 10:17:39 UTC
I have no other reports along these lines, so its not a generic affecting
everyone problem. My *guess* would be some networking misconfiguration.

I assume that there is no splashscreen at all ? 
What is your arch, i386, x86_64, ppc or ppc64 ?
Does e.g. gedit take a surprisingly long time to startup from a terminal ?
and/or is there any messages from gedit ?

Try strace -f /usr/lib/openoffice.org/program/soffice.bin > /tmp/strace.log 2>&1
and give it about 10 or 12 seconds and then ctrl+c and attach the output here.

It might be that crudely rm /tmp/.X11-unix/X0 and launching OOo might cause a
change in behavior

Comment 2 Chris Spencer 2008-02-13 12:33:45 UTC
Yes, I get no splash screen. My arch is i686. Gedit seems to launch quickly from
a terminal, and it produces no errors, other than when I try to save, which I
reported in https://bugzilla.redhat.com/show_bug.cgi?id=244605.

Comment 3 Chris Spencer 2008-02-13 12:34:28 UTC
Created attachment 294766 [details]
Output from strace -f /usr/lib/openoffice.org/program/soffice.bin > /tmp/strace.log 2>&1

Comment 4 Chris Spencer 2008-02-13 12:36:56 UTC
Openoffice still refused to launch after I removed /tmp/.X11-unix/X0

Comment 5 Caolan McNamara 2008-02-13 12:57:58 UTC
"fresh install of Fedora 8", but do you have a third party ati fglrx driver ?
try this from a terminal

export SAL_NOOPENGL=true

and see if that makes any difference.

Comment 6 Chris Spencer 2008-02-14 05:38:54 UTC
I think you hit the nail on the head! I do indeed have kmod-fglrx installed from
Livna, since the default driver no longer supports dual displays. Your code does
allow writer to start, so researching that variable I found
which explains that adding that line to /usr/lib/openoffice.org/program/soffice
should fix the issue.

I didn't even consider the possibility that fglrx would break anything besides
X. Thanks for pointing this out!

Comment 7 Caolan McNamara 2008-02-14 08:28:39 UTC
Well, we know now where the problem is and there is a workaround which is good..
Unfortunately I can't fix something that looks like a problem in a proprietary 
driver :-(