You are not logged in.

#1 2008-03-03 02:35:56

pjock
Member
Registered: 2007-06-23
Posts: 11

Xorg smaller screen??

Hi!
I am running arch on my HTPC and I have output to my TV. The TV has a native resolution of 1368x768.
My problem is that X doesn't even detect this resolution as a mode, it claims 1920x1080 is the native resolution...
If I use 1280x720 (720p) the screen is a little (about 15-20 pixels) too big on all sides.
With the

"metamodes" "1280x720_60_1 +0+0; 1280x720 +0+0

I can increase the size of the screen by
changing the zeros to higher values. If I change to 1280x720 -50-50 it doesn't make a difference..

Anyone got any idea if there's a way to make the screen smaller in any way? Or another solution to my problem.
Help is appreciated. Here's my xorg.conf:

Section "Module"

    Load        "dbe"

    SubSection  "extmod"
      Option    "xfree86-dga"   
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection

Section "Files"

    ModulePath  "/usr/lib/xorg/modules/"
    RgbPath    "/usr/share/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"

EndSection

Section "ServerFlags"
    Option "Xinerama" "false"
EndSection
Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"

    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc105"
    Option "XkbLayout"    "se"

EndSection

Section "InputDevice"

    Identifier    "Mouse1"
    Driver    "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons" "false"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "7"
    Option "CorePointer"
    Option "ButtonMapping" "1 2 3 6 7"

EndSection
Section "Monitor"

    Identifier  "Philips"
    HorizSync 31.5 - 90.0
    VertRefresh 40.0 - 120.0
EndSection

Section "Device"

    Identifier  "6800GT"
    Driver      "nvidia"
 
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "NoLogo" "true"

EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "6800GT"
    Monitor     "Philips"
    DefaultDepth 24

    DefaultDepth       24
    Option         "metamodes" "1280x720_60_1 +0+0; 1280x720 +0+0
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "Extensions"
    Option "Composite" "Disable"
EndSection

Offline

#2 2008-03-03 03:49:16

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: Xorg smaller screen??

Did you try a modeline?  This should be able to generate an odd-sized resolution.  For example:

Modeline "1368x768@60" 84.97 1368 1400 1720 1752 768 783 791 807

noobus in perpetuus

Offline

#3 2008-03-03 15:16:02

pjock
Member
Registered: 2007-06-23
Posts: 11

Re: Xorg smaller screen??

eerok wrote:

Did you try a modeline?  This should be able to generate an odd-sized resolution.  For example:

Modeline "1368x768@60" 84.97 1368 1400 1720 1752 768 783 791 807

Thanks for your help. I'm sorry to say that while I've now added that line to my xorg.conf - How do I use it? It doesn't seem to make a difference.
Sorry if this is a stupid question, thanks.

Offline

#4 2008-03-03 15:41:14

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: Xorg smaller screen??

pjock wrote:

Thanks for your help. I'm sorry to say that while I've now added that line to my xorg.conf - How do I use it? It doesn't seem to make a difference.
Sorry if this is a stupid question, thanks.

Not at all.  You put the modeline in the "Monitor" section and refer to it in the "Display" subsection of the "Screen" section

...
Section "Monitor"
    Identifier  "Philips"
    HorizSync 31.5 - 90.0
    VertRefresh 40.0 - 120.0
    Modeline "1368x768@60" 84.97 1368 1400 1720 1752 768 783 791 807
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "6800GT"
    Monitor     "Philips"
    DefaultDepth 24
    Subsection "Display"
        Depth        24
        Modes       "1368x768@60"
    EndSubsection
EndSection

...

noobus in perpetuus

Offline

Board footer

Powered by FluxBB