3Dmigoto mouse cursor position troubles

Post Reply
User avatar
Innuendo1231
Two Eyed Hopeful
Posts: 68
Joined: Mon Dec 12, 2011 2:01 pm

3Dmigoto mouse cursor position troubles

Post by Innuendo1231 »

Hello eveyrone.

I'm having mouse position troubles with 3Dmigoto's upscale function. I always have to use this feature because I have a 4K passive TV so rendering resolution (like 1080p) has to be upsacled to native.

So here's the scenario. This game's fix includes a mouse shader fix, here's the relevant parts (I guess) of the mouse.ini

Code: Select all

; Bind the back buffer as a render target. set_viewport ensures that the view
; port is the size of the buffer so the draw call will work:
o0 = set_viewport bb
; Back up IniParams we are about to use:
local $bak_x0 = x0
local $bak_y0 = y0
local $bak_z0 = z0
local $bak_w0 = w0
local $bak_x1 = x1
local $bak_y1 = y1
local $bak_z1 = z1
local $bak_w1 = w1
; Pass cursor position and visibility info to the shader:
x0 = cursor_window_x
y0 = cursor_window_y
z0 = cursor_hotspot_x
w0 = cursor_hotspot_y
z1 = cursor_showing
; Pass the size of the window to the shader:
x1 = window_width
y1 = window_height
The results are: The cursor remains within the screen area, but the effective position of the cursor is double the distance from the top left corner then where the cursor is seen.

If I change either:

x0 = cursor_window_x ----> x0 = cursor_screen_x
y0 = cursor_window_y ----> y0 = cursor_screen_y

or

x1 = window_width ----> x1 = res_width
y1 = window_height ----> y1 = res_height

or both

the results are: The cursor's effective position and visible position are matching, but the cursror can go out of the screen area. Quite annoying having to bring it back from the void every time a dialogue option comes up.

I was only mocking around with a trial & error approach, so I suspect someone who actually knows the wheres n' the whys of all this code should know what the solution is. I'd be greatful for it. Also is this the proper platform for 3Dmigoto support?...
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Last edited by 3DNovice on Sat Apr 06, 2024 7:10 pm, edited 1 time in total.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Last edited by 3DNovice on Sat Apr 06, 2024 7:11 pm, edited 1 time in total.
User avatar
Innuendo1231
Two Eyed Hopeful
Posts: 68
Joined: Mon Dec 12, 2011 2:01 pm

Re: 3Dmigoto mouse cursor position troubles

Post by Innuendo1231 »

Oh yes, I forgot to mention that I tried that, but the game won't start that way.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Last edited by 3DNovice on Sat Apr 06, 2024 7:10 pm, edited 1 time in total.
User avatar
Innuendo1231
Two Eyed Hopeful
Posts: 68
Joined: Mon Dec 12, 2011 2:01 pm

Re: 3Dmigoto mouse cursor position troubles

Post by Innuendo1231 »

3DNovice wrote: Fri Apr 02, 2021 11:02 am Maybe the problem is the game is rendering at 4096x2160, which is the "native" 4K resolution on many displays.
Try using CRU to remove this resolution from the EDID

You can also open NVCP and try the settings in "Adjust desktop size and position"
Like switching between scaling on the GPU and Display

Or what if you right click the game's exe and use the "Change high DPI settings" or "Disable Fullscreen Optimizations"
I'm afraid you don't understand. This is a passive 4k display. The output resolution must be 4k. But as you may guess, rendereng 4k stereo is too much, even for an rtx 2080. The only option is to use the scaling feature of 3Dmigoto, which I'm really greatful for.
In other words, yes, the scaling introduces the problem but it is necesary. I beleive the solution would be to adjust the mouse shaderfix to work with it, I just don't know how.

I tried adding using some formula, like cursor_window_x*2 , but it didn't do anything. Maybe it sould be entered a different way, i was hoping the creators of the mouse shader might know.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

[...
Last edited by 3DNovice on Sat Apr 06, 2024 7:09 pm, edited 2 times in total.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Last edited by 3DNovice on Sat Apr 06, 2024 7:09 pm, edited 2 times in total.
User avatar
Innuendo1231
Two Eyed Hopeful
Posts: 68
Joined: Mon Dec 12, 2011 2:01 pm

Re: 3Dmigoto mouse cursor position troubles

Post by Innuendo1231 »

Sorry, I already disabled the DPI scaling and disabled full screen optimizations.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Last edited by 3DNovice on Sat Apr 06, 2024 7:09 pm, edited 1 time in total.
3DNovice
Petrif-Eyed
Posts: 2398
Joined: Thu Mar 29, 2012 4:49 pm

Re: 3Dmigoto mouse cursor position troubles

Post by 3DNovice »

...
Post Reply

Return to “Nvidia 3D Vision Fixes, Solutions and Troubleshooting”