Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Colours get yellow - Firefox/PowerPC related?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Thu Mar 10, 2005 6:44 pm    Post subject: Colours get yellow - Firefox/PowerPC related? Reply with quote

Hi,

Sometimes the colours turn out yellow in Firefox (will propagate to other apps). More or less like when you have more colours than what the video card would on old computers and you would switch applications. I think caused by Firefox as it starts there but could not tell so for 100%.

I noticed it a long time ago but now seems more frequent.

It never happened on my x86 which is configured about the same way.

I have an iBook G3 700MHz
ATI Technologies Inc Radeon Mobility M6 LY

Section "Device"
Identifier "Card0"
Option "UseFBDev"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon Mobility M6 LY"
BusID "PCI:0:16:0"
EndSection

Most recent Firefox version (happened before with older).


Any clue? Note: difficult to search for yellow in Google, especially when yellow dog Linux exists... :)

Thanks,
iTux
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Thu Dec 29, 2005 3:19 pm    Post subject: Reply with quote

I have a feeling your video card is faulty, I doubt it's software related. I might be wrong though don't quote me on this
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Fri Dec 30, 2005 3:33 am    Post subject: Reply with quote

Are you using the composite extension in Xorg? I would need to see a screenshot to know for sure, but it sounds like the problem I used to have when I tried to use composite with the Xorg-6.8 ati driver.
_________________
--Aaron
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Sat May 20, 2006 6:09 am    Post subject: Reply with quote

I notice the same problem and I don't have firefox. The yellow colors affect the menubars, different apps (gtk+ ant qt). It happens and disappears after a while without restarting. I think it is caused by running gtk+ applications such as pan, evolution.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Mon May 22, 2006 6:36 pm    Post subject: Screenshots: Reply with quote

Yellow-Bug 1
Yellow-Bug 2

I'ts hard to get screenshots, because it happens rarely. Sometimes whole windows are yellow, as soon as I move the mouse over it it becomes normal. Switching apps or desktops also helps.
My xorg server recognizes 16 MB grafic ram automatically, that should be the right size.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Fri Jun 02, 2006 4:36 pm    Post subject: Reply with quote

News from the yellow bug:
yellow_bug3.jpg
yellow_bug4.jpg
yellow_bug5.jpg
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jun 02, 2006 8:33 pm    Post subject: Reply with quote

Which version of X? Can you paste your xorg.conf file please?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Fri Jun 02, 2006 11:36 pm    Post subject: Reply with quote

Code:
# eix -c xorg-x11
[I] x11-base/xorg-x11 (6.8.2-r7)
Code:
# cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier      "self configured"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
        RgbPath         "/usr/lib/X11/rgb"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.
        ModulePath      "/usr/lib/modules"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

# For X Font Server support, uncomment this and comment the other FontPaths
# Note that this is not required for most configurations

        #FontPath        "unix/:-1"
        FontPath        "/usr/share/fonts/local/"
        FontPath        "/usr/share/fonts/encodings/"
        FontPath        "/usr/share/fonts/util/"
        FontPath        "/usr/share/fonts/misc/"
        FontPath        "/usr/share/fonts/75dpi/"
        FontPath        "/usr/share/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/100dpi/"
        FontPath        "/usr/share/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/cyrillic/"
        FontPath        "/usr/share/fonts/Type1/"
        FontPath        "/usr/share/fonts/TTF/"
        FontPath        "/usr/share/fonts/ukr/"
        FontPath        "/usr/share/fonts/default/"
        FontPath        "/usr/share/fonts/artwiz/"

        #FontPath       "/usr/share/fonts/truetype"
        #FontPath       "/usr/share/fonts/Speedo/"
        #FontPath       "/usr/share/fonts/CID/"
        #FontPath       "/usr/share/fonts/lfp-fix/"
        #FontPath       "/usr/share/fonts/lfp-var/"
        #FontPath       "/usr/share/fonts/sharefont/"
        #FontPath       "/usr/share/fonts/freefont/"
        #FontPath       "/usr/share/fonts/ttfs/"
        #FontPath       "/usr/share/AbiSuite/fonts/"

EndSection

Section "Module"
        Load    "extmod"
        Load    "dri"
        Load    "dbe"
        Load    "record"
        Load    "glx"
        Load    "type1"
        Load    "freetype"
        Load    "fbdevhw"

        #Load   "speedo"
        Load    "xtrap"
        Load    "bitmap"
        #Load   "xtt"
EndSection

Section "Extensions"
        #Option         "Composite"     "Disable"       # Experimental          # unstable for some games
        Option          "RENDER"        "Enable"
EndSection

Section "Serverflags"

# Set the basic blanking screen saver timeout.
    # Set the DPMS timeouts.  These are set here because they are global
    # rather than screen-specific.  These settings alone don't enable DPMS.
    # It is enabled per-screen (or per-monitor), and even then only when
    # the driver supports it.

        #Option         "blank time"    "10"    # 10 minutes
        #Option         "standby time"  "20"
        #Option         "suspend time"  "30"
        #Option         "off time"      "60"

### Uncomment this Server flag if X should not change resolutions.
### This is useful if mode changing crashes / corrupts the X server
        #Option "DisableVidModeExtensions"

        Option          "NoPM"  "yes"

EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"

#       Option          "XkbSymbols"    "de"
        Option          "XkbGeometry"   "macintosh"
        Option          "XkbOptions"    "ctrl:nocaps, lv3:lwin_switch"
#

        Option          "XkbModel"      "pc105"
        Option          "LeftAlt"       "Meta"
        Option          "RightAlt"      "LWin"

        Option          "Xkblayout"     "de"
        #Option         "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        #Option         "CorePointer"
        #Option         "Protocol"      "IMPS/2"
        #Option         "Protocol"      "ExplorerPS/2"
        Option          "Protocol"      "auto"
        Option          "ZAxisMapping"  "4 5"
        Option          "Device"        "/dev/input/mice"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "Monitor Model"
        #UseModes       "Modes0"
        HorizSync       30-70
        VertRefresh     50-160
#       Option          "DPMS"          "true"
EndSection

Section "Device"

        ### Available Driver options are (aditional from man radeon):-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option         "SWcursor"              # [<bool>]
        #Option         "Dac6Bit"               # [<bool>]
        #Option         "Dac8Bit"               # [<bool>]
        #Option         "ForcePCIMode"          # [<bool>]
        #Option         "CPPIOMode"             # [<bool>]
        #Option         "CPusecTimeout"         # <i>
        #Option         "AGPSize"               # <i>
        #Option         "RingSize"              # <i>
        #Option         "BufferSize"            # <i>
        #Option         "EnableDepthMoves"      # [<bool>]
        #Option         "NoBackBuffer"          # [<bool>]
        #Option         "PanelOff"              # [<bool>]
        #Option         "CloneDisplay"          # <i>
        #ption          "CloneMode"             "1024x768"      # [<str>]
        #Option         "CloneHSync"            "27.0-115.0"    # [<str>]
        #Option         "CloneVRefresh"         "50.0-160.0"    # [<str>]
        #Option         "VideoKey"              # <i>
        #Option         "CRT2HSync"             "27.0-115.0"
        #Option         "CRT2VRefresh"          "50.0-160.0"
        #Option         "OverlayOnCRTC2"        "false"
        Option          "DynamicClocks"         "true"

        ### Available Driver options (from Xorgautoconfig):
        ### See "man radeon" for additional options
        Option          "ColorTiling"           "false" # True has trouble with latest xorg
        Option          "BackingStore"          "true"  # Increases performance
        Option          "EnablePageFlip"        "true"  # Increases performance
        #Option         "SWcursor"              "false" # Use Software Cursor
        #Option         "NoAccel"               "false" # Disable Hardware Acceleration
        Option          "AGPMode"               "2"     # Set AGP data transfer rate, DRI only
        Option          "AGPFastWrite"          "true" # Use AGP Fast Write, DRI only
        Option          "RenderAccel"           "true"  # Hardware acceleration
        ##Option        "DCCMode"               "false" # Use querried modes from monitor
        #Option         "MonitorLayout"         "LVDS,CRT" # Enable this for Apple DVI LCDs
        Option          "UseFBDev"              "true"
        Option          "MergedFB"              "false"
        #Option         "CRT2Position"          "Clone"

        Identifier      "Card0"
        Driver          "radeon"
        VendorName      "ATI Technologies Inc"
        BoardName       "Radeon Mobility M6 LY"
        BusID           "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24

                SubSection "Display"
                        Depth   24
                        Modes   "1024x768"
                EndSubSection
EndSection

Section "DRI"
        Group           0
        Mode            0666
EndSection

_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Tue Jun 06, 2006 7:05 pm    Post subject: Reply with quote

Most problems has gqview here. I can say, every time I gqview opens a bitmap it's all yellow. Just switching pictures brings some clear pictures while the frames stay yellow.
Maybe try that application. (I like it more than kuickshow)
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Tue Jun 27, 2006 8:30 am    Post subject: Reply with quote

No one else has seen these effects on a PPC? For now I can say that gqview triggers the bug every time (something related to truecolor, maybe dithering, and gtk apps) so I switched more and more to K/Q-applications which don't have these issues.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Tue Jun 27, 2006 5:29 pm    Post subject: Reply with quote

Try disabling composite.
_________________
--Aaron
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Thu Jul 06, 2006 5:08 pm    Post subject: Reply with quote

So far, never seen it again, the yellow monster, since new modular xorg 7.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Thu Jul 06, 2006 8:48 pm    Post subject: Reply with quote

Excellent. I haven't had the problem since 6.9. You are probably ok now.

Since you are using 7.x, slip this line into the Device section in your xorg.conf:
Code:
Option      "AccelMethod"           "exa"

It greatly speeds up the composite stuff on Radeons.
_________________
--Aaron
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Fri Jul 07, 2006 4:37 am    Post subject: Reply with quote

Nice to know, thanks, I like speed ups.
Too bad, man radeon doesn't exist here :?:

So far some of my options are ( left out InputDevices):
Code:
# cat /etc/X11/xorg.conf |grep "Option" |grep -v "#"
        Option          "RENDER"        "Enable"
        Option          "NoPM"  "yes"
        Option          "DynamicClocks"         "true"
        Option          "MergedFB"              "false"
        Option          "UseFBDev"              "true"
        Option          "AccelMethod"           "exa"

_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Fri Jul 07, 2006 9:50 pm    Post subject: Reply with quote

Here a few more that might help:
Code:
Option      "BackingStore"          "true"
Option      "EnablePageFlip"        "true"
Option      "EnablePrivateBackZ"    "true"

_________________
--Aaron
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jul 08, 2006 5:39 am    Post subject: Reply with quote

BackingStore is broken in 7.1, you'll get weird render bugs with it on. (I've noticed it on window refresh). https://bugs.freedesktop.org/show_bug.cgi?id=7202
As far as I know, EnablePrivateBackZ is a propriatary ati binary driver option, it does nothing on the open driver.

And just a FYI, it seems EXA breaks XV under some conditions, which you probably use for scaling when watching movies. https://bugs.freedesktop.org/show_bug.cgi?id=7431
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Sat Jul 08, 2006 8:57 pm    Post subject: Reply with quote

JoseJX wrote:
EnablePrivateBackZ is a propriatary ati binary driver option

Yup, I just looked at the radeon man page and it isn't there. Oh, yeah, I found this too: :)
Code:
# cat /var/log/Xorg.0.log | grep Enable
(**) RADEON(0): Option "EnablePageFlip" "true"
(WW) RADEON(0): Option "EnablePrivateBackZ" is not used

I'm not sure where I found it--it was probably in somebody's xorg.conf posts.

JoseJX wrote:
And just a FYI, it seems EXA breaks XV under some conditions, which you probably use for scaling when watching movies.

I seems I finally got lucky with BackingStore and EXA. I have not had trouble with either one. The Law of Large Numbers broke my way for once.
_________________
--Aaron
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1776
Location: PB, Germany

PostPosted: Sun Jul 09, 2006 1:55 am    Post subject: Reply with quote

As I said the yellow bug disappeared with 7.1, and currently the following xorg.conf options are working for me.
Code:
#       Option          "DynamicClocks"         "false"
        Option          "ColorTiling"           "true" # True has trouble with latest xorg     # on by default, if not fbdev
        Option          "BackingStore"          "true"  # Increases performance         # unstable (JoseJX)
        Option          "EnablePageFlip"        "true"  # Increases performance         # good for most cases
        Option          "AGPMode"               "2"     # Set AGP data transfer rate, DRI only
        Option          "AGPFastWrite"          "true"  # Use AGP Fast Write, DRI only
        Option          "RenderAccel"           "true"  # Hardware acceleration
        Option          "UseFBDev"              "yes"
        Option          "AccelMethod"           "exa"

Notice that my machine needs "UseFBDev" "yes" to work.
Maybe that's the point why I didn't succeed using the 2nd head via VGA adaptor like some people explained how to configure.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum