XBMC Community Forum
[Linux] HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [Linux] HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) (/showthread.php?tid=54685)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - chunk1982 - 2012-07-24 19:31

I just wanted to say thank you for all your info!
between this and couple other site iv managed to get my setup running at 1360x768.... i can tell you it took some tinkering! (only been using linux for a few days)
im using onboard nvidia gforce 7025/nforce 630a and yes this was connected to my 32LG3000 via VGA running nvidia driver version 302.17 and im using ubuntu 10.04.
like some of the others i had MASSIVE overpan/scan or what ever ya call it so this is my xorg.conf settings..........

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu May 31 12:36:44 PDT 2012

Section "Monitor"
Identifier "Monitor0"
VendorName "LG"
ModelName "32LG3000"
HorizSync 31.0 - 67.0
VertRefresh 59.0 - 76.0
ModeLine "1360x768@60.00" 84.72 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Option "FlatPanelProperties" "Scaling = 1360x768"
Modes "1360x768"
Depth 24
EndSubSection
EndSection

Section "Module"
Load "glx"
EndSection

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

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

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

Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
Driver "nvidia"
Option "NoLogo" "True"
Option "ModeValidation" "NoEdidModes"
Option "DynamicTwinView" "Fasle"
EndSection


NOTICE i use Option "FlatPanelProperties" "Scaling = 1360x768" instead of Option "FlatPanelProperties" "Scaling = NATIVE"
i dont know if this will help anyone else out due to me using vga and only inputting enough info for 1 modeline
also one last thing i KNOW my modeline is NOT QUITE right as thats the numbers for the hmdi modeline but i thought sod it i will give it a try and it works, but if anyone can see and mistakes or anything that does not need to be included then please please let me know

many thanks again

paul


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - loop73 - 2012-08-05 17:26

Hello

i am completely stuck. i installed xbmcfreaks xbmcbuntu and cannot achieve 1920x1080 resolution (my televisions native res) via HDMI passthrough through a Yamaha receiver. Highest resolution in settings i can choose is 1280x720.

i followed the instructions in the first post, but my xlog.txt is 0 bytes.

Any help would be greatly appreciated.
*EDIT* Sorry didnt give u my hardware specs. Wink
Acer Aspire Revo R3610
Nvidia ION
4 GB RAM
500GB HD


TV: Samsung PN50B650S
Receiver: Yamaha HTR-6060

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 295.40 (buildmeister@swio-display-x86-rhel47-04.nvidia.com) Thu Apr 5 22:33:07 PDT 2012


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
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 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Option "ExactModeTimingDVI" 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 "HWCursor" "Off"
Option "NoLogo" "True"
Option "DynamicTwinView" "False"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
EndSubSection
EndSection

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


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - FernetMenta - 2012-08-05 18:48

Code:
Option "ModeValidation" "NoEdidModes"

This is wrong, you won't get EDID modes. Should be: Option "ModeValidation" "NoVesaModes, NoXServerModes"

Code:
VertRefresh 43.0 - 72.0

This is also wrong in case you want to have e.g. the 23.976 mode.


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - Finchy - 2012-08-26 20:36

Hi guys, I'm trying to change the resolution on my Revo R3700 running XBMCBuntu to 1080i but am struggling with the guide. My telly is a Panasonic plasma, 720p/1080i.

I've got this far;

Code:
First of all make sure you backup you original xorg.conf.
your xorg conf is found here:
Code:
/etc/X11/xorg.conf

Then generate a new clean xorg.conf by doing this in a terminal:
Code:
sudo nvidia-xconfig

Now you have a new clean xorg.conf.
Do the following
Code:
sudo nano /etc/X11/xorg.conf

then add the following lines in the correct section of that file:
Section "monitor"
Code:
Option "ExactModeTimingsDVI" "TRUE"

Section "Device"
Code:
Option "ModeValidation" "NoEdidModes"

but then for the next steps there are no folders with the paths for either of these;
sudo /etc/init.d/xbmc-live stop
In the root of your home directory you will find a xlog.txt (/home/xbmc/xlog.txt)

Presumably XBMCbuntu is slightly different to the normal XBMC on Linux? Once I get this far and reboot I get a black screen for XBMC, but it's on as I can SSH into it. Huh


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - ps1k0 - 2012-09-03 23:41

I am trying to set the resolution on my raspberry Pi (using OpenElec).

ANybody know how to do this? I cannot find "nvidia-xconfig" and don't know what it would be on the rpi?


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - Finchy - 2012-10-21 14:49

I still haven't resolved this, can anyone help from my last post please?

Thanks


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - Devaron - 2012-10-30 20:25

@Finchy, try:

sudo service lightdm stop

to stop XBMC and

sudo service lightdm start

to start it again.


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - Moddieman - 2012-10-31 01:01

Dear users

I followed all of these steps but the problem remains the same, no visual on the screen. I think I did everything fine so here is my xorg.conf and xlog file hoping you guys could take a look at it.

Much appreciated
Joris

xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.60 (buildmeister@swio-display-x86-rhel47-13) Sun Oct 14 21:19:18 PDT 2012

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 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Option "ExactModeTimingsDVI" "TRUE"
HorizSync 30 - 83
VertRefresh 58 - 62
ModeLine "1280x720" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync InterLace
SubSection
modes "1280x720"
EndSubSection
EndSection

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

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection


xlog.txt
This is a very long file, I uploaded it here:
http://users.telenet.be/clem.vanhouche/xlog.txt


Much appreciated
Joris


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - uNiversal - 2012-10-31 02:23

@Moddieman

remove Option "ModeValidation" "NoEdidModes"

remove SubSection
modes "1280x720"
EndSubSection

Under device add

Option "ModeDebug" "true"

Then I would like you to reboot and get me your /var/logs/xorg.0.log in a pastebing and I will calculate your modelines and do you a proper xorg...The old one is useless I want edid modes to show up pls on log.

uNi


RE: HOW-TO setup XBMC and Linux with correct resolution (xorg.conf) - uNiversal - 2012-10-31 05:46

@ Moddieman
@ Finchy

Use this xorg, and follow my link to properly configure xbmc for 23/24p

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.60  (buildmeister@swio-display-x86-rhel47-13)  Sun Oct 14 21:19:18 PDT 2012
# Tweaked by uNiversal


Section "Device"
    Identifier            "Device0"
    Driver                "nvidia"
    VendorName            "NVIDIA Corporation"
    Option                "NoLogo"                "true"
    Option                "DynamicTwinView"        "false"
    Option                "NoFlip"                "false"
    Option                "ConnectToAcpid"        "0"
    Option                "ModeValidation"        "NoVesaModes, NoXServerModes"
    Option                "UseDisplayDevice"        "DFP-1"
    Option                "ConnectedMonitor"        "DFP-1"
    Option                "ModeDebug"                "true"
    Option                "HWCursor"                "false"
    Option                "SWCursor"                "false"
    Option                "RenderAccel"            "1"
EndSection


Section "Screen"
    Identifier            "Screen0"
    Device                "Device0"
    Monitor                "Monitor0"
    DefaultDepth        24
    Option                "ColorRange"            "Full"
    Option                "ColorSpace"            "RGB"
    Option                "ExactModeTimingsDVI"    "True"
    SubSection            "Display"
        Depth            24
    EndSubSection
EndSection


Section "Monitor"
    Identifier        "Monitor0"
    VendorName        "Unknown"
    ModelName        "Unknown"
    HorizSync        30.0 - 83.0
    VertRefresh        58.0 - 62.0
    # 1920x1080p @ 23.976Hz (EIA/CEA-861B)
    Modeline        "1920x1080_60"       148.50 1920  2008  2052  2200  1080  1084 1089  1125 +hsync +vsync
    ModeLine        "1920x1080_23.976"   74.175 1920  2558  2602  2750  1080  1084 1089  1125 +hsync +vsync
    ModeLine        "1920x1080_24"       74.250 1920  2558  2602  2750  1080  1084 1089  1125 +hsync +vsync
    Option            "DPI" "96 x 96"
EndSection


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

And that should give you pretty precise modes with nVidia 304.60

+1

uNi