Kodi Community Forum

Full Version: Stuck in 1024x768
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I'm new to Linux and just picked up an Acer Revo to plug into my Samsung Plasma. Prior to this I've been running a Windows build of XBMC on this TV at 1920x1080 with zero problems, but wasn't able to play anything more complex than 720p H264 files...hence the Revo arriving.

I configured the Revo at a friend's using his TV and everything worked from a video perspective "out of the box" (that is - there was an option to run 1920x1080, and the resolution behaved as expected).

I brought it home last night and plugged it into my Samsung PN42A450 (http://www.samsung.com/us/consumer/tv-vi...l&tab=spec) and it is defaulting to the display's native resolution of 1024x768. Needless to say, when I play movies the aspect ratios are now all messed up.

I've tried playing around with my xorg.conf a little, but I'm a bit of a newb at this stuff. I tried putting in Mode "1920x1080", etc. and no matter what, when I boot up it still only lets me go as high as 1024x768@50hz.

Here's what my xorg.conf looks like right now:
http://pastebin.com/m5be8cb70

And here's my xorg log:
http://pastebin.com/m1feb206e

As you can see it is spitting out a couple of interesting items:

"No modes were requested; the default mode "nvidia-auto-select" will be used as the requested mode."

and

"Virtual screen size determined to be 1024 x 768"

Any help to get me to have this run in 1920x1080 would be hugely appreciated.

Thanks.
Ok I booted into Windows on this machine and ran Powerstrip, here's what it came up with for a monitor driver and timings file:


; Custom monitor information file - generated by PowerStrip 3.0, 11/27/2009
; Copyright © 1995-2005, EnTech Taiwan.
; Web: http://www.entechtaiwan.com

[Version]
Signature="$CHICAGO$"
Class=Monitor
ClassGUID={4d36e96e-e325-11ce-bfc1-08002be10318}
Provider=%MFG%

[Manufacturer]
%MFG%=MonMfg

[MonMfg]
%MODEL%=Mon.Install,Monitor\SAM03A9

[Mon.Install]
DelReg=DEL_CURRENT_REG
AddReg=Mon.AddReg,RES,DPMS

[Mon.AddReg]
HKR,%MODE%,Mode1,,%RANGE%

[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS

[RES]
HKR,,MaxResolution,,%MAXRES%

[DPMS]
HKR,,DPMS,,0

[Strings]
MFG="Plug and Play Monitor"
MODEL="SAM03A9"
MAXRES="1920,1080"
MODE="MODES\1920,1080"
RANGE="15.0-68.0,24.0-61.0,+,+"



TIMINGS





PowerStrip timing parameters:
1920x1080=1920,88,44,148,1080,4,5,36,148348,512

Generic timing details for 1920x1080:
HFP=88 HSW=44 HBP=148 kHz=67 VFP=4 VSW=5 VBP=36 Hz=60

VESA detailed timing:
PClk=148.35 H.Active=1920 H.Blank=280 H.Offset=72 HSW=44 V.Active=1080 V.Blank=45 V.Offset=4 VSW=5

Linux modeline parameters:
"1920x1080" 148.348 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync



Can anyone help me "put this all together" in the xorg.conf to make it work? Not sure why, but everytime I change the xorg.conf via Putty, the changes are lost when I reboot.
you need to add your modeline to section monitor

Section "Monitor"

Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Modeline "1920x1080" 148.348 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync

EndSection
Thanks for the suggestion - I tried this after posting, (and also updated the VSync and HRefresh numbers to match). When I reload xbmc it just gives me a flashing screen.

I followed this how to:
http://forum.xbmc.org/showthread.php?tid...resolution

and it gave me another way of generating this xorg.conf, which made it look like this:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       26.0 - 68.0
    VertRefresh     23.0 - 61.0
    ModeLine "1920x1080" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
    Option         "DPMS"
    Option "ExactModeTimingsDVI" "TRUE"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "ModeValidation" "NoEdidModes"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
    Mode       "1920x1080"
    EndSubSection
EndSection

Same result - when I stop/restart xbmc I get a flashing screen.

Can someone tell me where I can put this xorg.conf file so that it gets
"remembered" by XBMC Live? If I make changes to the one at /etc/X11/, the changes are lost after I reboot. Is there a place I can put it on my USB drive so it will be used over the standard?

Thanks.
Ok - figured this out. The HOW-TO method didn't work for me, but as it turns out, the powerstrip settings were the key to getting me going. The main issue was a type on "Mode" (should have been "Modes") which I tracked down in the log file.

Here's my working xorg.conf

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       15.0 - 68.0
    VertRefresh     24.0 - 61.0
    ModeLine "1920x1080" 148.348 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS"
    Option "ExactModeTimingsDVI" "TRUE"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "ModeValidation" "NoEdidModes"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
    Modes       "1920x1080"
    EndSubSection
EndSection


The only issues that remain for me (any help is appreciated):

1) The xorg.conf located in /etc/X11/ reverts to the vanilla state when I reboot (and subsequently goes into 1024x768). I can't get the changes to persist after a reboot - surely there is a way to fix this?

2) DTS stopped working. All other formats (AC3, etc.) work fine.

Thanks