MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2007-07-18, 13:55   #1 (permalink)
Portal User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post


Default [patch] Choose the screen in which MP will start (fullscreen or window)

Hello,

as he asked on IRC, i cheked and tried piba's patch.

This patch add the possibility to choose which screen MP will use at startup to display itself. The patch worked well on my computer (vista 32bits) with one graphic card (ati x1950pro) and two flat screens.

So I decided to add this choice in the configuration tool. I also changed the name and the section of the variable in mediaportal.xml.

I you can try the complete patch in attachement, it would be great.

Thx
++

PS: the attached file contains the patch file and all the full modified source files. Patch has been made from svn #15241

Edit #1: the previous archive contained an error, I updated it, sorry
Edit #2: Correct a small bug in the screens detection in the configuration tool
Attached Files
File Type: zip patch multi screens (svn 15245).zip (72.9 KB, 408 views)

Last edited by Prof_Chaos; 2007-07-18 at 22:04.
Prof_Chaos is offline   Reply With Quote
This User Say Thank You:
Old 2007-07-18, 14:25   #2 (permalink)
Portal User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post


Default

the previous archive contained an error, I updated it, sorry
Prof_Chaos is offline   Reply With Quote
Old 2007-07-18, 22:05   #3 (permalink)
Portal User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post


Default

Correct a small bug in the screens detection in the configuration tool

I'm using this patch for all the day long without any problem, can someone please test this patch ?

thx a lot.
Prof_Chaos is offline   Reply With Quote
Old 2007-07-20, 19:23   #4 (permalink)
Portal Developer
 
Join Date: Oct 2006
Age: 25
Posts: 69
Thanks: 0
Thanked 5 Times in 4 Posts

Country:


Default

<EDIT>
I'm not keeping the patch on sourceforge up to date.. please use the one posted on post #6. two down..

[patch] Choose the screen in which MP will start (fullscreen or window)
</EDIT>
People please report if the newest patch on sourceforge works for you !
https://sourceforge.net/tracker/inde...97&atid=647927

It needs more testing by a larger userbase before it will be incorperated in the SVN version.

If you cant complile the sources and would like test it please dont hesitate to ask for my personal latest snapshot binaries.

Last edited by piba; 2007-07-27 at 17:59. Reason: Not keeping sourceforge up to date..
piba is offline   Reply With Quote
This User Say Thank You:
Old 2007-07-20, 21:07   #5 (permalink)
Portal Member
 
Join Date: Dec 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Now to have Mp in secondary display I'm using a script to fake Xp (or MP?) to think
the screen is primary and to switch it to secondary after Mp is started...
It works almost... but sometimes strange things happens I press pause and the screen returns on the first display in a small part of it too

But it is more simple to show that explain:


I think your solution is more elegant so I want to try it but I can't compile MP you can attach the compiled version here?

I'm using Windows XP not Vista I hope this doesn't change the behavior

fanoI

Last edited by fanoI; 2007-07-20 at 21:29.
fanoI is offline   Reply With Quote
Old 2007-07-20, 23:47   #6 (permalink)
Portal Developer
 
Join Date: Oct 2006
Age: 25
Posts: 69
Thanks: 0
Thanked 5 Times in 4 Posts

Country:


Default Download the patch, source and installer here

I am not sure what files would need updating so i created a complete installer package. It installs MP 0.2.3.0 RC1 including changes till SVN15272 and the patch.

Unpack the RAR files install MP and configure in "MediaPortal Setup" on the "general" settings on witch screen you want to display MP.

For all people testing this patch please report if it works for you and what kind of videocard your PC has. ATI / NVidia ? witch model ?

till now i know it works for the following cards (not maintaining this list anymore..):
NVidia GeForce 6150
GeForce 6600 GT
NVIDIA 7300 Series Card
GeForce 7800GT WinXP
Galaxy GeForce 8600GT
laptop with ATI Mobility Radeon X700 PCIe 128MB VRAM
radeon X850 (with XP-MCE)
radeon x1600
ati x1950pro (with Vista)

p.s.
If the config option doesnt give you the option to use the second screen try to add
the folowing line under the <section name="general"> section:

<entry name="screennumber">1</entry>

<EDIT 2007-07-23>
Now there also is the option of using parameters to set the screen and skin you want to use.

Create a shortcut with something similar to the following :
"C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe" /fullscreen /screen=1 /skin="BlueTwo wide"

p.s. screen=0 means you normal primary monitor ..
please also answer the questions in my post of "2007-07-21, 23:34"
</EDIT 2007-07-23>
<EDIT 2007-07-26>
I have uploaded the newest version i currently have.. installer / patch / source files.
</EDIT 2007-07-26>
<EDIT 2007-07-30>
Its (partialy) in current SVN !
</EDIT 2007-07-30>
<EDIT 2007-09-03>
attached files removed
SVN version contains everything now including config option to configure the screen
</EDIT 2007-09-03>

Last edited by piba; 2007-09-03 at 19:27. Reason: SVN complete
piba is offline   Reply With Quote
Old 2007-07-20, 23:57   #7 (permalink)
Portal Member
 
Join Date: Dec 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks I try it as soon as possible

My Card is an integrated GPU: NVidia GeForce 6150.

fanoI
fanoI is offline   Reply With Quote
Old 2007-07-21, 20:32   #8 (permalink)
Portal Member
 
Join Date: Dec 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Now it works as I always expected... it seems -but I'm unsure of that - there is
a little bug... the gui seems moving a litte upward after I have regulated it... the first time I thought to have not calibrate well the display and I ri-calibrated... after
some time a black bar ri-appear in the low part of the screen...
Now it is OK... I see if it happens again and in what situation

I hope this patch will be integrated in the official svn branch.

fanoI

Last edited by fanoI; 2007-07-21 at 22:11.
fanoI is offline   Reply With Quote
Old 2007-07-21, 22:34   #9 (permalink)
Portal Developer
 
Join Date: Oct 2006
Age: 25
Posts: 69
Thanks: 0
Thanked 5 Times in 4 Posts

Country:


Default

@FanoI So it works for you right? That really makes me happy because i was told it wouldn't work for NVidia cards.

@ everyone
To get this patch in the SVN version: if it works for you post a message here so i can tell the MPdevelopers it has been tested successfully by a a lot of people.
If it doesn't work and please also post what exactly isn't working so i can fix it. Or if you can develop your welcome to write and post adjustments i could use to improve the patch.

Then a few more questions i would like people to check and report in this thread.
- What graphics card do you use? ATI / NVidia witch model ?

- Is configuring on witch screen you want to display MP working as expected, two options to chose from ? with correct resolutions and adapternames displayed ?

- CPU usage should not jump to 100% ? (it shouldn't but i my situation when not using the patched version when i dragged the MP window to the second screen my cpu got very busy.. because graphics acceleration wasn't configured to use that screen. Now dragging MP to other window is not needed anymore so no cpu usage problem either..)

If you would like to talk to me on IRC thats also possible thou im not online verry often. But if you send me a email with a time in Greenwich Mean Time (GMT) ill try to get online that same time.. b.t.w. im in the +2 time zone..(+1+1 actually the second +1 is for summer time in the Netherlands)
piba is offline   Reply With Quote
Old 2007-07-22, 17:26   #10 (permalink)
Portal Member
 
Join Date: Dec 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by piba View Post
@FanoI So it works for you right? That really makes me happy because i was told it wouldn't work for NVidia cards.
Yes it works on NVidia cards, almost on mine it did

Quote:
Originally Posted by piba View Post
@ everyone
To get this patch in the SVN version: if it works for you post a message here so i can tell the MPdevelopers it has been tested successfully by a a lot of people.
If it doesn't work and please also post what exactly isn't working so i can fix it. Or if you can develop your welcome to write and post adjustments i could use to improve the patch.
Yes all the people that want to use MP on a secondary display must test this
patch I think it is the more elegant solution (no scripts, no cracked executables...)

Quote:
Originally Posted by piba View Post
Then a few more questions i would like people to check and report in this thread.
- What graphics card do you use? ATI / NVidia witch model ?

- Is configuring on witch screen you want to display MP working as expected, two options to chose from ? with correct resolutions and adapternames displayed ?

- CPU usage should not jump to 100% ? (it shouldn't but i my situation when not using the patched version when i dragged the MP window to the second screen my cpu got very busy.. because graphics acceleration wasn't configured to use that screen. Now dragging MP to other window is not needed anymore so no cpu usage problem either..)
- NVidia 6150
- Two options to choose 1) with monitor resolution e 2) With TV res (1024*576)
- CPU usage: 10%... that is graphic accelerated

fanoI
fanoI is offline   Reply With Quote
Reply

Bookmarks

Tags
choose, fullscreen, patch, screen, window

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fullscreen with dual screen always goes to primary screen nielsvdc fixed 0.2.0.0 bugs 9 2008-03-08 19:03
Automatically start MP fullscreen on secondary display dhannema Tips and Tricks 126 2007-11-28 02:03
Start TV in fullscreen tip MediaPortal 1 Talk 0 2006-12-09 15:02
DVD iso wont start if preview window it’s active. ronilse Fixed 0.2 RC4 Bugs 3 2006-06-28 19:55
start in window mode maximized Anonymous Improvement Suggestions 0 2004-05-04 06:23


All times are GMT +1. The time now is 16:24.


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