You are not logged in.

#1 2008-12-03 20:33:33

CoolGenie
Member
Registered: 2008-04-06
Posts: 56

Xorg 7.4 screwed up my colors

Hi everyone,
I've problems with colors in the new Xorg. The screen looks like it had just 8 colors instead of 24-bit palette. I've no clue what causes this, everything worked fine before the upgrade.
Here's my xorg.conf if this is of any use

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    #RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
    Load  "bitstream"
    Load  "IA"
    Load  "xtsol"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us, pl"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "synaptics"
        Option          "Device"                "/dev/psaux"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "auto-dev"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
    Option        "HorizScrollDelta"    "0"
EndSection

# Auto-generated by Archie mkxcfg



# Auto-generated by Archie mkxcfg


Section "Device"
    Identifier  "Card0"
    Driver      "sis"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver        "sis"
    VendorName  "Videocard vendor"
    BoardName   "SiS 660/661FX/M661FX/M661MX/741/741GX/M741/760/M760"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth 8
        Modes "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth     16
        Modes "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth     24
        Modes "1280x800"
    EndSubSection
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "LCD Panel 1280x800"
    HorizSync 31.5 - 90.0
    VertRefresh 60.0 - 60.0
    Option "dpms"
EndSection

Section "DRI"
    Mode 0666
EndSection

Thanks in advance,
Przemek

Offline

#2 2008-12-04 15:41:06

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: Xorg 7.4 screwed up my colors

The default color depth is usually 8 bit unless you specify otherwise. But you are specifying DefaultDepth 24. If you don't ever use them, how about commenting out the 8-bit and 16-bit options altogether?

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
#    SubSection "Display"
#        Viewport 0 0
#        Depth 8
#        Modes "1280x800"
#    EndSubSection
#    SubSection "Display"
#        Viewport 0 0
#        Depth     16
#        Modes "1280x800"
#    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth     24
        Modes "1280x800"
    EndSubSection
EndSection

Bob

Offline

#3 2008-12-04 19:06:15

CoolGenie
Member
Registered: 2008-04-06
Posts: 56

Re: Xorg 7.4 screwed up my colors

Nope, this doesn't work.

Offline

#4 2008-12-04 19:30:56

Celeblin
Member
Registered: 2008-12-02
Posts: 20

Re: Xorg 7.4 screwed up my colors

Hi,

Maybe is because in Device you have

Identifier  "Videocard0"

and in Screen section:

Device     "Card0"

And should be the same in both places? So in Screen section:

Device     "Videocard0"

I hope that help

Edit:
I see you have two Device Sections for video card, So I don't know if I said could work :S

Regards!

Last edited by Celeblin (2008-12-04 19:44:20)

Offline

#5 2008-12-05 12:49:41

CoolGenie
Member
Registered: 2008-04-06
Posts: 56

Re: Xorg 7.4 screwed up my colors

No, this is not the problem...

Offline

#6 2008-12-05 15:06:18

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,223
Website

Re: Xorg 7.4 screwed up my colors

Do you see any warnings (WW) or errors (EE) in your /var/log/xorg.x.log ?

Zl.

Offline

#7 2008-12-05 19:09:45

CoolGenie
Member
Registered: 2008-04-06
Posts: 56

Re: Xorg 7.4 screwed up my colors

Well, here's the output for warnings

(WW) The directory "/usr/share/fonts/PEX" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/cyrillic".
(WW) The directory "/usr/share/fonts/ttf/western" does not exist.
(WW) The directory "/usr/share/fonts/ttf/decoratives" does not exist.
(WW) The directory "/usr/share/fonts/truetype" does not exist.
(WW) The directory "/usr/share/fonts/truetype/openoffice" does not exist.
(WW) The directory "/usr/share/fonts/truetype/ttf-bitstream-vera" does not exist.
(WW) The directory "/usr/share/fonts/latex-ttf-fonts" does not exist.
(WW) The directory "/usr/share/fonts/defoma/CID" does not exist.
(WW) The directory "/usr/share/fonts/defoma/TrueType" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module type1
(WW) Warning, couldn't open module record
(WW) Warning, couldn't open module bitstream
(WW) Warning, couldn't open module ia
(WW) Warning, couldn't open module xtsol
(WW) Falling back to old probe method for sis
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:0:0) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:1:0) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:0) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:1) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:5) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:6) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:7) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:0) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:1) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:2) found
(WW) SIS: No matching Device section for instance (BusID PCI:0@0:4:0) found
(WW) SIS(0): Could not find/read video BIOS
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16

and for errors

(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "record" (module does not exist, 0)
(EE) Failed to load module "bitstream" (module does not exist, 0)
(EE) Failed to load module "ia" (module does not exist, 0)
(EE) Failed to load module "xtsol" (module does not exist, 0)

It seems that some modules don't load. Besides, I've no clue what's the issue with the old probe method for sis.

Seems like here's the same problem
http://forum.ubuntu-fr.org/viewtopic.php?id=262473

Last edited by CoolGenie (2008-12-05 19:11:33)

Offline

#8 2008-12-07 03:12:06

DrOlaf
Member
Registered: 2008-04-05
Posts: 2

Re: Xorg 7.4 screwed up my colors

I'm getting exactly the same problem, and error messages, as this. Reading the ubuntu-fr post, I see that the poster has the same laptop and video chipset as me [an Acer 5002WLMi with the SIS760]. I know it's not the best video chipset in the world, but it worked OK prior to the recent xorg updates.

Offline

#9 2009-01-14 10:52:11

mgol
Member
From: Poland
Registered: 2009-01-14
Posts: 2

Re: Xorg 7.4 screwed up my colors


Michał Gołębiowski
Ubuntu Linux user

Offline

#10 2009-01-25 05:13:47

mgol
Member
From: Poland
Registered: 2009-01-14
Posts: 2

Re: Xorg 7.4 screwed up my colors

For me adding sisfb module to /etc/modules worked.

NOTE: sisfb module *MUST* be loaded at start. It means that it's not enough to load it using 'modprobe sisfb' and restarting X server. It *MUST* be added to /etc/modules, after a reboot it starts to work.


Michał Gołębiowski
Ubuntu Linux user

Offline

#11 2009-02-15 23:40:11

DrOlaf
Member
Registered: 2008-04-05
Posts: 2

Re: Xorg 7.4 screwed up my colors

mgol wrote:

For me adding sisfb module to /etc/modules worked.

NOTE: sisfb module *MUST* be loaded at start. It means that it's not enough to load it using 'modprobe sisfb' and restarting X server. It *MUST* be added to /etc/modules, after a reboot it starts to work.

I tried doing this to my setup, but it didn't help on its own. I also had to make sure that I had enabled all of the options in my xorg.conf in accordance with the Arch wiki page:

http://wiki.archlinux.org/index.php/Xf86-video-sis

Once I did that, I got my full colour palette back again.

Last edited by DrOlaf (2009-02-15 23:40:55)

Offline

Board footer

Powered by FluxBB