Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old May 27th, 2009   #11
Pappy1911
Just Give Me the Beans!
 
Join Date: Oct 2008
Location: Texas
Beans: 50
Ubuntu 8.04 Hardy Heron
Re: Firefox crash ONLY when clicking fullscreen youtube

Don't know...just thought there may be a relationship here....
Pappy1911 is offline   Reply With Quote
Old May 28th, 2009   #12
VitaminBB
Gee! These Aren't Roasted!
 
VitaminBB's Avatar
 
Join Date: May 2007
Location: Vancouver, B.C.
Beans: 190
Ubuntu 9.10 Karmic Koala
Re: Firefox crash ONLY when clicking fullscreen youtube

Thanks for the idea, the problem has me baffled but im sure someone else must have had the same problem.
__________________
Havent we met here somewhere before?
VitaminBB is offline   Reply With Quote
Old June 12th, 2009   #13
chiques
Just Give Me the Beans!
 
Join Date: Oct 2007
Beans: 49
Re: Firefox crash ONLY when clicking fullscreen youtube

I have Jaunty 9.04 and I have the exact same problem. Watching youtube videos in default mode is no problem. When I click on "full screen" it simply closes firefox without any prompts.

I spoke to the ubuntu irc channel people and one of them recommended it might be the flash plug in which enable videos to be watched in firefox. Basically it might be a problem with Adobe Flash Player.
__________________
AMD Athlon(tm) 64 Processor 3500+, MMX, 3DNow, ~2.2GHz; Realtek HD Audio outputCard name: ATI Radeon X1200 Series; ATI Radeon X1200 Series (0x791E)
MAXTOR STM3320620AS
chiques is offline   Reply With Quote
Old June 19th, 2009   #14
VCoolio
Quad Shot of Ubuntu
 
VCoolio's Avatar
 
Join Date: Feb 2009
Location: Netherlands
Beans: 421
Ubuntu 9.10 Karmic Koala
Send a message via MSN to VCoolio
Re: Firefox crash ONLY when clicking fullscreen youtube

Solved: load the flash plugin before firefox or swiftfox. It's a NVidia driver issue. (edit: not only... ATI users seem to benefit from this too).
Easiest fix: modify the startup script of your browser, e.g. in case of Minefield (firefox-3.6):

gksudo gedit /usr/lib/firefox-3.6a1pre/firefox.sh

Find your browser script in the same area, somewhere in /usr/lib/yourbrowser; (edit: other possible locations are like /usr/local/lib/firefox-3.5/firefox or for install with ubuntuzilla it is /opt/firefox/firefox; using a run-mozilla.sh file if that is available also seems to work);
then add as 2nd (NOT 1st) line:
Code:
export LD_PRELOAD=/usr/lib/libGL.so.1
I'm not sure if this will keep working after an update of the browser (then do it again).

This doesn't seem to work for 64-bit; you'll need to rightclick flash video and disable hardware acceleration (thx Garyhans).

If you now have the problem that when you press full screen in youtube you see your compiz animation for opening a window, it very briefly shows video full screen (less than a second) and then the full screen window closes, then do the following (thx Danbo19): in compiz config settings manager go to Effects > Animation > Open Animation > Add and add "!(name=firefox)" (without "", but with !).
###########
SCRIPT OPTION
###########
If this doesn't work or you don't like this solution try the following:
I couldn't get it done in a launcher command but I used the script option (copypaste in gedit and save):

Code:
#!/bin/sh
## replace firefox-3.6 with what you use, e.g. firefox, firefox-3.5, swiftfox
LD_PRELOAD=/usr/lib/libGL.so.1 firefox-3.6
or when you run from an extracted tarball:

Code:
#!/bin/sh
export LD_PRELOAD=/usr/lib/libGL.so.1
/path/to/firefox
Now to run your browser make a launcher with as a command:
sh /path/to/script

Last edited by VCoolio; July 21st, 2009 at 11:30 AM..
VCoolio is online now   Reply With Quote
Old June 22nd, 2009   #15
jmdsdf
5 Cups of Ubuntu
 
Join Date: Sep 2008
Location: Kingston, Canada
Beans: 29
Kubuntu 9.10 Karmic Koala
Send a message via ICQ to jmdsdf Send a message via AIM to jmdsdf Send a message via MSN to jmdsdf Send a message via Yahoo to jmdsdf
Re: Firefox crash ONLY when clicking fullscreen youtube

Adding:

export LD_PRELOAD=/usr/lib/libGL.so.1

To the second line of /usr/lib/firefox-3.5/firefox.sh worked perfectly with the latest release candidate of Firefox! A big thank you! I was sick of using the Compiz enhanced zoom feature as a work around. Again, thanks!
jmdsdf is offline   Reply With Quote
Old June 24th, 2009   #16
ankle
Spilled the Beans
 
Join Date: Apr 2006
Beans: 13
Re: Firefox crash ONLY when clicking fullscreen youtube

Finally! Thanks VCoolio.

(BTW, I have ATI, not nVidia, but still had this problem until now)
ankle is offline   Reply With Quote
Old June 30th, 2009   #17
infoaddicted
First Cup of Ubuntu
 
Join Date: May 2009
Beans: 2
Re: Firefox crash ONLY when clicking fullscreen youtube

Thanks VCoolio! That worked for me!
infoaddicted is offline   Reply With Quote
Old July 2nd, 2009   #18
el-mar01
A Carafe of Ubuntu
 
Join Date: Feb 2008
Location: Melbourne, Australia
Beans: 97
Re: Firefox crash ONLY when clicking fullscreen youtube

Thanks a lot VCoolio, its unbeleivable that Mozilla didn't pick this HUGE bug up during development, come on Mozilla !! people use Firefox on other platforms other than Windows !!
el-mar01 is offline   Reply With Quote
Old July 2nd, 2009   #19
lovinglinux
Ubuntu addict and loving it
 
lovinglinux's Avatar
 
Join Date: Aug 2008
Location: Caprica City
Beans: 4,181
Ubuntu 9.10 Karmic Koala
Re: Firefox crash ONLY when clicking fullscreen youtube

Quote:
Originally Posted by VCoolio View Post
Solved: load the flash plugin before firefox or swiftfox. It's a NVidia driver issue. (edit: not only... ATI users seem to benefit from this too).
Easiest fix: modify the startup script of your browser, e.g. in case of Minefield (firefox-3.6):

gksudo gedit /usr/lib/firefox-3.6a1pre/firefox.sh

Find your browser script in the same area, somewhere in /usr/lib/yourbrowser;
then add as 2nd (NOT 1st) line:
export LD_PRELOAD=/usr/lib/libGL.so.1

I'm not sure if this will keep working after an update of the browser (then do it again).

If this doesn't work or you don't like this solution try the following:
I couldn't get it done in a launcher command but I used the script option (copypaste in gedit and save):

Code:
#!/bin/sh
## replace firefox-3.6 with what you use, e.g. firefox, firefox-3.5, swiftfox
LD_PRELOAD=/usr/lib/libGL.so.1 firefox-3.6
or when you run from an extracted tarball:

Code:
#!/bin/sh
export LD_PRELOAD=/usr/lib/libGL.so.1
/path/to/firefox
Now to run your browser make a launcher with as a command:
sh /path/to/script
I don't have /usr/lib/firefox-3.5/firefox.sh

I have compiled Firefox and it was installed at /usr/local/lib/firefox-3.5 and there is no firefox.sh there. The only similar file available is plain firefox, but it doesn't work. Do you how do I find it or if this can be done another way?
lovinglinux is offline   Reply With Quote
Old July 2nd, 2009   #20
VCoolio
Quad Shot of Ubuntu
 
VCoolio's Avatar
 
Join Date: Feb 2009
Location: Netherlands
Beans: 421
Ubuntu 9.10 Karmic Koala
Send a message via MSN to VCoolio
Re: Firefox crash ONLY when clicking fullscreen youtube

search in /usr/bin or try the script option I gave as alternative.
__________________
VCoolio is online now   Reply With Quote

Bookmarks

Tags
crash, firefox, fullscreen, poopie, youtube

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:06 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry