Created attachment 131105 [details]
When switching screen positions of dual monitors, there is a display issue. Steps to reproduce:
- Boot the system.
- Log into an Xterm session (to make things as clean as possible).
--> Screens are displayed by default as 1 left, 2 right. The xterm window is on screen 1.
- Use xrandr --right-of to switch the screens to put 1 right of 2 (i.e. 2 left, 1 right).
--> The xterm window remains displayed on screen 1, but the system acts as if the window were now displayed on screen 2. Through this, the mouse pointer position is displayed accurately. That means, in order for a click to register in the Xterm window, I have to click on the top left of screen 2, which looks blank.
Checking xev, all mouse pointer coordinates are displayed as if screen 2 were on the left.
Suspending the system and waking it back up fixes the problem.
Setup is FC24, 4.10 kernels (4.10.8,4.10.9,4.10.10 tried so far), video card is Nvidia Quadro K620.
This problem did not occur with the 4.9.13 kernel (which was the last one I used before the 4.10s).
Created attachment 131106 [details]
Give this commit a try :)
Sorry for the stupid question, but could not find this by googling.
How do I try this on an RPM-based system (FC24)? I guess I have to somehow recompile the nouveau module, right? Can you point to relevant instructions?
Guess it's something like this. But how do I integrate your code before building the module?
Sorry again. Haven't seriously tinkered with kernel modules in quite a while, and never on Fedora.