On Tue, 2008-04-08 at 17:28 +0100, Sergio Luis Moreira da Silva wrote:
> Hi Albert,
> 
> I have good news and bad news.
> 
> The good news are that setting the environment variable
> LIBGL_ALWAYS_INDIRECT=TRUE in $HOME/.profile solves the
> gnome-appearance-properties problem, since now I can access the
> "Visual Effects" tab. The bad news is that when I start compiz (by
> using the Visual Effects panel) or running the /usr/bin/start-compiz,
> my screen becomes complete garbage and I need to restart...
> 
> It may be a problem with some plug-in. I'll disable all plugins using
> the CompizConfig utility and try to enable one by one to see if I have
> a working desktop.

I recall reading a report of a similar problem, but I don't remember
what configuration was involved.

> 
> PS: Could you send me a copy of your xorg.conf and
> (xorg.log.0/Xerrror) and the output of glxinfo so I can compare my
> output with yours?
> 
Sure, attached are my xorg.conf and Xorg.0.log. You can ignore the
nvidia stuff in my xorg.conf; my laptop has two graphics chips with a
switch to select between them, so this configuration works for both. I'm
still using snv_81 here, and have tested with the intel 2.1.0 driver
(default) as well as 2.2.0 from windmill:
http://www.opensolaris.org/os/community/laptop/windmill/video/ 

Unfortunately, the 2.2.0 driver is built using an old version of EXA so
you probably need to use XAA for acceptable performance. There are
reported problems with the XVideo extension when XAA is used on the i965
though.
-------------- next part --------------
Section "ServerLayout"
    Identifier     "Layout0"
    #Screen      0  "Screen0" 0 0
    Screen         "nvidia Screen0" 0 0
    Screen         "intel Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    #InputDevice    "Keyboard1" "SendCoreEvents"
    InputDevice    "Mouse0" "CorePointer"
    Option         "AIGLX" "1"
EndSection

Section "Extensions"
    Option         "Composite" "1"
EndSection

#Section "Files"
#    RgbPath         "/usr/X11R6/lib/X11/rgb"
#    FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
#    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
#    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
#    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/sun/"
#    FontPath        "/usr/X11R6/lib/X11/fonts/F3bitmaps/"
#EndSection

Section "Module"
                Load    "extmod"
                Load    "dbe"
                Load    "glx"
                Load    "bitstream"
                Load    "type1"
                Load    "record"
                Load    "dri"
                Load    "IA"
                Load    "xtsol"
EndSection

#Section "Module"
#    Load           "dbe"
#    Load           "extmod"
#    Load           "type1"
#    Load           "IA"
#    Load           "bitstream"
#    Load           "glx"
#EndSection

Section "ServerFlags"
    #Option "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "Buttons" "12"
    Option         "Emulate3Buttons" "no"
    #Option         "ZAxisMapping" "4 5 6 7"
    #Option         "ZAxisMapping" "4 5 8 9"
    #Option         "ButtonMapping" "1 2 3 6 7 10 11 12 4 5 6 7"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbOptions" "ctrl:nocaps,grp:toggle,grp_led:scroll"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    Option         "DPMS" "true"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    Option         "DPMS" "true"
    Option         "Enable" "0"
EndSection


Section "Device"
    Identifier     "intel Videocard0"
    Driver         "intel"
    VendorName     "Intel"
    BoardName      "i945GM"
    #Option         "MonitorLayout" "CRT,LFP"
    Option         "Monitor-LVDS" "Monitor0"
    Option         "Monitor-VGA" "Monitor1"
    Option         "DevicePresence" "1"
    Option         "BackingStore" "1"
    #Option         "AperTexSize"  "65536"
    Option         "AperTexSize"  "131072"
    Option         "PageFlip" "1"
    #Option         "TripleBuffer" "1"
    Option         "AccelMethod" "XAA"
    # XAA options
    Option         "XAANoOffscreenPixmaps" "1"
    # EXA options
    Option         "MigrationHeuristic" "smart"
    #Option         "MigrationHeuristic" "greedy"
    Option         "EXANoComposite" "true"
EndSection

Section "Device"
    Identifier     "nvidia Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7400"
    #Option         "NvAGP" "0"
    Option         "UseDisplayDevice" "DFP-0"
    #Option         "ConnectedMonitor" "DFP-0, CRT-0"
    Option         "NoLogo" "1"
    Option         "UseEDIDDpi" "DFP-0"
    Option         "TwinView" "1"
    Option         "DynamicTwinView" "1"
    #Option         "TwinViewOrientation"  "DFP RightOf CRT"
    #Option         "TwinViewOrientation"  "Clone"
    #Option         "TwinViewXineramaInfoOrder" "DFP, CRT"
    #Option         "MetaModes" "DFP: nvidia-auto-select, CRT: 
nvidia-auto-select"
    Option         "OnDemandVBlankInterrupts" "1"
    Option         "UseEvents" "1"
    Option         "EnableACPIHotkeys" "1"
    #Option         "TripleBuffer" "1"
    Option         "DamageEvents" "1"
    Option         "AddARGBGLXVisuals" "1"
    Option         "BackingStore" "1"
    Option         "InitialPixmapPlacement" "4"
    Option         "RegistryDwords" "PowerMizerDefault=0x2"
    #Option         "RegistryDwords" "PowerMizerDefault=0x2;PowerMizerLevel=0x2"
    #Option         "RegistryBinary" "PowerMizerLevel=03,00,00,00; 
PowerMizerLevelAC=02,00,00,00"
EndSection

Section "Screen"
    Identifier     "intel Screen0"
    Device         "intel Videocard0"
    Monitor        "Monitor0"
    SubSection     "Display"
        # Maximum tested size for MergedFB
        # lists.freedesktop.org/archives/xorg/2007-June/026049.html 
        #Virtual      3580 1050
        # Maximum width for DRI is 2048
        #Virtual      2048 1280
        # 1680+1280
        #Virtual      2960 1050
        #Virtual 1680 1050
        Virtual 1680 1280
    EndSubSection
EndSection

Section "Screen"
    Identifier     "nvidia Screen0"
    Device         "nvidia Videocard0"
    Monitor        "Monitor0"
    #DefaultDepth    24
    #SubSection     "Display"
    #    Depth       24
    #    Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    #EndSubSection
EndSection
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 49990 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080408/80153102/attachment.bin>

Reply via email to