Display brightness changing without touching it

I recently installed manjaro on my laptop(nvidia gtx960m, i7 6700hq and 16gb ram) and while I’m using it, sometimes the brightness of the screens goes up(like if I was changing it with hotkeys, but I’m not touching anything), more or less every 5 minutes. I have the laptop pluged-in, so I don’t think it could be something about battery save or similar

I had a similar thing happen on a Dell laptop, the F-keys were mapped backwards in the BIOS settings to accommodate some multi-media keys. On my laptop F11 and F12 is screen brightness decrease/increase. Everytime I went to open yakuake with F12, I instead increased the brightness and then had to hit META-F12 to open yakuake. As soon as I figured out what was happening, I opened the BIOS settings and there was a setting to change that behavior.

Otherwise, Power Management in the System Settings allows you to dim/increase brightness to a specified level on various battery settings. Check there. If something like that is not the case, I’m really at a loss.

I don’t think it’s something like that. In my laptop, the hotkeys for screen brightness is fn+up/down arrow, so it’s difficult to press it by mistake. And the screen brightness happens even without me using the keyboard xD it’s pretty strange, by example, sometimes I leave the room, and I’m used to always leave the screen brightness at minimum(so it’s full black). But sometimes when I get back to the room, the screen is bright again xDD it’s so strange. Btw, I had windows 10 installed on this same laptop a long time, and I’ve never seen anything similar

I’m having the exact same issue and I almost have those same specs. Are you on an MSI? I found If I go to power manager, there’s a switch to handle brightness keys. Your brightness won’t change on it’s own anymore, but you can’t use the hotkey brightness adjustment either, I’m hoping there is a solution where the keys still work.

This led me to try a few things in the bios (UEFI Settings). There is a switch on my MSI to swap Function and Windows keys. I swapped them and haven’t changed brightness in the past 15 minutes. Pretty sure it worked.

Edit: * took my brightness off of high and it changed on it’s own again. Spoke too soon, but it doesn’t seem to change while on High.

Did someone find a solution? i have the same problem.

Message in journalctl shows the brightness-change:

Dez 27 23:45:00 anon-manjaro dbus-daemon[465]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.27' (uid=1000 pid=1118 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Dez 27 23:45:00 anon-manjaro dbus-daemon[465]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Dez 27 23:46:10 anon-manjaro dbus-daemon[465]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.27' (uid=1000 pid=1118 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Dez 27 23:46:10 anon-manjaro dbus-daemon[465]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'

and i did not press the “brightness-buttons” at that time. But the same message appears if i do, so it is like the buttons get pressed.

Can someone help me, i dont know how to further debug this.
Some system-information:

System:
  Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=54231697-5e51-4616-a830-8707a2d002fa rw quiet
    resume=UUID=5ca77906-d9d7-47a9-a28d-7ae0d804c2a1 udev.log_priority=3
  Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: Alpha 15 A3DDK v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-16U6 v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends v: E16U6AMS.112 date: 07/23/2020
Battery:
  ID-1: BAT1 charge: 40.0 Wh (100.0%) condition: 40.0/53.4 Wh (74.8%)
    volts: 12.0 min: 10.9 model: MSI BIF0_9 type: Li-ion serial: N/A
    status: Full
Memory:
  RAM: total: 13.64 GiB used: 2.64 GiB (19.4%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx bits: 64
    type: MT MCP arch: Zen/Zen+ note: check family: 0x17 (23)
    model-id: 0x18 (24) stepping: 1 microcode: 0x8108109
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1336 high: 1851 min/max: 1400/2300 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1227 2: 1851
    3: 1369 4: 1197 5: 1260 6: 1237 7: 1223 8: 1326 bogomips: 36751
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
    cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
    fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm
    mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc
    nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse
    pse36 rapl rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap
    smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock
    syscall tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme
    vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves

USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Chicony HD Webcam type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b695
    class-ID: 0e02
  Hub-4: 3-2:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 3-2.1:4 info: Realtek RTS5129 Card Reader Controller
    type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
    interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129
    class-ID: ff00 serial: <filter>
  Device-2: 3-2.2:5 info: SteelSeries ApS SteelSeries KLC type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 300mA chip-ID: 1038:1122 class-ID: 0300
  Device-3: 3-2.4:6 info: IMC Networks Bluetooth Radio type: Bluetooth
    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
    chip-ID: 13d3:3549 class-ID: e001 serial: <filter>
  Hub-5: 4-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 67.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 64.0 C device: amdgpu temp: 46.0 C mem: 0.0 C
    fan: 65535 watts: 5.00
Info:
  Processes: 276 Uptime: 1h 36m wakeups: 1 Init: systemd v: 249
  tool: systemctl Compilers: gcc: N/A Packages: pacman: 1055 lib: 302
  Shell: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

Other possible useful information, when i press the Fn-Key dmesg and journalctl show this:

Dez 27 23:52:38 anon-manjaro kernel: atkbd serio0: Unknown key pressed (translated set 2, code 0x75 on isa0060/serio0).
Dez 27 23:52:38 anon-manjaro kernel: atkbd serio0: Use 'setkeycodes 75 <keycode>' to make it known.