Bug 509540 - Fresh install of Plasma gives X-Plus piccolo laptop incorrect screen orientation
Summary: Fresh install of Plasma gives X-Plus piccolo laptop incorrect screen orienta...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.80
Platform: KDE Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-16 00:47 UTC by William Ethridge
Modified: 2025-09-26 13:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
drm_info output for Piccolo Series81x mini laptop (192.19 KB, text/plain)
2025-09-26 12:25 UTC, William Ethridge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Ethridge 2025-09-16 00:47:23 UTC
SUMMARY
On a fresh install of KDE Linux, the orientation of the screen on this device is 90 degrees off. This can be corrected after login, but the initial login screen is always 90 degrees off.

STEPS TO REPRODUCE
1. Install KDE Linux on the X-Plus piccolo

OBSERVED RESULT
Screen is 90 degrees counterclockwise from what would make sense for a laptop orientation


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2025-09-15
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® N150
Memory: 12 GiB of RAM (11.4 GiB usable)
Graphics Processor: Intel® Graphics


ADDITIONAL INFORMATION
This laptop is a 2-in-1, but it seems to either not detect or not utilize any sensors for rotation. 

If any additional info or troubleshooting is needed, let me know. It just might take a bit, I work a lot for my day job.
Comment 1 William Ethridge 2025-09-16 00:48:44 UTC
for additional info, this is the device in question:
https://x-plus.store/products/n150-netbook
Comment 2 TraceyC 2025-09-16 16:52:26 UTC
Thanks for the bug report. Can you run the following right after login, when the rotation is incorrect, and then paste the output into this report? Thanks!

 kscreen-doctor -o

This seems potentially relaetd to bug 500124
Comment 3 William Ethridge 2025-09-17 02:21:35 UTC
Sure thing, here is the terminal output:
$ kscreen-doctor -o
Output: 1 DSI-1 eb67793c-b9da-4e89-be97-ca82ce7f3a2f
        enabled
        connected
        priority 1
        Panel
        replication source:0
        Modes:  1:1200x1920@52*!  2:1024x768@60 
        Geometry: 0,0 800x1280
        Scale: 1.5
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer accuracy
        Brightness control: supported, set to 95% and dimming to 100%
        Color resolution: unknown
        Allow EDR: never
        Sharpness control: unsupported
Comment 4 TraceyC 2025-09-22 19:42:06 UTC
Thanks for providing that. What's interesting is that I see it sees the screen is in its default rotation by this:

Rotation: 1

Can you also provide the output of that command after you correct the screen to be rotated correctly?
Comment 5 William Ethridge 2025-09-22 21:38:35 UTC
(In reply to TraceyC from comment #4)
> Thanks for providing that. What's interesting is that I see it sees the
> screen is in its default rotation by this:
> 
> Rotation: 1
> 
> Can you also provide the output of that command after you correct the screen
> to be rotated correctly?

Here is the output after manually setting the orientation to be upright on this laptop:

$ kscreen-doctor -o
Output: 1 DSI-1 eb67793c-b9da-4e89-be97-ca82ce7f3a2f
        enabled
        connected
        priority 1
        Panel
        replication source:0
        Modes:  1:1200x1920@52*!  2:1024x768@60 
        Geometry: 0,0 1280x800
        Scale: 1.5
        Rotation: 8
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer accuracy
        Brightness control: supported, set to 100% and dimming to 100%
        Color resolution: unknown
        Allow EDR: never
        Sharpness control: unsupported
Comment 6 TraceyC 2025-09-23 00:28:09 UTC
Thanks! I'll let the kwin developers take it from here.
Comment 7 Marco Martin 2025-09-23 10:56:51 UTC
The device is probably one of those which have a vertical tablet screen that's mounted 90 degrees, so the hardware is reporting the wrong orientation (for instance the steamdeck does the same) I'm not sure this can be autodetected on software side
Comment 8 William Ethridge 2025-09-23 13:33:49 UTC
(In reply to Marco Martin from comment #7)
> The device is probably one of those which have a vertical tablet screen
> that's mounted 90 degrees, so the hardware is reporting the wrong
> orientation (for instance the steamdeck does the same) I'm not sure this can
> be autodetected on software side

considering this lil guy has an 8 inch screen, it is absolutely a portrait-mode tablet screen. I'm not sure how helpful this info is, but I know that my PineTab 2 also has a portrait mode screen, and sometime last year it got fixed on that device. My bug report for that is id 494761

https://bugs.kde.org/show_bug.cgi?id=494761
Comment 9 Nate Graham 2025-09-23 16:49:53 UTC
Indeed, this may need an upstream fix from the vendor, or a quirk for it in the kernel.
Comment 10 William Ethridge 2025-09-23 20:33:17 UTC
(In reply to Nate Graham from comment #9)
> Indeed, this may need an upstream fix from the vendor, or a quirk for it in
> the kernel.

This laptop is from some small company Id never heard of until this year, X-Plus. I just revisited their site, they do not have a support page, only a forum for community support. They do have a "Contact us" web form I can submit, but I expect little. Want me to try anyway? I'm willing, I just don't know what specifically to ask of them.
Comment 11 Zamundaaa 2025-09-25 13:23:16 UTC
Please attach the output of drm_info
Comment 12 William Ethridge 2025-09-26 12:25:53 UTC
Created attachment 185292 [details]
drm_info output for Piccolo Series81x mini laptop
Comment 13 Zamundaaa 2025-09-26 13:47:40 UTC
> "panel orientation" (immutable): enum {Normal, Upside Down, Left Side Up, Right Side Up} = Normal
Yeah, the kernel needs a quirk for this. I think you can report this at https://gitlab.freedesktop.org/drm/i915/kernel/-/issues