[NVIDIA] Preventing Nvidia from enabling a virtual desktop (1 Viewer)

madcart

Portal Member
January 20, 2011
19
1
Home Country
England England
Sometimes when my PC comes out of standby and the (HDMI) TV is off,
when i switch the TV on i find that the resolution has been switched to 600x400.

However XP is now using a virtual desktop of 1920x1080 (the original resolution), and the desktop pans as my mouse reaches the edge of the screen.

If I query the resolution, XP tells me it is 1920x1080. Setting the resolution to this value has no effect - I actually have to change the resolution to a new setting, and then back again to 1920x1080.

I assume that things go awry when the graphics card querys the plug-and-play TV for available resolutions. With the TV off it reverts to the default resolution, with this crazy panning behavior.

Has anyone else seen this or know how to resolve it?

Thanks.
 

MdFolter

MP Donator
  • Premium Supporter
  • December 7, 2005
    76
    2
    44
    Breugel
    Home Country
    Netherlands Netherlands
    Hi there,

    Can you give me some feed back whether or not this solution worked. I am facing the same issues.

    Regards,
    Marcel
     

    madcart

    Portal Member
    January 20, 2011
    19
    1
    Home Country
    England England
    Disabling the driver helper service didn't prevent the resolution from reverting, and also seemed to prevent the display from coming back when i came out of S3 sleep most times. The system was running in the background - just no display output.
    Resume from sleep is very unreliable for me tho, so it could be a co-incidence. I havent managed to test after reenabling the service yet..
     

    madcart

    Portal Member
    January 20, 2011
    19
    1
    Home Country
    England England
    MDFolter -

    I'm currently forcing the correct resolution by using this command line tool (dccmd.exe):
    12noon :: Display Changer

    However i found that when the problem occurs, running dccmd.exe with the correct resolution has no effect because the system believes it is already at this resolution, and so does nothing.

    So I have a script that runs dccmd.exe twice - once to set the resolution away from the correct resolution (i just change the refresh rate) and again to set it back to the correct resolution. This forces the correct resolution.

    I trigger this script to run whenever the system comes out of sleep (using TVService's powerscheduler, but u could use anything similar) and its been fine so far.
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Country flag
    Madcart - would you like to attach the script so that other people can see how to do it ? (just hit the 'Go Advanced' button below for the file upload options)

    Tony
     

    madcart

    Portal Member
    January 20, 2011
    19
    1
    Home Country
    England England
    sure - .bat files weren't attachable, so i just pasted the contents here instead.


    Change the width, height, color depth and refresh rate as below.
    Note that I change the display twice to 'force' the resolution to be updated.

    Code:
    @echo off
    
    rem http://www.12noon.com/displaychanger.htm
    rem sets the display to the correct resolution
    rem if the hdmi display is disconnected, then sometimes the resolution reverts to 600x400
    
    rem "c:\Program Files\12noon Display Changer\dccmd.exe" -listmonitors
    
    "c:\Program Files\12noon Display Changer\dccmd.exe" -monitor="\\.\DISPLAY1" -primary -width=1280 -height=720 -depth=32 -refresh=50
    "c:\Program Files\12noon Display Changer\dccmd.exe" -monitor="\\.\DISPLAY1" -primary -width=1280 -height=720 -depth=32 -refresh=60
     

    Users who are viewing this thread

    Similar threads

    I've been using MadVR for several versions now. DXVA2 (native) worked well for UHD/HDR but couldn't use the better image processing options. TV worked fine using EVR. Now with MP 1.20, I was trying new settings with DXVA11 trying to get better processing, and it worked great, (except for not being able to check the onscreen stats with...
    I've been using MadVR for several versions now. DXVA2 (native) worked well for UHD/HDR but couldn't use the better image processing...
    Hello everyone, the new MP 1.20 is in connection with MadVR with me not faultless. The previous version works perfectly. 1. LAV...
    Replies
    1
    Views
    914
    I spoke too soon. It seems I will need a new video card as when I look at refresh rates in the PC's display section it only goes up to 30Hz I will try the SPDIF delay on the TV - maybe that will help. Unless there is another possible solution Neil
    I spoke too soon. It seems I will need a new video card as when I look at refresh rates in the PC's display section it only goes up...
    Hi all and Happy New Year Since plugging in my new TCL 4K TV when I turn the TV on I am presented with a lovely perfectly blank...
    Replies
    5
    Views
    2K
    Hi. This is planed but not ready now. Our Wiki is in the middle of a transfer process from one software to a much better one. Behind the curtains there is lots of work going on regarding the documentation. Sadly there are only a few people who have time to work on this so it will take a while until it's finished. The Icons are...
    Hi. This is planed but not ready now. Our Wiki is in the middle of a transfer process from one software to a much better one...
    It would be nice to have a "Media Portal 2 for Windows Media Center Refugees" document/topic... I have successfully installed MP2...
    Replies
    2
    Views
    1K
    You probably don't need to do that unless you're using the CI slot.
    You probably don't need to do that unless you're using the CI slot.
    Hello folks. I've been a long time user of Mediaportal 1.x. It has been a struggle getting my TBS 5881 card to work reliably...
    Replies
    3
    Views
    1K
    Hi @el Filou Ok I understand, that not easy :( So for now ReClock is the best :)
    Hi @el Filou Ok I understand, that not easy :( So for now ReClock is the best :)
    Description of Change This branch will permit to have madVR renderer to MP1, thanks to Tourettes for this and Madshi. This branch...
    Replies
    6K
    Views
    516K
    Top Bottom