You are not logged in.

#1 2012-06-15 06:39:25

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Hi Guys,

I have just bought a new Panasonic Plasma and am running XBMC on my media box. Currently the NVIDIA driver is outputting 1080p @ 50Hz to the set with
the default (no xorg.conf file).

I would like to drive the TV at 60Hz because I get better performance at the frame rate, can some please offer some hints as to setting xorg to output 60Hz.

.. also, since I have upgraded my box (which included xorg and NVIDIA), I find that some of the time I boot up the box in Gnome3, other times it falls back to Gnome2 mode ..
it seems random .. anyone know how I can fix this?

EDIT: To get nvidia to work at all, I had to supply the following kernel line:  "vmalloc=192MB ", as I had kernel complaints about lake of memory.

Thanks,
B

Last edited by bmentink (2012-06-16 01:01:53)

Offline

#2 2012-06-15 09:11:50

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Define 'works better', since with LCD/Plasma your eyes should not be affected by the screen redraw that one might notice with CRT screens at lower refresh frequencies.

Did you check either your manual or xrandr's output to confirm that your TV supports 60 Hz at all? Not all TVs do, afaik.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2012-06-15 09:45:37

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Ah, the age-old PAL vs. NTSC... PAL is limited to 50 Hz, NTSC at 60 Hz.

http://hometheater.about.com/od/televis … frames.htm
www.high-techproductions.com/pal.htm

New Zealand is PAL. Tough luck there, friend. Romania is the same.

http://en.wikipedia.org/wiki/PAL


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-06-15 09:50:03

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

By the way, vmalloc is only needed if your OS is 32 bit. You should install Arch x84_64 if you have a 64 bit CPU.

https://wiki.archlinux.org/index.php/Arch64_FAQ


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-06-15 10:17:36

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

.:B:. wrote:

Define 'works better', since with LCD/Plasma your eyes should not be affected by the screen redraw that one might notice with CRT screens at lower refresh frequencies.

Did you check either your manual or xrandr's output to confirm that your TV supports 60 Hz at all? Not all TVs do, afaik.

"Works better" since this is a Panasonic Plasma and they are known to have issues with 50Hz video source .. and yes the TV prefers 60Hz as per the manual.

Offline

#6 2012-06-15 10:19:21

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

DSpider wrote:

By the way, vmalloc is only needed if your OS is 32 bit. You should install Arch x84_64 if you have a 64 bit CPU.

https://wiki.archlinux.org/index.php/Arch64_FAQ

I don't want to re-install at this stage .... I have teenage girls and this is the main TV ... enough said? ;-)
It is also my main server, so I don't want it down for any length of time at present ..

... but any solutions to my question would be appreciated ..

Offline

#7 2012-06-15 18:24:19

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

You could probably try to add a custom mode and select that, you can do that with xrandr if you don't want to use a xorg.conf file. You will probably need to use either 'cvt' or 'gtf' to give you the custom modeline you want.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2012-06-15 22:12:11

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

R00KIE wrote:

You could probably try to add a custom mode and select that, you can do that with xrandr if you don't want to use a xorg.conf file. You will probably need to use either 'cvt' or 'gtf' to give you the custom modeline you want.

I had a look at xrandr .. it is showing only a max of 55hz at 1920x1080, do I have to give more memory to the adapter to get 60Hz?
Currently I have set "vmalloc=192MB"

Also DPMS doesn't seem to work with the display no matter what I set on the TV ... do I need to cteate an xorg.conf file with <Option         "DPMS"> in the Device section to turn that on?

Thanks,
B

Offline

#9 2012-06-15 22:51:08

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

That is what the driver/X detects, but you can add a custom mode with xrandr, provided your graphics card supports outputting 1920x1080@60Hz and your tv really supports that mode.

Regarding the DPMS issue, I can't help you there, no experience in debugging problems related to DPMS.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#10 2012-06-16 01:00:25

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Thanks. Hey I fixed it.

I calculated a 60hz modeline with "gtf 1920 1080 60" and inserted into my xorg.conf,
..also put is a fixed DPI as X could not read it from EDID info from the TV.

Now I get 60Hz as reported from my display.

But best of all, now my HD video's do not stutter at all ... ( as reported, this is a Panasonic TV bug with 50Hz input )

Marking this thread as solved, and hope it helps someone else ..

This is the relevant part of my xorg.conf file:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
    Option         "DPMS" "1"
    DisplaySize    111 62
    Modeline "1920x1080_60"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync

EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ConnectedMonitor" "DFP-1"
    Option         "CustomEDID" "DFP-1:/etc/X11/dfp1.edid"
    Option         "NoLogo"     "1"
    Option         "UseEdidDpi"  "False"
    Option         "DPI"  "44 x 44"
EndSection

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

Last edited by bmentink (2012-06-16 01:11:54)

Offline

#11 2012-08-07 04:43:13

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

ok ... well not quite solved ..

After awhile the TV is now showing 50Hz again with the same xorg.conf file

Why would it show 60hz for some time then switch back to 50hz again after awhile?

My log file shows the 60Hz modeline being accepted .... anyone have any suggestions on debugging this?

Thanks.

Here is the relevant part of the log file for reference:

[2240857.286] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[2240857.286] (==) NVIDIA(0): RGB weight 888
[2240857.286] (==) NVIDIA(0): Default visual is TrueColor
[2240857.286] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[2240857.286] (**) NVIDIA(0): Option "NoLogo" "1"
[2240857.286] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP-1"
[2240857.286] (**) NVIDIA(0): Option "CustomEDID" "DFP-1:/etc/X11/dfp1.edid"
[2240857.287] (**) NVIDIA(0): Option "UseEdidDpi" "False"
[2240857.287] (**) NVIDIA(0): Option "DPI" "44 x 44"
[2240857.287] (**) NVIDIA(0): Enabling 2D acceleration
[2240857.287] (**) NVIDIA(0): ConnectedMonitor string: "DFP-1"
[2240858.276] (II) NVIDIA(GPU-0): Display (Panasonic-TV (DFP-1)) does not support NVIDIA 3D
[2240858.276] (II) NVIDIA(GPU-0):     Vision stereo.
[2240858.277] (II) NVIDIA(0): NVIDIA GPU GeForce GT 220 (GT216) at PCI:1:0:0 (GPU-0)
[2240858.277] (--) NVIDIA(0): Memory: 1048576 kBytes
[2240858.277] (--) NVIDIA(0): VideoBIOS: 70.16.2e.00.00
[2240858.277] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[2240858.277] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[2240858.279] (--) NVIDIA(0): Connected display device(s) on GeForce GT 220 at PCI:1:0:0
[2240858.280] (--) NVIDIA(0):     Panasonic-TV (DFP-1)
[2240858.280] (--) NVIDIA(0): Panasonic-TV (DFP-1): 165.0 MHz maximum pixel clock
[2240858.280] (--) NVIDIA(0): Panasonic-TV (DFP-1): Internal Single Link TMDS
[2240858.284] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[2240858.284] (**) NVIDIA(0):     device Panasonic-TV (DFP-1) (Using EDID frequencies has
[2240858.284] (**) NVIDIA(0):     been enabled on all display devices.)
[2240858.339] (II) NVIDIA(0): Assigned Display Device: DFP-1
[2240858.339] (II) NVIDIA(0): Validated modes:
[2240858.339] (II) NVIDIA(0):     "1920x1080_60"
[2240858.340] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[2240858.385] (**) NVIDIA(0): DPI set to (44, 44); computed from "DPI" X config option
[2240858.385] (--) Depth 24 pixmap format is 32 bpp
[2240858.385] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[2240858.388] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[2240858.388] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[2240858.389] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[2240858.389] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[2240858.389] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[2240858.389] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[2240858.389] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[2240858.389] (II) NVIDIA(0):     Config Options in the README.
[2240858.391] (II) NVIDIA(0): Setting mode "1920x1080_60"
[2240858.419] (II) Loading extension NV-GLX
[2240858.456] (==) NVIDIA(0): Disabling shared memory pixmaps
[2240858.456] (==) NVIDIA(0): Backing store disabled

Actually, reading through the log again, I see that it is using "HorizSync/VertRefresh ranges from the EDID" which is not what I want, how do I turn that off?

Last edited by bmentink (2012-08-07 04:51:53)

Offline

#12 2012-08-07 08:46:05

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

https://wiki.archlinux.org/index.php/NVIDIA


Hit Ctrl+F and search for "edid" a bunch of times. I'm sure you'll find something.

Last edited by DSpider (2012-08-07 08:59:35)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#13 2012-08-08 00:41:50

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

DSpider wrote:

https://wiki.archlinux.org/index.php/NVIDIA


Hit Ctrl+F and search for "edid" a bunch of times. I'm sure you'll find something.

Huh????

Offline

#14 2012-08-08 08:15:31

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Huh what? Visit this website: "https://wiki.archlinux.org/index.php/NVIDIA" and hit Ctrl+F. Was there something unclear about what I said? There are multiple references to "edid" on that page. I'm sure you'll find something. Also, please don't just mark the thread as solved and move on. You should write something about what you actually did to fix it, so that other people (including yourself sometimes) may find useful.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#15 2012-08-08 19:18:54

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Howto drive TV at 1080 60Hz instead of 50Hz [SOLVED]

Oops, missed the link you posted hence the "huh" ... my bad for that.

DSpider wrote:

Also, please don't just mark the thread as solved and move on. You should write something about what you actually did to fix it, so that other people (including yourself sometimes) may find useful.

Chill Spider! I marked the thread as Solved when I thought I had the problem solved. I wrote the following:

Marking this thread as solved, and hope it helps someone else ..
This is the relevant part of my xorg.conf file:

...and I included my xorg.conf file to show what I had changed to fix the problem .... (at that time I had 60Hz working)  ... so I thought I was helping other people out ... what don't You understand! ;-)

Offline

Board footer

Powered by FluxBB