On Mon, 19 Feb 2018 00:49:44 +0100 "Patrick Dupre" <pdupre@xxxxxxx> wrote: > > > > On Sun, 18 Feb 2018 11:43:35 +0100 > > "Patrick Dupre" <pdupre@xxxxxxx> wrote: > > > > > > Subject: Re: Dual screen > > > > > > > > Allegedly, on or about 17 February 2018, stan sent: > > > > > Using monitors with different resolutions and dot pitches > > > > > at the same time must play havoc with font selection. > > > > > > > > Modern monitors (LCDs, etc), only work at one resolution, their > > > > native ones. If you don't drive the pixels with a 1:1 ratio of > > > > graphics generation to actual display resolution, you get a > > > > smudge. Monitors should, automatically, get the right > > > > resolution, because they tell the computer what theirs is. > > > > Though some lie, or have broken data, or if you connect through > > > > some KVMs, that data isn't passed through. > > > > > > > > You can have two vastly different monitors, the only noticeable > > > > difference should be the size of the fonts (and graphics) on one > > > > monitor versus the other, *IF* you're using font sizing based > > > > on the number of pixels (which tends to be the case). But if > > > > you use point sizing, then 12 point text on one device should > > > > look the same as 12 point text on the other, points are an > > > > *absolute* size (in the same way as a 2 cm box should appear as > > > > 2 cm box, no matter what the display). > > > > > > > > Display cloning/mirroring, is a problem, because you're trying > > > > to generate the same data on two different medium. Independent > > > > dual screen, should be fine (that's what I was describing > > > > above). > > > > > > > > You can play with scaling, to magnify one display, and the > > > > graphics rendering should neatly handle the magnification > > > > (render it bigger, using more dots). But if you lie to the > > > > renderer about the display resolution, to get that effect, > > > > you're likely to get poor resolution results (render it bigger, > > > > stretching the dots). Linux is sadly lacking in letting you > > > > easily pick font and graphics sizing. > > > > > > > > Font rendering can be odd, thanks to smoothing or sharpening. > > > > For text, I prefer the idea of a font engine that generates > > > > text properly for the actual screen resolution. You notice in > > > > terminals the different between fonts which only ever use whole > > > > pixels, versus the ones that put in half contrast pixels trying > > > > to smooth the edges, particularly on small text. For > > > > terminals, try picking a font that's specifically intended for > > > > terminals. > > > > > > By default, I use > > > Window Titles: Cantarell Bold 11 > > > Interface: Cantarell Regular 11 > > > Documents: Sans Regular 11 > > > Minispace: Monospace Regular 11 > > > Hinting: Slight (I did not see any difference and switching to > > > full) Antialiasing: Grayscale > > > Scaling factor: 1 > > > > > > > Font rendering is a bastard to control. X, or Wayland, may > > > > have its own rules for general screen rendering of text. Your > > > > web browser may have its own independent scheme. The same > > > > probably applies for mail clients using the same engines as > > > > browsers (Firefox, Thunderbird, etc). > > > > > > > > And how are you connecting them? DVI or HDMI ought to be sharp > > > > and clear, with a 1:1 matching of generated graphics to display > > > > pixels. VGA has analogue signal which will often smear, as the > > > > pixel clock in the graphics card is not the same as pixel > > > > clocking in the monitor. > > > I tried several things but without real success. > > > > > > The motherboard has 2 ports, one VGA and one DVI. > > > The "old" monitor (1600x1200) is connected to the VGA and the > > > fonts are sharpe. The new monitor (LED/TV, 1920x1080) is HDMI and > > > it is connected to the DVI port by a cable (DVI -> HDMI). > > > > For the monitor that doesn't give you the nice results you want, try > > to let software do the job. So get a tool like both cvs and > > xrandr, if you don't have them already installed, and try the > > instructions on the page below for the monitor that does not work. > > > > Please note that this hopefully might work both for mini-DPI and > > HDMI connections. > > > > Please note also that this might not work on wayland: try X11 if you > > can ... > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1470845#c15 > > > > xrandr > Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 8192 x 8192 > HDMI-1 connected 1920x1080+1600+0 (normal left inverted right x axis > y axis) 609mm x 347mm what's this? your new TV screen? As I mention below: I miss your built in computer screen. Scroll down, please > 1366x768 59.79 + > 1920x1080 60.00 50.00 59.94* 30.00 25.00 > 24.00 29.97 23.98 1920x1080i 60.00 50.00 59.94 > 1280x720 60.00 50.00 59.94 > 1024x768 75.03 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 > 720x576 50.00 > 720x576i 50.00 > 720x480 60.00 59.94 > 720x480i 60.00 59.94 > 640x480 75.00 72.81 66.67 60.00 59.94 > 720x400 70.08 > DP-1 connected primary 1600x1200+0+0 (normal left inverted right x > axis y axis) 408mm x 306mm so this is your old monitor, right? > 1600x1200 60.00*+ > 1280x1024 75.02 60.02 > 1280x960 60.00 > 1152x864 75.00 > 1024x768 75.03 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 56.25 > 640x480 75.00 72.81 66.67 59.94 > 720x400 70.08 > > > The only bizarre thing that I see here are teh sizes: > This is correct: > DP-1 connected primary 1600x1200+0+0 (normal left inverted right x > axis y axis) 408mm x 306mm but > HDMI-1 connected 1920x1080+1600+0 (normal left inverted right x axis > y axis) 609mm x 347mm is not correct: > the dimensions are 520mm x 290mm > > I tried > xrandr --output DP-1 --auto --output HDMI-1 --mode 1920x1080 > --rotate normal --right-of DP-1 and > xrandr --output DP-1 --auto --output HDMI-1 --mode 1920x1080i > --rotate normal --right-of DP-1 but , I do not see differences. No. Please read the whole article on the bugzilla page I mentioned before: You need four commands to run for one connection, and you need to edit them (third and fourth command) depending on whether you try to connect a monitor via VGA, HDMI or (mini) display port. Let's try this: Connect *all* monitors, make sure your built computer screen is *not* switched off, run xrandr again, paste the output here, and *comment* the output, please. So I can see clearly see what is what: In your previous xrandr output I missed your built-in computer display screen ... See: this is the commented output of xrandr when a TV set is connected here via HDMI to my notebook: % xrandr Screen 0: minimum 320 x 200, current 3280 x 1080, maximum 8192 x 8192 eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm ### eDP-1 is the built-in computer monitor. 1920x1080 60.05*+ 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 800x600 60.00 60.32 56.25 700x525 59.98 640x512 60.02 640x480 60.00 59.94 512x384 60.00 400x300 60.32 56.34 320x240 60.05 HDMI-1 connected 1360x768+1920+0 (normal left inverted right x axis y axis) 580mm x 320mm #### HDMI-1 is the attached TV monitor 1360x768 60.02 + 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1920x1080i 60.00 60.00 50.00 59.94 1280x720 60.00 50.00 59.94 1024x768 60.00 800x600 60.32 720x576 50.00 720x576i 50.00 720x480 60.00 59.94 720x480i 60.00 59.94 640x480 60.00 59.94 1360x768_60.00 59.80* HDMI-2 disconnected (normal left inverted right x axis y axis) DisplayPort-1-0 disconnected (normal left inverted right x axis y axis) HDMI-1-2 disconnected (normal left inverted right x axis y axis) HDMI-1-3 disconnected (normal left inverted right x axis y axis) VGA-1-0 disconnected (normal left inverted right x axis y axis) -- Wolfgang Pfeiffer _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx