Cloudef / wlc

High-level Wayland compositor library
MIT License
331 stars 58 forks source link

Weird behavior when switching to/from VT when using scaled output #251

Open DonOregano opened 7 years ago

DonOregano commented 7 years ago

This is an issue that I tried to report to the Sway project, but they pointed me here. Below is the verbatim error report I made there, but since this is a different project I am not sure whether my information is complete. Please don't bite my head off :-). I will try to provide any info that you require.

Using Arch on a T470s with 2560x1440 display with scaling set to 2.

If I launch a Terminator terminal it is scaled correctly and the fonts look nice and crisp. If I switch to a VT and then back again the fonts look blurred.

If I launch an urxvt terminal before switching, it looks correct, with small fonts that have been scaled up. If I then switch to and from VT it still looks the same, but if I launch a new one it will use fonts that are double in size.

It appears to me that somehow the scaling is applied twice.

(I am using gdm to launch sway, don't know if that makes a difference. I can try this without gdm tonight to see if it makes a difference).

DonOregano commented 7 years ago

FYI I tried it without gdm, and I still get the same behaviour.

Pamelloes commented 7 years ago

I can confirm having this exact same behavior. Perhaps it is related to the issue I reported at #261. I will try to investigate further in the near future.