You are not logged in.

#1 2006-08-08 21:02:29

Kurous
Member
From: Victoria BC
Registered: 2006-08-07
Posts: 36

DISPLAY:=1 starts 800x600 with xgl [SOLVED]

Hey,

I've got a strange problem, I'm trying to use XGL with SLIM. The xgl part of it runs fine, all the effects and stuff work, all I'm doing is calling

exec startxgl 1 ati gnome

in my xinitrc for SLIM.

The problem is that it always starts in an 800x600 window in the top corner of the screen. If I call it on DISPLAY:=0 like so

exec startxgl 0 ati gnome

It starts at the proper resolution, but none of the effects work.... So I'd like to somehow get it to run on DISPLAY:=1 in the proper resolution... I think its just a config problem and not XGL...but I have been unable to find anything about setting resolutions for specific DISPLAYS:=X. Some how 0 is set properly. My xorg.conf is pretty simple...

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "aticonfig-Screen[0]" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    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 "Module"
    Load  "record"
    Load  "dri"
    Load  "xtrap"
    Load  "extmod"
    Load  "dbe"
    Load  "freetype"
    Load  "type1"
    Load  "glx"
EndSection

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"               # [<bool>]
        #Option     "DefaultRefresh"         # [<bool>]
        #Option     "ModeSetClearScreen"     # [<bool>]
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 AR [Radeon 9600]"
    BusID       "PCI:2:0:0"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]"
    Device     "aticonfig-Device[0]"
    Monitor    "aticonfig-Monitor[0]"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Thanks!


I just want to be a moderately intelligent monkey that wears a suit.... That's why I've enrolled in business school!

Offline

#2 2006-08-09 06:56:22

z3ppelin
Member
Registered: 2006-07-10
Posts: 171

Re: DISPLAY:=1 starts 800x600 with xgl [SOLVED]

check /usr/bin/startxgl, and add -fullscreen to

Xgl :$xgldisplay -ac -accel xv:pbuffer -accel glx:pbuffer &

so it became

Xgl :$xgldisplay -ac -fullscreen -accel xv:pbuffer -accel glx:pbuffer &

Offline

#3 2006-08-09 07:18:32

Kurous
Member
From: Victoria BC
Registered: 2006-08-07
Posts: 36

Re: DISPLAY:=1 starts 800x600 with xgl [SOLVED]

Yep that worked! thanks, got SLIM and XGL working together now.


I just want to be a moderately intelligent monkey that wears a suit.... That's why I've enrolled in business school!

Offline

Board footer

Powered by FluxBB