firefox 4 graphic problems

Asked by stef

I have installed Firefox 4 on Ubuntu 11.04 but the graphic is very poor... I can't see pictures properly, the colours are not right (prevail green and blue...). I tried to install flashplayer plugin but nothing happened. I would be grateful of any suggestion. Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox Edit question
Assignee:
No assignee Edit question
Solved by:
stef
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

if you close all firefoxes then run:

mv ~/.mozilla ~/.mozilla_old

Then rerun the browser, does it work ok?

Revision history for this message
stef (stefanogiudici) said :
#2

Nothing. It comes the home page, but even the colours of "Google" are
not right. Nothing changed.
By the way, is there a way to go back to the previous setting of Firefox?

On 05/04/2011 09:13 PM, actionparsnip wrote:
> Your question #155949 on firefox in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/firefox/+question/155949
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> if you close all firefoxes then run:
>
> mv ~/.mozilla ~/.mozilla_old
>
> Then rerun the browser, does it work ok?
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sure. Just run:

rm -r ~/.mozilla; mv ~/.mozilla_old ~/.mozilla

Simple

Revision history for this message
stef (stefanogiudici) said :
#4

done, thank you.
But the graphic problems are still there... sorry...

On 05/04/2011 11:09 PM, actionparsnip wrote:
> Your question #155949 on firefox in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/firefox/+question/155949
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sure. Just run:
>
> rm -r ~/.mozilla; mv ~/.mozilla_old ~/.mozilla
>
> Simple
>

Revision history for this message
Sam_ (and-sam) said :
#5

Graphic issue only in Firefox? Desktop, Chromium, Totem, Gedit?
Please open a terminal: ctrl+alt+t
Type:
sudo lshw -C video

and post output here rather in comment box instead of reply by email.

Which session, Unity, Gnome-classic with or without visual effects?
http://askubuntu.com/questions/28050/how-do-i-use-use-the-classic-gnome-desktop

Revision history for this message
stef (stefanogiudici) said :
#6

It seems to me that I have graphic issues only on Firefox 4. For example on Chrome it is ok: pictures distorted in colours on Firefox are ok on Chrome. The other question "Which session, Unity, Gnome-classic with or without visual effects?", sorry but I do not understand...

Anyway here is the output:

*-display
       description: VGA compatible controller
       product: Mobility Radeon HD 3400 Series
       vendor: ATI Technologies Inc
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=fglrx_pci latency=0
       resources: irq:40 memory:d0000000-dfffffff ioport:d800(size=256) memory:fdef0000-fdefffff memory:fdec0000-fdedffff

Revision history for this message
Evgeniy Sinyak (esinyak) said :
#7

  *-display
       description: VGA compatible controller
       product: Mobility Radeon HD 2400
       vendor: ATI Technologies Inc
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=fglrx_pci latency=0
       resources: irq:51 memory:e0000000-efffffff ioport:a000(size=256) memory:fdef0000-fdefffff memory:fdec0000-fdedffff

Revision history for this message
stef (stefanogiudici) said :
#8

@Evgeniy Sinyak
Thank you for your patience. How am I supposed to change the parameters you suggested me?
By the way I tried to log in with desktop Ubuntu Classic, but nothing changed.
Thanks once again...

Revision history for this message
Evgeniy Sinyak (esinyak) said :
#9

@stef
Sorry, I have made mistakes, this isn't a solution for this problem, it's only my output. I have the same problem and I don't know how it can be solved.

Revision history for this message
Sam_ (and-sam) said :
#10

> tried to log in with desktop Ubuntu Classic, but nothing changed

Thanks, which means before it was Unity, the login window session option is called 'Ubuntu'. Is that correctly understood?

Since removing Firefox profile didn't help it's maybe
> driver=fglrx

Did you try open source radeon driver?

There is a test if hardware supports Unity.
Open a terminal and post output:
/usr/lib/nux/unity_support_test -p

https://wiki.ubuntu.com/DemystifyingUnityGraphicsHardwareRequirements

Maybe some Compiz plugins conflict, in case successive deactivate plugin changes which have been made.
One could also try to reset Unity and Compiz to default.
Switch to tty (virtual console text mode only): ctrl+alt+f1
Login with username and passwd.
Type:
unity --reset

Switch back to GUI: ctrl+alt+f7

Or reboot from tty:
sudo reboot

> I have installed Firefox 4 on Ubuntu 11.04

Actually 11.04 comes with FF4 as standard app. How come you had to install FF4?
Did you remove it earlier and reinstalled it again?
Did you install it from official repositories or from Mozilla website?
Was 11.04 an upgrade or fresh installation?

> tried to install flashplayer plugin but nothing happened.

If there is more than one flash app Firefox uses the older one.
During installation of flash Firefox needs to be closed.
To find out which and how many flash apps are installed,
open a terminal and post output:
dpkg -l | grep flash

https://help.ubuntu.com/community/RestrictedFormats/Flash

Revision history for this message
Sam_ (and-sam) said :
#11

If colours on youtube look like this there is a workaround.
http://www.webupd8.org/2011/03/fix-pinkred-youtube-videos-bug-using.html

Revision history for this message
stef (stefanogiudici) said :
#12

@Sam_
Thank you for the many suggestions. Here what I did, but still no change:
1) Unity supported
2) flashplugin-installer 10.2.159.1ubuntu1
3) unity resetted

I installed Firefox earlier than 11.04, and then I upgraded Ubuntu, which came with FF4.

Still no change. With youtube there is no problem.
The problem is with some pictures (for examples posted on Facebook), which appear green and blue. The same with some buttons on Firefox (for example the small icon of Persona, in the low right corner, it's just blue...
I have non problems with Chrome.

Revision history for this message
Sam_ (and-sam) said :
#13

> I installed Firefox earlier than 11.04

Backup .mozilla profile, completely remove (purge) and reinstall, same with flashplayer.

Revision history for this message
stef (stefanogiudici) said :
#14

Thanks. I did everything as suggested, but no change. I'm getting nervous...
Could you please describe the procedure step by step, just to check whether I miss something on the way...
Thank you for your patience.

Revision history for this message
Sam_ (and-sam) said :
#15

Note which addons and plugins are installed.
Close Firefox.
mv ~./mozilla mozilla-backup
sudo apt-get purge firefox

## Side note. When installing (testing purpose) or removing a package I take notes which packages are about to be installed or removed also.
For example, on amd64, above cmd removes here also:
firefox* firefox-branding* firefox-dbg* firefox-globalmenu* firefox-gnome-support* icedtea-plugin* icedtea6-plugin*
But might not reinstall automatically the same.
http://packages.ubuntu.com/natty/firefox

sudo apt-get purge flashplugin-installer
sudo apt-get clean; sudo apt-get autoclean; sudo apt-get autoremove
sudo apt-get update
sudo apt-get install firefox ## and else if something is missing from what got removed before.

## Regarding flash, you need to be sure that really no other flashplayer is installed, such as gnash or something else.
Testing for example:
sudo updatedb
locate libflashplayer.so
or
dpkg -l flash* |grep ii

## If no other flashplayer was found
sudo apt-get install flashplugin-installer

When everything is correctly installed restart Firefox.

Revision history for this message
Sam_ (and-sam) said :
#16

> Firefox earlier than 11.04

Forgot about this. How did you install it, because if it still remains beside the one from official repository it definitely needs to be removed. You should find instructions about removal from the source you've installed it from.

Revision history for this message
stef (stefanogiudici) said :
#17

I managede to solve the problem with Firefox adding the following to prefs.js:
user_pref("gfx.color_management.mode", 0);

I still have the problem with Thunderbird.
Anyway, Firefox looks nice now.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

Great share. Hopefully this will help others. I don't use firefox personally so couldn't really help much. Glad you got the gold.

Revision history for this message
Robert Everts (robert-solidcode) said :
#19

Thanks Stef. Had the same problem. Modifying prefs.js solved this for me. I managed to find the prefs.js file for thunderbird also (under ~/.thunderbird) Adding the same line to it solved the display problems there as well...