MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » MediaPortal 1 Talk


MediaPortal 1 Talk General talk regarding our HTPC-software MediaPortal 1 takes place here.

Reply
 
Thread Tools Display Modes
Old 2008-08-30, 09:10   #21 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 735
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

Here is my setup from my livingroom htpc.

It has projector and a LCD screen hooked up to it.
That's why I use external cmd files along with powerstrip.
one powerstrip command per. screen.
if u only have one screen u can avoid the cmd file and have the pstrip cmd line directly in the xml file.

anyways here it is.

<entry name="autochangerefreshrate">yes</entry>
<entry name="cinema_ext">C:\\24hz.cmd</entry>
<entry name="pal_ext">C:\\25hz.cmd</entry>
<entry name="ntsc_ext">c:\\30hz.cmd</entry>
<entry name="tv_ext">c:\\25hz.cmd</entry>

<entry name="cinema_fps">23.976;24</entry>
<entry name="pal_fps">25</entry>
<entry name="ntsc_fps">29.97;30</entry>
<entry name="tv_fps">25</entry>
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">25</entry>
<entry name="ntsc_hz">30</entry>
<entry name="tv_hz">25</entry>
<entry name="default_hz">pal_hz</entry>
<entry name="use_default_hz">no</entry>
<entry name="devicereset">no</entry>


24hz.cmd
"C:\Program files\PowerStrip\PStrip.exe" /target:1 /T:1920,638,44,148,1080,4,5,36,74250,528
"C:\Program files\PowerStrip\PStrip.exe" /target:2 /T:1920,638,44,148,1080,4,5,36,74250,528

25hz.cmd
"C:\Program files\PowerStrip\PStrip.exe" /target:1 /T:1920,528,44,148,1080,5,10,30,74250,542
"C:\Program files\PowerStrip\PStrip.exe" /target:2 /T:1920,528,44,148,1080,5,10,30,74250,542

30hz.cmd
"C:\Program files\PowerStrip\PStrip.exe" /target:1 /T:1920,88,44,148,1080,5,10,30,74250,536
"C:\Programmer\PowerStrip\PStrip.exe" /target:2 /T:1920,88,44,148,1080,5,10,30,74250,536

if your rig has problems with dealing with the GPU resets when using ATI profiles etc. then I really recommend the pstrip way.

Ill try my to setup livingroom htpc with ati profiles too, so see how stable it all is.

/gibman
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
2 Users Say Thank You:
Old 2008-08-30, 12:05   #22 (permalink)
MP Donator
 
Join Date: Dec 2007
Posts: 243
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Default Nvidia Commandline format

FYI for Nvidia users:

Format:
rundll32.exe NvCpl.dll,dtcfg setmode <display#> <hres> <vres> <bpp> <freq>


Example to set Display #1 to 1920x1080@60Hz
rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60
stoked is offline   Reply With Quote
Old 2008-08-30, 13:41   #23 (permalink)
Portal Member
 
Join Date: Jun 2005
Location: Bolzano
Age: 37
Posts: 240
Thanks: 32
Thanked 5 Times in 5 Posts

Country:

My System

Default

Great work gibman I'm still waiting for latest SVN to try it out...
__________________
Roby

Download italian myvideos IMDB script yahoo.it
Download italian myvideos IMDB script mymovies.it
Visit my iPod Italian site: http://www.ipoditalia.it

robyf is offline   Reply With Quote
Old 2008-08-30, 17:36   #24 (permalink)
Portal Member
 
edterbak's Avatar
 
Join Date: Mar 2008
Posts: 140
Thanks: 11
Thanked 3 Times in 3 Posts

Country:

My System

Default

I gave it a try Gibman. It seems to work OK. But I cant be sure..... The reason for that is that I am plagued by some other issue. It seems that reclock or some other programm which I tried and deleted already is still doing its thing.. Weird thing it is. If I dissable and uninstall reclock + any other plugin, its still changing refreshrate for some reason. But, Im gonna try a fresh OS + MP setup soon.
Nevertheless I think I dont have problems because of your program Gibman.
Standard refreshrate is 50 Hz. When I play a movie with 23.9/24fps it switches. When I play a 29.9fps dvd, it switches as well. And it switches back after Stop.

>> in the text in the first post, you should also mention to put core.dll in the root directory of MP. Its obvious that its supposed to go there, but its not mentioned.
edterbak is offline   Reply With Quote
Old 2008-08-31, 00:48   #25 (permalink)
Portal Member
 
Join Date: Jun 2005
Location: Bolzano
Age: 37
Posts: 240
Thanks: 32
Thanked 5 Times in 5 Posts

Country:

My System

Default

It seems to work without any problems using your configuration with powerstrip (except I turn back to default when stopping media play) so great work gibman.
__________________
Roby

Download italian myvideos IMDB script yahoo.it
Download italian myvideos IMDB script mymovies.it
Visit my iPod Italian site: http://www.ipoditalia.it

robyf is offline   Reply With Quote
Old 2008-08-31, 09:49   #26 (permalink)
MP Donator
 
Join Date: Dec 2007
Posts: 243
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Default

Seems to be working well my settings for Nvidia:


<entry name="autochangerefreshrate">yes</entry>
<entry name="cinema_ext">c:\\windows\\system32\\rundll32. exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 24</entry>
<entry name="pal_ext">c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="ntsc_ext">c:\\windows\\system32\\rundll32.ex e NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="tv_ext">c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="cinema_fps">23.976;24</entry>
<entry name="pal_fps">25</entry>
<entry name="ntsc_fps">29.97;30</entry>
<entry name="tv_fps">60</entry>
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">25</entry>
<entry name="ntsc_hz">30</entry>
<entry name="tv_hz">25</entry>
<entry name="default_hz">tv_hz</entry>
<entry name="use_default_hz">no</entry>
<entry name="devicereset">no</entry>

I don't have a 50Hz setting setup yet, so I just have 60hz and 24hz.
stoked is offline   Reply With Quote
Old 2008-08-31, 09:59   #27 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 735
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

It's very important that the xyz_hz keys are 100% matching those used from the nvidia/ati profiles.
Otherwise the refresh rate change mechanism can't be trusted.

ex.

u have 2 nvidia profiles that does (24hz and 60hz);

c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 24
c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60

used like this;
cinema_ext is 24hz
pal_ext is 60hz
ntsc_ext is 60hz
tv_ext is 60hz

So u need to change these keys to match the stuff from above.
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">60</entry>
<entry name="ntsc_hz">60</entry>
<entry name="tv_hz">60</entry>

is this clear enuff ?

how does stuff work in vista.
using the pstrip way is a lot more "easy" on the code.
So I guess this would work also.
But calling device resetting ATI nvidia profiles in vista... now how does that work.
I do not have vista here (thank god), so it is not tested really.

/gibman


Quote:
Originally Posted by stoked View Post
Seems to be working well my settings for Nvidia:


<entry name="autochangerefreshrate">yes</entry>
<entry name="cinema_ext">c:\\windows\\system32\\rundll32. exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 24</entry>
<entry name="pal_ext">c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="ntsc_ext">c:\\windows\\system32\\rundll32.ex e NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="tv_ext">c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60</entry>
<entry name="cinema_fps">23.976;24</entry>
<entry name="pal_fps">25</entry>
<entry name="ntsc_fps">29.97;30</entry>
<entry name="tv_fps">60</entry>
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">25</entry>
<entry name="ntsc_hz">30</entry>
<entry name="tv_hz">25</entry>
<entry name="default_hz">tv_hz</entry>
<entry name="use_default_hz">no</entry>
<entry name="devicereset">no</entry>

I don't have a 50Hz setting setup yet, so I just have 60hz and 24hz.
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
Old 2008-08-31, 10:11   #28 (permalink)
MP Donator
 
Join Date: Dec 2007
Posts: 243
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Default

Quote:
Originally Posted by gibman View Post
It's very important that the xyz_hz keys are 100% matching those used from the nvidia/ati profiles.
Otherwise the refresh rate change mechanism can't be trusted.

ex.

u have 2 nvidia profiles that does (24hz and 60hz);

c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 24
c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60

used like this;
cinema_ext is 24hz
pal_ext is 60hz
ntsc_ext is 60hz
tv_ext is 60hz

So u need to change these keys to match the stuff from above.
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">60</entry>
<entry name="ntsc_hz">60</entry>
<entry name="tv_hz">60</entry>

is this clear enuff ?

how does stuff work in vista.
using the pstrip way is a lot more "easy" on the code.
So I guess this would work also.
But calling device resetting ATI nvidia profiles in vista... now how does that work.
I do not have vista here (thank god), so it is not tested really.

/gibman
Ah, I thought those <entry name=tv_hz>60</entry> lines were to match what MP finds the framerate of a media file to a nice label.
stoked is offline   Reply With Quote
Old 2008-08-31, 10:23   #29 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 735
Thanks: 4
Thanked 68 Times in 51 Posts

Country:

My System

Default

No, those keys are defined as;

<entry name="cinema_fps">23.976;24</entry>
<entry name="pal_fps">25</entry>
<entry name="ntsc_fps">29.97;30</entry>
<entry name="tv_fps">25</entry>

..and should never really be altered.
instead of hardcoding these values I thought it would be nicer to have them editable.

/gibman

Quote:
Originally Posted by stoked View Post
Quote:
Originally Posted by gibman View Post
It's very important that the xyz_hz keys are 100% matching those used from the nvidia/ati profiles.
Otherwise the refresh rate change mechanism can't be trusted.

ex.

u have 2 nvidia profiles that does (24hz and 60hz);

c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 24
c:\\windows\\system32\\rundll32.exe NvCpl.dll,dtcfg setmode 1 1920 1080 32 60

used like this;
cinema_ext is 24hz
pal_ext is 60hz
ntsc_ext is 60hz
tv_ext is 60hz

So u need to change these keys to match the stuff from above.
<entry name="cinema_hz">24</entry>
<entry name="pal_hz">60</entry>
<entry name="ntsc_hz">60</entry>
<entry name="tv_hz">60</entry>

is this clear enuff ?

how does stuff work in vista.
using the pstrip way is a lot more "easy" on the code.
So I guess this would work also.
But calling device resetting ATI nvidia profiles in vista... now how does that work.
I do not have vista here (thank god), so it is not tested really.

/gibman
Ah, I thought those <entry name=tv_hz>60</entry> lines were to match what MP finds the framerate of a media file to a nice label.
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
Old 2008-08-31, 10:32   #30 (permalink)
MP Donator
 
Join Date: Dec 2007
Posts: 243
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Default

Quote:
Originally Posted by gibman View Post
No, those keys are defined as;

<entry name="cinema_fps">23.976;24</entry>
<entry name="pal_fps">25</entry>
<entry name="ntsc_fps">29.97;30</entry>
<entry name="tv_fps">25</entry>

..and should never really be altered.
instead of hardcoding these values I thought it would be nicer to have them editable.

/gibman
Ahhh, I didn't even realize there's was cinema_fps and cinema_hz! Must be too tired =D BTW, regarding Vista, from what I gathered that Nvidia command doesn't work on Vista. I don't run Vista so it's not a problem for me.
stoked is offline   Reply With Quote
Reply

Bookmarks

Tags
automatic, changer, refreshrate

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A very simple Refreshrate changer dannyb0y Plugins 9 2008-06-24 13:56
2 problems (refreshrate, hibernate with rc) robhawk General Support 0 2008-05-28 11:44
Skin/Theme changer Autoper Improvement Suggestions 0 2005-02-19 03:51


All times are GMT +1. The time now is 18:20.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden