Linux Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? (/showthread.php?tid=379100) |
Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - pgavk - 2024-10-10 I run Code: inxi -GS It's a Dell Inspiron 15 3525, my daily-driver laptop. It's a 15.6" screen, with Native Display Resolution == 1920 x 1080 I clean installed Kodi -- no prior install or data Code: flatpak info tv.kodi.Kodi When I launch Kodi, it launches in Windowed mode. The Kodi window display resolution -- all icons are huge, and the window's expanded way off screen. I can resize the window, but that doesn't survive restart. It returns to as above. If I "\" to get to full screen, all looks ok as long as I'm in full screen. In Code: Settings>Systen>Display I see Code: General If I click Resolution, the selection dialog opens, displaying only one resolution: 3490x1964p. Nothing else to select from. If I click on Whitelist, only one option's available: 3490x1964p 120.00Hz. I don't know where it's getting that resolution. How do I get Kodi to detect, or accept change to, the correct resolution for my laptop, i.e., the 1920x1080? RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - basilgello - 2024-10-10 Reminds me of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031975 : Wayland, windowed mode, and every subsequent Kodi launch doubles the perceived resolution. Can you check if your config is affected? If yes, we can fix both issues at once! RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - pgavk - 2024-10-10 (2024-10-10, 06:47)basilgello Wrote: Reminds me of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031975 : Wayland, windowed mode, and every subsequent Kodi launch doubles the perceived resolution.I run Fedora40 + KDE. X11 is pretty much a thing of the past here. Well, at least without jumping through a bunch of unsupported hoops ... and I haven't done that. On exec with x11, fails Code: flatpak run tv.kodi.Kodi --windowing=x11 whereas Code: flatpak run tv.kodi.Kodi launches. But has the windowed-size issue. Checking, in my KDE Display Config, I have Code: Resolution: 1920x1080 (16:9) Reducing the scaling to 100%, on Kodi launch (withOUT the `--windowing=X11`), I still have the windowed-size issue. RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - pgavk - 2024-10-10 @basilgello and, currently, Code: grep -E '\.screen"|\.resolution"|screenmode"|window\.width|window\.height' .var/app/tv.kodi.Kodi/data/userdata/guisettings.xml RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - basilgello - 2024-10-11 Yes, 110% is fractional scaling (aka 1.1). Congrats, you are the second person hitting this bug! Can you please post the Debug Log with GUI category enabled in the detailed toggle menu? RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - pgavk - 2024-10-11 @basilgello I don't see a 'GUI category' available -- I enabled "Windowing component". --> https://paste.kodi.tv/raw/zupopoduxe EDIT: @basilgello Is that what you're looking for? RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - Neo1973 - 2024-11-09 Windowed Kodi growing indefinitely on Wayland will be fixed with this PR: https://github.com/xbmc/xbmc/pull/25955 As for the "wrong" resolution from the tread starter: This in the correct resolution and how scaling on Wayland works. To scale on Wayland (without the fractional scale protocol) works by requesting a smaller window from the application and then the compositor scales it up the intended resolution and making it larger in the process. Because scaling up looks blurry the compositor can instead request the application to render double the size of the smaller resolution (confusing, I know...) and then it's scaled down instead being less blurry. So in OPs case the compositor asked Kodi to render at a logic resolution of 1745x982 but to double the resolution. RE: Kodi 21.1 on 1920x1080 laptop detects/uses *only* wrong 3490x1964p resolution ? - tpaniaki - 2024-11-21 If opened in full screen, Kodi spreads between my monitors (Qtile wayland - scaling factor 2). I have to toggle "windowed/full screen" to obtain a full screen Kodi in my primary monitor only. It is the aim of the PR to solve this, am I correct? |