• 1
  • 27
  • 28
  • 29(current)
  • 30
  • 31
  • 36
Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware
Gabzor Wrote:Hello and thanks for this nice tutorial.

I currently have a problem with overscanning on my TV. It's a LG 42PC1R, HD Ready, no 24hz.
Using your tutorial, I wanted to set my box to output 720p or 1080i (I tried both), I have overscanning problem on both resolution.

Here are the settings accepted from the EDID of the TV:


I have tried with xorg.conf to use 1920x1080_50i or 1280x720_50 (I'm in France and 50hz is the default here).
Anyway, with those resolutions, I have a lot of overscanning, everywhere around the screen! So I tried with modelines, but the problem is the same (from what I've understood, modelines is used to move the picture, not to resize it (since I want to use 1280x720)).

Since I dont have settings for overscan and 1:1 pixel on my TV, the solution I have found atm is to use the overscanning compensation of nvidia-settings, its set to 90.


Does anyone have another solution than using nvidia overscanning compensation & keeping same resolution (720p, I think its better for movies) ?

Hi!

Here's my old custom xorg for the LG 42PC1R, I created custom modelines for 72hz which worked pretty good for 24p material (24 x 3 = 72). Since the 42PC1R has a 1024x768 resolution native that's what you should use.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.12  (buildmeister@builder101)  Fri Oct  8 13:54:10 PDT 2010


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       31.0 - 64.0
    VertRefresh     58.0 - 75.0
    ModeLine       "1024x768@75" 78.75 1024 1040 1136 1312 768 769 772 800 -hsync +vsync
    ModeLine       "1024x768@70" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync +vsync
    ModeLine       "1024x768@60" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync +vsync
    ModeLine       "1024x768@72" 78.43 1024 1080 1192 1360 768 769 772 801 -hsync +vsync
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "DynamicTwinView" "False"
    Option         "ModeValidation" "NoEdidModes"
    SubSection     "Display"
        Depth       24
        Modes      "1024x768@75" "1024x768@70" "1024x768@60" "1024x768@72"
    EndSubSection
EndSection

Perhaps some of the lines are unnecessary but you should be able to use the modelines. Remeber to run the calibration in XBMC to compensate for the resolution. Pixel Aspect ratio should be 1.33. Also enable "Adjust display refresh rate to match video" and "Sync playback to display" with drop/dupe audio as method.

Good luck!
Reply
Just wondering..I'm upgrading to Eden right now, is this script still necessary for us nvidia gpu users to achieve judder-free playback?
Reply
(2012-03-26, 18:16)gokudo Wrote: Just wondering..I'm upgrading to Eden right now, is this script still necessary for us nvidia gpu users to achieve judder-free playback?

Just ran the script, so far it seems to have solved my problem on Eden. (GeForce 210 if it is relevant)
Reply
I've actually got a 107FP4 (http://www.p4c.philips.com/cgi-bin/dcbin...=107FP4/10). Yes it's as old as the hills, it's a 42" plasma display with VGA. It's supposed to be able to do 1024x768@60 but the EDID info on it according to the driver is shot. Does anyone know whether it's possible to extract modelines for this particular panel?
Reply
This doesn't work anymore with XBMCbuntu - it references xbmc-live in the code which is no longer what the process is called. the mode scan stuff doesnt work
Reply
(2012-03-31, 21:11)tmhmat Wrote: This doesn't work anymore with XBMCbuntu - it references xbmc-live in the code which is no longer what the process is called. the mode scan stuff doesnt work

Just replace the 4 instaces of xbmc-live with lightdm in nvidia_24p.sh
Reply
Hello guys,

As a real newbie in all Linux matters I can't figure out how to edit the nvidia.sh file in order to get the script to work with eden.
Any pointers?

I'm working over ssh (putty) to access my xbmc

Regards
Reply
If you're ssh'd into your XBMC box and the script is placed in your home directory e.g. /home/xbmc you can use nano or vi to edit it. First check out which directory you're in:
Code:
pwd

If you're not in your home directory then,
Code:
cd /home/<username>
Where <username> is whatever user you are, if you're using XBMCbuntu then it's whatever user you created, in my case it's xbmc.

Then you'll need to find the script. Assuming you used wget to retrieve it from your home directory you can just issue an "ls", lowercase L, to list the directory contents. nvidia.sh should be there.

Then you can use nano or vi to edit the file. If new to Linux, I'd suggest nano, it's more user friendly.
Code:
nano nvidia.sh
Once you've finished your edits, hit CTRL+x to exit out, hit "y" to save the modified buffer to nvidia.sh, and then you should be ready to run the script.
Reply
Hi

I came to realize that I used nano once. Thanks a lot for your help!

Regards

Edit:
The "adjust display refresh rate to match video" option isn't working at all.
I can set 24/25/50/60Hz in XBMCbuntu but still I have a frame drop ~every 45 seconds in my movies and my receiver still gets the exactly the refresh rate that I set in the main menu.
What can this be related to? It worked perfectly in XBMCLive.

Regards
Reply
(2012-04-01, 21:06)hafeez Wrote:
(2012-03-31, 21:11)tmhmat Wrote: This doesn't work anymore with XBMCbuntu - it references xbmc-live in the code which is no longer what the process is called. the mode scan stuff doesnt work

Just replace the 4 instaces of xbmc-live with lightdm in nvidia_24p.sh

Hello, do you know what service i have to change xbmc-live in for Kubuntu ? xbmc-live and lightdm are unrecognized services, i tried KDM, and the script does something, but after the second instance ofstoping and starting the tty window pretty much crashes and i'm sent back to the normal desktop. I am a newbie, so i dont even know if the KDM service has anything to do with it, but i just tried it.


Reply
Hello i try executed this script in ubuntu 10.04.4 LTS i386, but i recive error in:

Quote:5/6 Applying NVIDIA settings

No protocol specified

Error: The control display is undefined; please run 'nvidia-settings --help'

No protocol specified

Error: The control display is undefined; please run 'nvidia-settings --help'

in nvidia-settings i have DFP-1 (phillips)

i have nvidia GT520 Low Profile and driver version 295.33. I have TV phillips connect with HDMI. My resolution in ubuntu and xbmc 1280x768. Howto change resolution 1920x1080.

Thank you.

Quote: --- Modes in ModePool for Philips (DFP-1) ---
"nvidia-auto-select" : 1280 x 768 @ 60.0 Hz (from: EDID)
"1920x1080" : 1920 x 1080 @ 60.1 Hz Interlace (from: EDID)
"1920x1080_60i" : 1920 x 1080 @ 60.1 Hz Interlace (from: EDID)
"1920x1080_60i_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
"1920x1080_50i" : 1920 x 1080 @ 50.0 Hz Interlace (from: EDID)
"1280x768" : 1280 x 768 @ 60.0 Hz (from: EDID)
"1280x768_60" : 1280 x 768 @ 60.0 Hz (from: EDID)
"1280x720" : 1280 x 720 @ 60.0 Hz (from: EDID)
"1280x720_60" : 1280 x 720 @ 60.0 Hz (from: EDID)
"1280x720_60_0" : 1280 x 720 @ 59.94/60 Hz (CEA-861B Format 4) (from: EDID)
"1280x720_50" : 1280 x 720 @ 50.0 Hz (from: EDID)
"1152x648" : 1152 x 648 @ 75.0 Hz (from: EDID)
"1152x648_75" : 1152 x 648 @ 75.0 Hz (from: EDID)
"1024x768" : 1024 x 768 @ 75.0 Hz (from: EDID)
"1024x768_75" : 1024 x 768 @ 75.0 Hz (from: EDID)
"1024x768_60" : 1024 x 768 @ 60.0 Hz (from: EDID)
"1024x576" : 1024 x 576 @ 85.0 Hz (from: EDID)
"1024x576_85" : 1024 x 576 @ 85.0 Hz (from: EDID)
"800x600" : 800 x 600 @ 75.0 Hz (from: EDID)
"800x600_75" : 800 x 600 @ 75.0 Hz (from: EDID)
"800x600_60" : 800 x 600 @ 60.3 Hz (from: EDID)
"800x450" : 800 x 450 @ 85.0 Hz (from: EDID)
"800x450_85" : 800 x 450 @ 85.0 Hz (from: EDID)
"720x576" : 720 x 576 @ 50.0 Hz (from: EDID)
"720x576_50" : 720 x 576 @ 50.0 Hz (from: EDID)
"720x480" : 720 x 480 @ 59.9 Hz (from: EDID)
"720x480_60" : 720 x 480 @ 59.9 Hz (from: EDID)
"640x480" : 640 x 480 @ 75.0 Hz (from: EDID)
"640x480_75" : 640 x 480 @ 75.0 Hz (from: EDID)
"640x480_60" : 640 x 480 @ 60.0 Hz (from: EDID)
"640x480_60_0" : 640 x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
"640x360" : 640 x 360 @ 85.0 Hz (from: EDID)
"640x360_85" : 640 x 360 @ 85.0 Hz (from: EDID)
--- End of ModePool for Philips (DFP-1): ---
Reply
just upgraded to Eden --- on a separate HD --- from 9.10.

ran this back then for my panasonic ae4000 projector and it made ALL the difference.

most menus and text are pretty horrible looking now as well as the lxde desktop (unreadable actually).

movies also now seem to jump? or skip? i'm assuming this is what ppl mean when they same judder.

since all the hardware, aside from the HD, is exactly the same, would it be possible to just copy my old xorg.conf file to my new /etc/x11 folder and get the same results?


Reply
Hi

Can anyone update the script to use in XBMCbuntu 11.10?

Thanks.
Reply
Go back one page

http://forum.xbmc.org/showthread.php?tid...pid1068535
Reply
Can anyone confirm if this will work with OpenELEC and the EDEN version of it?
Thanks
My full HTPC build log:
http://forum.xbmc.org/showthread.php?tid=129352
Core i3-2120T 2.6Ghz, 4gb Kingston DDR3, mSATA SSD, Moneual 312 Case, GT520 GPU
Reply
  • 1
  • 27
  • 28
  • 29(current)
  • 30
  • 31
  • 36

Logout Mark Read Team Forum Stats Members Help
HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware16