[LINUX] HOW-TO setup XBMC and Linux with correct 1080p HD
#46
There is a great post that I have been using for a long time. I have tried gtf in the past BUT when I compare the modelines from the ubuntu thread and gtf reported there are always differences. In the link I am posting it will also show you how to create your xorg.conf file with the info you gather including the proper scan rates for your particular tv.

I have used this method on all my tv's to date and then modify required options later.

I have never relied on xorg to give me the proper scan rates this method reports them from the tv as it is creating the report. It will also give you EVERY mode your tv does or does not support.

http://ubuntuforums.org/showthread.php?t=1003099&page=2

This is an older thread which I think has not been updated in a while but the report that is generated is still completely valid.

my rant - I have the issue on my main tv where I run my hdmi to my rcvr which also does upconverting for ALL inputs to one HDMI output to the TV edid gets reported from the amp not the TV and thus if I turn off the i/p scaler in my Denon rcvr then I loose the upconvert function for the rest of my non-hdmi video inputs. On the new model denons they have fixed this or so I read anyhow that every input gets it own settings. I have been trying to get firmware from Denon to fix this but with no glory. Right now I do get switching to 24Hz via xbmc but then of course when back at the main menu after the file is played and closed it remains at 24Hz instead of reverting back to 60. - Close my Rant - LOL

Regards,

Dave
Reply
#47
Hi, is it possible to have a "fallback" resolution? When I do these changes to xorg.conf most of my movies work great, however the ones that has resolutions that are not exactly macthed will not play at all and my TV will say that its not supported.

When I on the other hand dont use this modified xorg, everything plays at 1920x1080@60p, and that is very not optimal for most of my files, but I still want to be able to watch the ones with other resolutions than in my xorg.conf

This is how it looks:
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     "SAMSUNG"
    ModelName      "UE46B7070"
    HorizSync      26.0 - 81.0
    VertRefresh    24.0 - 75.0
    ModeLine       "1920x1080@60p" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1360x768@60p" 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync
    ModeLine       "1280x720@60p" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
    ModeLine       "1280x720@50p" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    ModeLine       "1920x1080@50i" 74.25 1920 2448 2492 2640 1080 1084 1094 1124 +hsync +vsync Interlace
    ModeLine       "1920x1080@60p2" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080@50p" 148.50 1920 2448 2492 2640 1080 1084 1094 1124 +hsync +vsync
    ModeLine       "1280x720@60p2" 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
    ModeLine       "1280x720@50p2" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    ModeLine       "1920x1080@60i" 74.18 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync Interlace
    ModeLine       "1920x1080@50i2" 74.25 1920 2448 2492 2640 1080 1084 1094 1124 +hsync +vsync Interlace
    ModeLine       "720x480@60p" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync
    ModeLine       "720x576@50p" 27.00 720 732 796 864 576 581 586 625 -hsync -vsync
    ModeLine       "1920x1080@24p" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080@25p" 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080@30p" 89.01 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1152x864@75p" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine       "1280x800@60p" 83.5 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
    ModeLine       "1280x960@60p" 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine       "1280x1024@60p" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1440x900@60p" 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync
    ModeLine       "1440x900@75p" 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync
    ModeLine       "1680x1050@60p" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
    ModeLine       "640x480@60p" 25.18 640 648 744 800 480 482 484 525 -hsync -vsync
    ModeLine       "640x480@73p" 31.50 640 656 696 832 480 481 484 520 -hsync -vsync
    ModeLine       "640x480@75p" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine       "800x600@60p" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine       "800x600@72p" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine       "800x600@75p" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine       "1024x768@60p" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine       "1024x768@70p" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine       "1024x768@75p" 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine       "1280x1024@75p" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +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"
    Option         "DynamicTwinView" "false"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080@60p" "1360x768@60p" "1280x720@60p" "1280x720@50p" "1920x1080@50i" "1920x1080@60p2" "1920x1080@50p" "1280x720@60p2" "1280x720@50p2" "1920x1080@60i" "1920x1080@50i2" "720x480@60p" "720x576@50p" "1920x1080@24p" "1920x1080@25p" "1920x1080@30p" "1152x864@75p" "1280x800@60p" "1280x960@60p" "1280x1024@60p" "1440x900@60p" "1440x900@75p" "1680x1050@60p" "640x480@60p" "640x480@73p" "640x480@75p" "800x600@60p" "800x600@72p" "800x600@75p" "1024x768@60p" "1024x768@70p" "1024x768@75p" "1280x1024@75p"
    EndSubSection
EndSection
Reply
#48
I don't believe XBMC changes resolutions on the fly for you, only refresh rates.

So having more than 1920x1080 on a 1080p TV is probably not helping.

What you want to do is have a 60hz (59.94) and a 24hz (23.976). Add a 50hz if your TV supports it.

Due to limitations in xrandr you can't have a 59.94 and 60hz or a 24 and 23.976hz modeline and have XBMC switch those. So if you're in the U.S. go with 59.94 and 23.976 since the majority of material is at those framerates.
Reply
#49
I have a dumb question:

How do you fix overscan for the console for boot or when X is not even installed?
Reply
#50
dan1son Wrote:I don't believe XBMC changes resolutions on the fly for you, only refresh rates.

So having more than 1920x1080 on a 1080p TV is probably not helping.

What you want to do is have a 60hz (59.94) and a 24hz (23.976). Add a 50hz if your TV supports it.

Due to limitations in xrandr you can't have a 59.94 and 60hz or a 24 and 23.976hz modeline and have XBMC switch those. So if you're in the U.S. go with 59.94 and 23.976 since the majority of material is at those framerates.

Thanks man, for some reason it helped to go only with the 24hz and 60hz option.
Now my lower res xvid movies work aswell, too bad tho that i spent several hours modifying my xorg with all those ModeLine's Laugh
Reply
#51
rodercot Wrote:There is a great post that I have been using for a long time...

http://ubuntuforums.org/showthread.php?t=1003099&page=2

This is an older thread which I think has not been updated in a while but the report that is generated is still completely valid.
......

Regards,

Dave
Great link, Thank you!

I havent followed the link above (yet) but just copy / pasted needed parts form this treads first post to get fully working refresh rate sync with all kinds of material (24p, 60hz dvd, 50hz dvd, interlaced etc..) working with my zotac Ion and my Sony X3500.
Will dig into Dave's link and see if I can correct my settings..
Reply
#52
Lightbulb 
I have discovered a problem with the OP settings and a lot of content.
ANY content at 50 Hz (= 25Hz/fps) ends up being delivered interlaced to the TV - i.e. 1080i in most configurations.
This includes 720p TV rips (which is what told me something was wrong).

The Mode line in xorg.conf looks like this:
Code:
Modes "1920x1080@60p" "1920x1080@24p" "1920x1080@25p" "1920x1080@50i" "1920x1080@50p" "1920x1080@60i" "[email protected]"

Because the 50i setting occurs before the 50p setting, it is found first - and used - every time.
XBMC does not seem to be able to tell that sourcefile is not interlaced - so just uses the first valid refresh rate in the file, which ends up forcing interlaced output.

So a corrected version of the OP's settting is:
Code:
Modes "1920x1080@60p" "1920x1080@24p" "1920x1080@25p" "1920x1080@50p" "1920x1080@50i" "1920x1080@60i" "[email protected]"
It may be worth removing all the interlaced options, since it looks like it will never be used.
Reply
#53
Hi,

Thanks very much for the info in this thread.

I am slightly puzzled by the fact that when I try to execute step one of the guide, I get the message "permission denied". Am I missing something really obvious ? (I have little experience with linux) ?

Thanks

Pete
Reply
#54
@ calmdown gosh that a massive xorg pretty sure all those modelines are superfluous but hey if it works for you guys....

@ deadlyuk the trick is using sudo before each command, or if your smart enable root log-in by doing passwd root (choose/enter/use that password) and login via putty to you system as user root and password u chose b4. Never have to type sudo to do any config type and when system is fully set up you can always disable root login (google away). Myth however many ppl will cry its a security issue to allow root login, thats true if its a massive server from a large company but not true for a silly media centre which has no sensitive info.
Reply
#55
Does anyone know if there is anything being done on a work around for the xrandr limitation?
I saw someone has done one for mythtv: http://www.avenard.org/media/Patches_&_A...pport.html
Reply
#56
I installed XBMC on the harddrive. I then try to modify the xorg.conf file. I tried to save the file but get permission error. the system won' let me save or overwrite the file. I can not even able change the file permission either.

sudo chmod 777 /etc/X11/xorg.cfg will not let me change permission so i can not do anything to the file.

can someone give me suggestion?
Reply
#57
why would you want to edit that file, does it even exist? I cant find it in karmic and as far as I know it doesn't need changing, only xorg.conf needs tweaking.
Reply
#58
X3lectric Wrote:why would you want to edit that file, does it even exist? I cant find it in karmic and as far as I know it doesn't need changing, only xorg.conf needs tweaking.

that is what i want to do. tweaking the xorg.conf file but it does not let me save the file or overwrite the file after i modified the file.
Reply
#59
[LINUX] HOW-TO setup XBMC and Linux with correct 1080p HD Worked perfect for my samsung 61" DLP...however it only works with HDMI...when i plug in a DVI cable instead, it reverts back to the max resolution of 720P...I tried the solution again with the DVI cable instead of HDMI but it was no go and i was left with the 720P max. I switched back to HDMI and all i had to do was adjust the overscan again. Problem is that my TV only has 1 hdmi and 1 dvi input, so i wanted to use hdmi for my PS3 and dvi for my zotac pc. Is there something i have to add to the new xorg?
Reply
#60
This worked perfectly on my samsung. Playing 1920x1080 24 without a hitch.
thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO setup XBMC and Linux with correct 1080p HD1