#asahi · 2023-12-03 14:45
kidplayer666i do not know. i think gnome tries to force scaling while kde is chill about it#asahi · 2023-12-03 14:45
PaulFertserkidplayer666: do you mean wayland forces rescaling of all rootless Xwayland windows?#asahi · 2023-12-03 14:43
kidplayer666no idea. As i said, all i know is that it goes wack#asahi · 2023-12-03 14:43
PaulFertserkidplayer666: all vector fonts in X11 are scaled to provide the right size in "pt" (physical dimensions), and layouts are dynamic, so what exactly is missing?#asahi · 2023-12-03 14:41
kidplayer666iirc #asahi · 2023-12-03 14:40
kidplayer666PaulFertser: I am not qualified or knowlegable to know the specifics, but x11 does not support fractional scaling properly. KDE gets around this on wayland by just letting x11 apps apply their own scaling. Gnome tries to apply the scaling to the whole thing and it goes wack#asahi · 2023-12-03 14:40
PaulFertserI remember issues with very old apps which were built without "layouts"/"flexible containers" where the UI element positions were hardcoded in pixels, yes, but all the modern toolkits have dynamic layout, so, again, they're always fractionally scaled. So what's left, the UI icons?#asahi · 2023-12-03 14:39
PaulFertserkidplayer666: I've read the post about it but I'm not understanding the basics. Why is scaling of any kind is involved at all when all the fonts used are vector (OpenType/TTF etc)?#asahi · 2023-12-03 13:56
kidplayer666KDE is fine on that regard though#asahi · 2023-12-03 13:56
kidplayer666PaulFertser: i think it’s mainly on gnome where it’s still experimental, and while most of the desktop appears ok, anytbing x11 gets horribly grainy#asahi · 2023-12-03 12:33
PaulFertserydalton: https://pinoutguide.com/Video/hdmi_pinout.shtml DDC clock/data#asahi · 2023-12-03 12:33
svenyeah, hdmi has i2c lines. for DP it’s sent over the AUX channel iirc#asahi · 2023-12-03 12:31
ydaltonPaulFertser: over HDMI?#asahi · 2023-12-03 12:15
PaulFertserydalton: for the reference, it's basically just an EEPROM connected via I2C.#asahi · 2023-12-03 12:14
PaulFertserjanneg: ah, I see, if the modesetting is basically all outsourced to DCP firmware then no wonder.#asahi · 2023-12-03 12:13
PaulFertserfor icons etc?#asahi · 2023-12-03 12:13
PaulFertserbtw, can someone probably explain what the deal with all that fractional scaling issues really is? I was assuming that it doesn't concern text at all as most applications are using vector fonts and they're scaled automatically correctly (taking DPI into account) for very long time, and the problem is only with bitmap graphics of UI elements, they become too tiny? Is it still common to use bitmaps#asahi · 2023-12-03 12:08
jannegPaulFertser: I do not trust the common software layers to arrive at the same results as the dcp firmware and that might cause issues in the form of failing to modeset at all#asahi · 2023-12-03 12:06
jannegapparently dcp stopped reporting the display size there#asahi · 2023-12-03 12:06
ydaltonjanneg, PaulFertser: ah thanks! i always wondered how the GPUs got the modes from the monitors connected to them#asahi · 2023-12-03 12:05
janneghttps://gist.github.com/jannau/496ca6f9b5978207108295b1ec4a9cc9#asahi · 2023-12-03 12:04
PaulFertserydalton: but that's Xorg running on an SBC, so not really related to Asahi. I just wanted to give an example of EDID to show what's there available inside.#asahi · 2023-12-03 12:03
PaulFertserydalton: yes, plain Xorg.#asahi · 2023-12-03 12:03
ydaltonthat paste bin#asahi · 2023-12-03 12:03
PaulFertserI'm kind of surprised you do not trust the common software layers to do the right thing with the EDID info. But knowing how much you care about visual aspects I conclude you have some veryy valid reasons for that.#asahi · 2023-12-03 12:02
ydaltonwait, is that from the X server?#asahi · 2023-12-03 12:00
jannegdcp reports the size (although in centimeters and not in millimeter)#asahi · 2023-12-03 12:00
PaulFertserAnd information related to colour capabilities, gamma etc.#asahi · 2023-12-03 12:00
PaulFertserhttps://paste.debian.net/1300014/#asahi · 2023-12-03 11:58
PaulFertserAlso information about manufacturer and model, and physical size (needed to get DPI right)#asahi · 2023-12-03 11:58
svenpretty much #asahi · 2023-12-03 11:54
ydaltonEDID is basically data from a monitor showing what modes are possible?#asahi · 2023-12-03 11:52
jannegPaulFertser: not hooked in the expectation that it might cause trouble#asahi · 2023-12-03 11:46
PaulFertserHm, so there's no direct access to EDID data via dcp?#asahi · 2023-12-03 11:42
sventhere’s still something strange with the pipehandler vs. dwc3 vs. atcphy bringup though in my current tree :/#asahi · 2023-12-03 11:42
svenyeah, if atcphy isn’t coupled to dwc3 or acio it should be stable #asahi · 2023-12-03 11:33
jannegMichaelLong: interesting. can you still select 3840x2160 in kde's display settings? we only forward modes reported by the dcp firmware#asahi · 2023-12-03 11:31
jannegdp only mode on atc-phy3 of 14-/16-inch macbook pros worked so far without issue. so that part might avoided the usb curse somehow#asahi · 2023-12-03 10:54
ydaltonsven: thanks for the news!#asahi · 2023-12-03 10:52
svenaltmode will probably take a while longer. the bigger issues are still inside atcphy and typec/tipd, but we're slowly making progress there#asahi · 2023-12-03 10:44
ydaltonrebooting into the new kernel, i see the addition of the dcpext DT node, but it's disabled, as expected#asahi · 2023-12-03 10:31
MichaelLongcould be a one off issue, was not able to reproduce it when pluggin the hdmi a couple of times#asahi · 2023-12-03 10:28
MichaelLongPaulFertser, not sure how that worked but the displayed screen was cropped and blurred on the 2160p resolution. But I could easily select the correct resolution from the kscreen menu.#asahi · 2023-12-03 10:26
PaulFertserMichaelLong: a resolution higher than the display supports was selected and it still works? Something doesn't sound right there.#asahi · 2023-12-03 10:19
ydaltonkidplayer666: hopefully, but we'll have to wait as hdmi != dp alt mode#asahi · 2023-12-03 09:32
MichaelLonggreat it works for me! There was one minor kosmetic irritation: I'm using a LG 38WN95C-W display that has a resolution of 3840x1600, after pluging in KDE however selected 3840x2160. Probably an EDID issue? But great work really :)#asahi · 2023-12-03 09:19
kidplayer666MichaelLong: tell us the results#asahi · 2023-12-03 09:19
kidplayer666You’re welcome#asahi · 2023-12-03 09:19
kidplayer666lol#asahi · 2023-12-03 09:19
MichaelLongI'll have to test immediately :> thx