Screen not centered after forcing output to 1280x720 (eee 901)
#1
OK so I have been messing around with XBMC Live 9.11 for a few weeks now and have managed to stumble through most issues that occur using google searches (still can't figure out if I can do wake-on lan with this computer or not) but this latest problem I just can not figure out. As most questions answered were provided by this board I figured I would join up and ask the experts Smile.

I have an eee 901 that I am using to run xbmc live 9.11 (camelot). When I finally got it all set up the way I wanted I moved it over to a TV to find out it would only let me display in 800x600 at full screen (this works properly but of course looks strange). All other resolutions would display strangely. Well I read around that I needed to create an xorg.conf so I did and I even tried to follow the instructions in the link here: [LINUX] HOW-TO setup XBMC and Linux with correct resolution (xorg.conf).

The problem I have as that when inspecting the xlog.txt that is created it does not show the HorizSync and VertRefresh info so I am left sort of guessing what those values should be. I am also unsure if I have my modelines set properly. XBMC is displaying in 1280x720 now but the entire image is moved up and to the left cutting off part of the screen. Sometimes green blocks appear at the bottom towards the unused part (the black space under the image).

I will post my xorg.conf and hopefully someone can point me in the right direction here. I am so close to having this working (mostly) the way I want it to.

Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "record"
    Load  "dri2"
    Load  "extmod"
    Load  "dbe"
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"
               Option       "DPMS"
               HorizSync    28.0 - 96.0
               VertRefresh  50.0 - 75.0

    Modeline "1280x720@60p"   74.25  1280 1390 1430 1662  720 725 730 762 +hsync +vsync
    Option         "ExactModeTimingsDVI" "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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GME Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
                Modes     "1280x720@60p"
    EndSubSection
EndSection


Keep in mind that this xorg.conf is mostly the way it was generated by the system with the addition of the modelines, the modes, the guesses at VertRefresh and HorizSync and the DPMS option being turned on.

So anyway a lot of the stuff I am taking a stab in the dark at with the modeline and the DPMS option as I have seen others do. Most of the help out there is for nvidia based graphics (which is no wonder as most people have proper set ups) and I have the 945 intel. I realize I haven't picked the easiest machine to work with but I have it laying around doing nothing else as the primary monitor is burned out on it.

I recently made the switch from XBMC on the xbox to this and it has a lot of great options just is requiring a little more tweaking.

Again any help would be greatly appreciated.

Greg
Reply
#2
Well I have been messing around with it all morning and I have the screen centered at least although it's in kind of a strange resolution. This was all done using trial and error based off this site for anyone else who is having problems and might stumble across this:

Modeline Calculator

My new xorg.conf looks like this:

Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "dri"
    Load  "glx"
    Load  "record"
    Load  "dri2"
    Load  "extmod"
    Load  "dbe"
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"
        Option       "DPMS"
        HorizSync      44.7 - 68.38
        VertRefresh    58.7 - 85
        Modeline "1280x790_60.00" 82.45 1280 1312 1448 1632 790 791 794 818 -HSync +Vsync
        Option         "ExactModeTimingsDVI" "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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GME Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
                Modes     "1280x790_60.00"
    EndSubSection
EndSection

I basically just changed the modeline and the mode and it's pretty good to go now. If anyone has any more input on how to do this a little better please feel free to reply. Otherwise I hope this can help someone else later on.
Reply
#3
have you already tried to get newer intel drivers?

https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

https://launchpad.net/~xorg-edgers/+archive/ppa

[please note that xorg-edgers may probably FUBAR your X-server]
OpenElec Standalone --> Asus Chromebox 'Panther' --> Onkyo TX-NR709 --> Sony 55" X85C Android TV (also with Kodi!)
Asus Chromebox EZ Script
Kodi on Sony Bravia Android TVs
Reply
#4
I might be way off here . . .

How do you have it hooked up to your TV, I have been using HDMI and XBMCLive hasn't failed to use both of my TV's optimal resolution? Also what TV is it (native Res)?

Also are you aware of the video calibration built into XBMC (under settings - video).
Playing with XBMC on all platforms :)
Reply
#5
it's an eee 901 so he's obviously using VGA; a lot of TVs don't support native HD resolutions via VGA
OpenElec Standalone --> Asus Chromebox 'Panther' --> Onkyo TX-NR709 --> Sony 55" X85C Android TV (also with Kodi!)
Asus Chromebox EZ Script
Kodi on Sony Bravia Android TVs
Reply
#6
Hit the nail on the head Hannes The Hun. The eee 901 only has vga out.

The TV is a Panasonic 52" LCD Projection. The specs list that it is 1280x720 native.

Vankwish: Tried the video calibration but xbmc won't allow you to adjust any further than what it believes is the edge of the screen without cutting it off.

Hannes: I have not tried the newest drivers. Do you think this would make any difference for automatic detection of HD over VGA? Like I said I have it working it's just not perfect like an auto detect probably would be.
Reply
#7
If I recall correctly there is an app available to allow you to find out the correct modeline settings. I believe it is called xvidtune for xorg.

I only asked the connection method because I thought that higher resolutions over vga degraded things like font quality when on TV's so was wondering if the op was using a "usb hdmi converter" "vga converter" or the like.
Playing with XBMC on all platforms :)
Reply
#8
Thanks Vankwish I will take a look.

I hadn't heard that about vga connections and HD but I am kinda new to the HTPC thing in general. It seems to have maintained the fonts and everything and it's much more crisp than in 800x600. This will do for new until I find a suitable replacement. I have been looking at the Zotac boxes. Anything to say about those or any other suggestions?

Thanks for all the help guys.

Greg
Reply

Logout Mark Read Team Forum Stats Members Help
Screen not centered after forcing output to 1280x720 (eee 901)0