No nvidia drivers = no correct resolution and blinking screen / nvidia drivers = hidpi bug

at the moment I’m not using the monitor at the resolution that makes it blink

xrandr output:

DVI-D-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
HDMI-1 connected primary 1920x1080+1368+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    60.00    50.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08```

If your VGA monitor is a 17" monitor (those don’t give sizes) then 1920x1080 is a good compromise, but 1400x1050 would be better:

https://upload.wikimedia.org/wikipedia/commons/6/63/Vector_Video_Standards.svg

If you’re interested we can go ahead or you just keep what you have already…

:grin:

on my left (VGA-1)W1943C 18,5’’ 1360 x 768 (runs better on 1368x768) @ 60Hz h 30 ~ 61 kHz v 56 ~ 75 Hz
right in front of me (HDMI-1) P2270HN 1920x1080 @ 60

both 16:9

I’m currently using the free driver with the secondary monitor in a 4: 3 resolution so that it doesn’t blink

Will it only support 1368x768 with nvidia drivers?
Is there a way to save the resolution setting (modeset) of the nvidia driver and use it on the free drive?
How is workaround to solve the dpi problem you said?

I don’t think your HDMI monitor is

What’s the real size???

So basically what you do is to look in the Video standards comparison chart and take resolutions that would give you the same size square on both monitors at the highest possible refresh rate and that’s it!

The solution is independent of graphics card / driver and gives the best *consistent user experience; (Yes, you don’t use both monitors at the highest resolution, but it’s more comfortable to work with until you can afford identical monitors)

:+1:

HDMI-1 (P2270HN) 48cmX27cm screen
VGA-1 (W1943C) 41cmX23,3cm screen if I’m not mistaken

The VGA screen is the limiting factor and has

  • 1024x768 60.00 Hz
  • 41cmX23,3cm
  • 16:9
  • 2.4dpmm

The HDMI screen has

  • 48cmX27cm
  • 16:9

So 1024/41*48=1199, so the following 2 resolutions on your HDMI screen are best when both monitors are standing next to one another:

  • 1280x800 59.91Hz
  • 1152x864 75.00Hz

Up to you to see which of those 2 feels best as there is exact match.

:+1:

I am very grateful for your attention. :blush:

But i am curious and didn’t understand exactly what’s going on, could you please explain to me? On Linux Mint Cinnamon with Nvidia’s proprietary drivers I can use the 2 monitors in their native resolution (I haven’t tested the Manjaro with Cinnamon yet).

Why can’t I change my secondary screen to a native resolution using KDE + Noveau?
For what reason if the two screens are at their native resolutions with the proprietary drivers the system breaks KDE composition?
Is it a problem with X? Video card drivers?
There is no way to make the system work by forcing a DPI or something?
I was a Linux Mint user previously and I loved using Manjaro, I intend to stay here xD But I would like to have my 2 screens in their native resolution (would even be inclined to buy a new video card if it solved the problem).

That’s what you’re doing right now and will also be doing when you use the resolutions I gave you above:

VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
HDMI-1 connected primary 1920x1080+1368+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  50.00    59.94    30.00    25.00    24.00    29.97    23.98  

These are their native resolutions, unless I don’t understand what you’re talking about. :thinking:

Please explain because whatever xrandr gives as output is native. Are you wanting to add custom resolutions???

:upside_down_face:

The situation is as follows:

If I use Windows or Linux Mint Cinnamon with proprietary Nvidia drivers the Samsung monitor remains at 1920x1080 but the LG monitor on my left changes to 1368x768 (the native resolution).

At the moment I have 2 choices: Continue with the perfect screen composition but with the monitor on the left in a broken resolution (both of them looks horrible outside the native resolution), or install the proprietary Nvidia driver and leave my monitor at 1368x768 and break the KDE screen composition.

Using those settings to force the dpi partially solve the problem (but not completely and some things like the login screen are broken, resized icons is horrible too).

I’ve tried using addmode to try to put the monitor on the left at its native resolution(1024x768>1368x768), it didn’t work with free driver (the proprietary driver already goes automatically).

I was wondering if there is a way to save the proprietary driver’s “modeset” settings for the secondary monitor to use with noveau or if there is a way to force the dpi or solve the broken composition problem on the proprietary driver.

This broken composition error seems to happen only with KDE (even in other distributions).

What I didn’t understand is why KDE works perfectly with noveau, however noveau does not recognize the resolution of my secondary screen correctly but if I install the proprietary driver the screen will switch to the native resolution but KDE will break.


setting fonts dpi to 96 + scale 125%

Which exact command?

What happens?

I think I partially understand your problem now. Don’t forget that nouveau is open source so this is probably a bug: if it detects a VGA port, it goes to VGA modes only instead of SVGA modes. Have you tried the standard framebuffer driver if you don’t game? (I.e. video-linux or video-modesetting instead of nouveau or nVidia?

:thinking:

cvt 1368x768
gtf 1368x768
xrandr --newmode
xrandr --addmode VGA-1…
the ones to set custom resolution and stuff

as in the image above, all elements start to flash and are badly sized.

The thing is… KDE with the noveau works flawlessly here! :drooling_face:

If I could save the timings / modeset used by the nvidia driver and use them just to keep the secondary monitor at its native resolution in the modeset-driver it would be very good.

edit:

Now that I have installed the proprietary driver the monitor is in its native resolution but KDE is still broken and I will probably have to reinstall the system again to resolve (if you zoom in on the screen elements, you can notice some flaws between them) …

My initial idea was to save the timings somewhere as it is now, reinstall the system without installing the proprietary drivers and just use the native resolution’s timings… I have no idea what this KDE incompatibility with nvidia might be, wayland :rofl:?

That’s good: you’re cot copying from a random website… (Sorry, was just checking)

It shouldn’t be!

What’s the output of

loginctl show-session $(loginctl | grep $USER | awk '{print $1}') --property Type

Your :eyes: are better than mine! I can’t see anything wrong!

Desculpe, but I’m throwing my hands in the air now.

:man_shrugging: :sob:

Type=x11

LMAOs2

Now i realized something… Isn’t just KDE interface but vlc too… Qt bug or something?

lmso

How do i set the real physical size of the screens? How do i get the “modeline”?

No wayland! :slight_smile:

Which Theme are you using? (Looks like a theme bug: try Breeze2) If that doesn’t resolve the issue: create a new user and log in there and see if it happens there too.

How to change to Wayland?

Any theme, and it’s not just the theme, vlc and gimp are broken too

same but no 75hz option here, if the global scale is 100% everything gets messed up like the screen above (too big). putting on 125% makes it smaller (yeah… i know)

Don’t! It’s rubbish! still under development!

Also Breeze2, the Manjaro theme?

How about that one?

:grin:

The whole screen, blinking and glitching, even with Breeze2. Vlc and Gimp too

ok

it happens :neutral_face:

  • when i log in the monitor is with the wrong resolution (1024x768)
  • The UI is bugging less but still bugging (fonts are just a bunch of squares and some elements still flick)
  • If i set the resolution to the native resolution the monitor stays with the resolution no problem
  • When i log in again with the monitor on 1368x768 the scale gets messsed up and the UI bugs just like on the original account

Nvidia drivers are bugging from the start but the moment the interface scales based on the 1368x768 resolution teverything gets fully messed up

There is a way to get this resolution timing and use it on noveau?

I’ve never had to use Nouveau as the proprietary drivers have always worked for me. I’m sorry, I’m giving up: No further bright ideas…