You are not logged in.

#1 2008-10-16 08:08:11

svacko
Member
Registered: 2008-07-08
Posts: 9

firefox picture rendering problems

Hi all,
i've weird problem. When i'm browsing sites using firefox, all picture are really crapy (ie. imagine small picture 20x20 zoomed 20x) and when i'm scrolling firefox down with down arrow key or with mouse, there are displayed only some colour areas.. Have you anybody noticed the same problem? When browsing using opera everything is ok..
Arch is up-to-date, firefox v 3.0.3 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008100320 GranParadiso/3.0.3

[svacko@bocinec-n ~]$ uname -a
Linux bocinec-n.central.snt.eu 2.6.27-ARCH #1 SMP PREEMPT Sun Oct 12 15:16:25 CEST 2008 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz GenuineIntel GNU/Linux

thanks in advance,
s.

Offline

#2 2008-10-16 09:49:52

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: firefox picture rendering problems

Please attach your xorg.conf, this is a bug in xorg that can only be triggered by turning on some option that should no longer be used.

Offline

#3 2008-10-16 14:45:28

svacko
Member
Registered: 2008-07-08
Posts: 9

Re: firefox picture rendering problems

Hi JGC,
thanks for the interest, here's the xorg.conf:

Section "Module"

    Load        "dbe"      # Double buffer extension
    SubSection  "extmod"

    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load        "synaptics"
    Load       "glx"
    Load       "dri"
    Load    "GLcore"

EndSection


Section "Files"


    RgbPath    "/usr/share/X11/rgb"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
EndSection


Section "ServerFlags"

EndSection

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"


    Option "AutoRepeat" "500 30"

    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc105"
    Option "XkbLayout"    "us,sk"
    Option "XkbVariant" ",qwerty"
    Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection


Section "InputDevice"


    Identifier    "USBMouse"
    Driver    "mouse"
    Option "Protocol"    "IMPS/2"    # IntelliMouse PS/2
    Option "Device"      "/dev/psaux"

    Option "ZAxisMapping"   "4 5"

    Option "Emulate3Buttons"

EndSection

Section "InputDevice"
  Driver        "synaptics"
  Identifier    "synaptics"
  Option        "Device"        "/dev/psaux"
  Option        "Protocol"      "auto-dev"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
  Option     "VertEdgeScroll" "false"
 #  Option       "Repeater"      "/dev/ps2mouse"
  Option     "Emulate3Buttons"
  Option    "HorizScrollDelta" "0"
EndSection

Section "Monitor"

    Identifier  "nb-lcd"

    HorizSync   31.5 - 82.0
    VertRefresh 50-100

EndSection


Section "Device"
    Identifier    "Standard VGA"
    VendorName    "Unknown"
    BoardName    "Unknown"


    Driver     "vga"
EndSection


Section "Device"
    Identifier  "ati-nb"
    Driver      "radeon"
Option        "AGPMode" "4"
Option        "AGPFastWrite" "on" #Faster than default (off)
Option        "SWcursor" "off" #Faster than default (on)
Option        "EnablePageFlip" "on" #Faster than default (off)
Option        "AccelMethod" "EXA" # or XAA, EXA, XAA more stable, XAA is deafult
Option        "DynamicClocks" "on"
Option        "BIOSHotkeys"   "on"

Option        "AGPSize" "32" # default: 8
Option        "EnableDepthMoves" "true"

EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "ati-nb"
    Monitor     "nb-lcd"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1400x1050" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"


    Screen "Screen 1"
    InputDevice "synaptics" "CorePointer"
    InputDevice "USBmouse" "AlwaysCore"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

 Section "DRI"
    Mode 0666
 EndSection

Offline

#4 2008-10-17 08:50:32

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: firefox picture rendering problems

Try adding these to the device section of your videocard:

Option "XAANoOffscreenPixmaps" "true"
Option "XAAOffscreenPixmaps" "false"

This should be the default however, don't know why it isn't in your situation. Which xorg-server do you use?

Edit:
OK, makes sense. Probably 1.5.2 from testing. We removed most patches from 1.5 when we pushed it to testing, but this one is still needed. Upstream has this option enabled by default.

Last edited by JGC (2008-10-17 08:53:00)

Offline

#5 2008-10-17 17:15:35

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: firefox picture rendering problems

Both Fedora and Ubuntu don't include this patch anymore because it was fixed some other way it seems. I see you're forcing XAA as acceleration method in xorg.conf, while EXA is the default for xorg 7.4.

Offline

Board footer

Powered by FluxBB