linuxmint / mint20-beta

BETA Bug Squah Rush
20 stars 8 forks source link

Fractional scaling issue with proprietary Nvidia drivers #112

Closed malj closed 4 years ago

malj commented 4 years ago

https://github.com/linuxmint/cinnamon/issues/9369

mtwebster commented 4 years ago

Please check out this comment: https://github.com/linuxmint/cinnamon-control-center/pull/238#issuecomment-646734935

Any feedback is appreciated, Thanks

malj commented 4 years ago

The display menu changed after installing the files, but the problem is still present. Sorry for the bad picture, I had to take a photo of the screen because the screenshoot tool can't display the bottom and right bars.

DC2BD976-2D63-4539-B722-BF5DCDF6070D

mtwebster commented 4 years ago

If you run:

xrandr --output eDP-1-1 --scale 1.25x1.25

Does the same thing occur?

edit: using scale 1x1 with the same command will restore it.

malj commented 4 years ago

Yes, but reversed, as per my original bug report in the Cinnamon repo:

It seems that the viewport itself is being resized, instead of the content.

mtwebster commented 4 years ago

Ok sorry - I mainly wanted to compare our behavior against the 'reference' implementation of this, and it looks like the behavior is pretty much the same. I confirm it also on a laptop in nvidia mode (prime).

Yet using the same drivers with another machine and different card, it works fine.

malj commented 4 years ago

Np, glad to help. I linked a similar issue on Ubuntu 20.04 in the original report, I'm not sure if it has anything to with this, but it seems that Nvidia drivers are the underlying cause, as usual. Noveau works fine.

clefebvre commented 4 years ago

Hi,

This is upstream from us unfortunately and a limitation between xrandr and the GPU driver. What we'll do is make it clearer fractional scaling is ON and advertise it as an experimental feature with limitations.

malj commented 4 years ago

Thanks for the info, that's what I feared. This is my last Nvidia GPU for sure, after all the issues they've been causing with display servers on Linux for years.