Laptop ändert Bildschirmausrichtung wenn er vom Strom getrennt wird

Hallo,

ich hab hier eine alte XFCE-Manjaro-Installation, welche von mir vor etwa 1,5 Jahren auf GNOME-Shell umgestellt wurde.
Bis dato nie solche Probleme feststellen können.
Sobald ich den Laptop jetzt vom Strom trenne, dann ändert sich die “Rotation” vom Bildschirm, auch die Maus/Tochpad ist dann “falsch”.
Hab mal ein Bild zur Veranschaulichung angehängt.

Leider bleibt die Ausrichtung dann auch nach erneutem Stromanschluss so und der Laptop wird unbenutzbar.
Ist das irgend eine neue Einstellung für Tablets die man deaktivieren muss?

Danke.

Hallo @FTtk :wink:

Überprüfe doch bitte mal, ob du Profile in den Anzeige-Einstellungen von XFCE hast.

Wie mache ich das denn?
Hab den Grossteil der XFCE-Sachen deinstalliert. Bin mir gar nicht sicher, ob ich mich noch damit einloggen könnte…

In den Anzeige-Einstellungen von Gnome taucht zumindest nichts dergleichen auf.

Sorry, dachte du hast XFCE installiert und GNOME nebenher, falsch gelesen. Auf Anhieb würde mir nicht einfallen, was das verursachen könnte. Könnte gut sein, dass dein Laptop einen Touchscreen hat und deshalb als Tablet-Derivat erkannt wird?

Nein, ist kein Touchscreen :slight_smile:
Mir gehen langsam auch die Ideen aus, warum das plötzlich auftritt. Und auch nur, wenn ich ihn vom Strom trenne im laufenden Betrieb.
Starten ohne Stromkabel funktioniert mit Akku wunderbar…

Zunächst schau doch einfach ob etwas protokoliert wird.

Starte:

journalctl --follow

und

journalctl --dmesg --follow

und wechsel mal zwischen AC und BC (Kabel und Akku).

bitte poste mal die standardinfo von

inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 6.1.29-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=affc8df3-117c-4537-a14f-bc96975e35a7 rw quiet
    cryptdevice=UUID=776f3d5e-7aab-4257-a19e-eabc6d05e2f5:luks-776f3d5e-7aab-4257-a19e-eabc6d05e2f5
    root=/dev/mapper/luks-776f3d5e-7aab-4257-a19e-eabc6d05e2f5
  Desktop: GNOME v: 43.5 tk: GTK v: 3.24.37 wm: gnome-shell dm: 1: GDM
    v: 44.0 2: LightDM v: 1.32.0 note: stopped Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: GP60 2PE v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-16GH v: REV:1.0 serial: <superuser required>
    BIOS: American Megatrends v: E16GHIMS.105 date: 03/18/2014
Battery:
  ID-1: BAT1 charge: 28.3 Wh (100.0%) condition: 28.3/48.8 Wh (57.9%)
    volts: 12.5 min: 11.1 model: MSI Corp. MS-16GH type: Unknown serial: N/A
    status: full
Memory:
  System RAM: available: 7.68 GiB used: 4.49 GiB (58.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-4200H bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1796 high: 2794 min/max: 800/3400 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2793 2: 800 3: 2794
    4: 800 bogomips: 22356
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
    rdtscp rep_good sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics
    vendor: Micro-Star MSI driver: i915 v: kernel arch: Gen-7.5
    process: Intel 22nm built: 2013 ports: active: eDP-1 empty: HDMI-A-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 840M] vendor: Micro-Star MSI driver: N/A
    alternate: nouveau, nvidia_drm, nvidia non-free: 530.xx+
    status: current (as of 2023-05) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: speed: Unknown lanes: 63 link-max:
    gen: 6 speed: 64 GT/s bus-ID: 01:00.0 chip-ID: 10de:1341 class-ID: 0302
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: intel unloaded: nvidia dri: i965
    gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: LG Display 0x0259 built: 2009 res: 1920x1080
    dpi: 141 gamma: 1.2 size: 345x194mm (13.58x7.64") diag: 396mm (15.6")
    ratio: 16:9 modes: 1920x1080
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.1.29-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol
Network:
  Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 1969:e091 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:08b3 class-ID: 0280
  IF: wlp5s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-7:2 chip-ID: 8087:07dc
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-6aff062d-7d19-480f-8105-178847269551 maj-min: 254:1
    type: LUKS dm: dm-1 size: 465.76 GiB
  Components:
  p-1: sda maj-min: 8:0 size: 465.76 GiB
  Device-2: luks-776f3d5e-7aab-4257-a19e-eabc6d05e2f5 maj-min: 254:0
    type: LUKS dm: dm-0 size: 102.99 GiB
  Components:
  p-1: sdb1 maj-min: 8:17 size: 102.99 GiB
  Device-3: luks-ecfc7650-1bf5-4e6b-8b89-58f4d38bf280 maj-min: 254:2
    type: LUKS dm: dm-2 size: 8.8 GiB
  Components:
  p-1: sdb2 maj-min: 8:18 size: 8.8 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 577.55 GiB used: 445.62 GiB (77.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS725050A7E630
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: B550
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 840 EVO 120GB mSATA
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: MBR
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GTA0N rev: 1.00
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 102.99 GiB size: 100.81 GiB (97.89%)
    used: 74.78 GiB (74.2%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-776f3d5e-7aab-4257-a19e-eabc6d05e2f5 label: N/A
    uuid: affc8df3-117c-4537-a14f-bc96975e35a7
  ID-2: /mnt/aaa17876-724f-4244-ac4b-ecfbe2663f93 raw-size: 465.76 GiB
    size: 457.38 GiB (98.20%) used: 370.84 GiB (81.1%) fs: ext4 dev: /dev/dm-1
    maj-min: 254:1 mapped: luks-6aff062d-7d19-480f-8105-178847269551
    label: Datenplatte uuid: aaa17876-724f-4244-ac4b-ecfbe2663f93
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/dm-2 maj-min: 254:2
    mapped: luks-ecfc7650-1bf5-4e6b-8b89-58f4d38bf280 size: 8.8 GiB fs: swap
    label: N/A uuid: d9c64f74-5080-4412-8f33-d4f4c7a84bee
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8008
    class-ID: 0900
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-7:2 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:07dc class-ID: e001
  Hub-6: 3-9:6 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 3-9.1:7 info: Logitech Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 046d:c077 class-ID: 0301
  Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 52.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 269 Uptime: 1h 2m wakeups: 1 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1848 pm: pacman pkgs: 1834 libs: 441 tools: gnome-software,pamac
  pm: flatpak pkgs: 14 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.27

okay 2 dinge die mir auffallen, du nutzt nur die interne cpu-grafik aber deine nvidia karte ist gar nicht konfiguriert. wäre eine überlegung wert die mal zu nutzen damit solltest du noch ein bisschen mehr performance bekommen. das nächste ist wayland. das ist imho immer gut für bugs die niemand kennt und niemand erwartet. ich bin auf plasma und kann dir bei gnome da leider nicht helfen aber du solltest statt wayland mal x11 probieren. hoffentlich kann da jemand hier weitere anleitungen geben ob und wie man das macht.

Wäre ein Versuch wert.

@FTtk Im Loginbildschirm unten links sollte ein Button erscheinen mit dem du wechseln kannst.

sicher @megavolt ? ich weiß das man unter plasma das paket “plasma-wayland-session” installieren muss aber wie verhält es sich bei gnome ?
wenn ich das richtig verstanden habe kann man das in gnome in den systemeinstellungen ändern und nach dem neustart ist es dann aktiv.

Nö, da er keinen Nvidia Treiber installiert hat, wird Wayland nicht geblockt. Auf Gnome ist Wayland immer aktiv, wenn möglich: Standard. Man kann aber jederzeit wechseln beim Login.

Ja, der Button ist da. Dort kann ich auch zwischen Flatpak, Gnome, Xfce (alle als “normal” und “unter xorg”) auswählen. Egal was ich anklicke, einloggen kann ich mich nur mit der Auswahl Gnome…

Wenn du mit “xorg” nicht einloggen kannst, dann vermute ich mal, dass du bei der XFCE Säuberung auch xorg entfernt hast. :man_shrugging:

pamac list | grep xorg

nebenbei: Man kann sich mit “Flatpak” anmelden. :rofl: Wie das?

So genau weiß ich das jetzt gar nicht mehr. Hatte da irgend ne Anleitung aus dem Netz befolgt, da meine Boot-SSD etwas klein ist :slight_smile:
Aber die SSD-Preise sind eh im Keller. Wird vielleicht mal Zeit für ne Größere und neu saubere Neuinstallation. Wobei mich da Tromjaro auch reizen würde so rein Optisch…

pamac list | grep xorg
xorg-fonts-encodings                     1.0.7-1                       extra           643,6 KB
xorg-iceauth                             1.0.9-1                       extra           41,7 KB
xorg-server                              21.1.8-1                      extra           3,9 MB
xorg-server-common                       21.1.8-1                      extra           130,1 KB
xorg-server-xvfb                         21.1.8-1                      extra           2,0 MB
xorg-setxkbmap                           1.3.3-2                       extra           34,3 KB
xorg-twm                                 1.0.12-1                      extra           204,7 KB
xorg-xauth                               1.1.2-1                       extra           57,3 KB
xorg-xhost                               1.0.9-1                       extra           28,4 KB
xorg-xinit                               1.4.2-1                       extra           36,5 KB
xorg-xkbcomp                             1.4.6-1                       extra           219,1 KB
xorg-xkill                               1.0.6-1                       extra           17,1 KB
xorg-xmodmap                             1.0.11-1                      extra           50,4 KB
xorg-xprop                               1.2.6-1                       extra           53,2 KB
xorg-xrandr                              1.5.2-1                       extra           71,2 KB
xorg-xrdb                                1.2.1-1                       extra           41,7 KB
xorg-xset                                1.2.5-1                       extra           40,8 KB
xorg-xwayland                            23.1.1-1                      extra           2,3 MB
xorgproto                                2022.2-1                      extra           1,5 MB

xorg ist da. Na ja, ich hab keine Ahnung, warum da nicht reinkommst. Ich habe keine Probleme.

gute idee, vielleicht auch noch 8GB RAM dazu aber mehr als 40-50€uronen würde ich in das system dann auch nicht mehr stecken.
tromjaro ? nie gehört aber ich bin auch aus der zeit des distro-hoppings raus. bringt meist nichts

Laut MSI Webseite sind eh nur 128GB SSD und 1TB HDD unterstützt.
Ah dann lebe ich mit dem Fehler und installiere irgendwann neu sofern mir mal langweilig ist…