geckolinux / geckolinux-project

GeckoLinux bug tracker and documentation
https://geckolinux.github.io
209 stars 17 forks source link

Unable to change brightness via hotkeys #187

Closed yxinolija closed 3 years ago

yxinolija commented 3 years ago

Hi, as title says im unable to change brightness either on installed gecko plasma or live one. Pressing Fn+F12 or F11 doesnt do anything, i have to manually adjust from Energy Saving screen. Machine is a Lenovo Ideapad, OpenSUSE works fine.

Thanks for any suggestions.

geckolinux commented 3 years ago

Hi, which ISO did you try?

yxinolija commented 3 years ago

GeckoLinux_ROLLING_Plasma.x86_64-999.210102.0

yxinolija commented 3 years ago

And Linux Mint, OpenSUSE Tumbleweed, GeckoLinux Static just now.

geckolinux commented 3 years ago

@yxinolija Thanks, do those other editions with Plasma have the same issue?

yxinolija commented 3 years ago

Only in Gecko Rolling for some reason, the rest of distros are functional, Plasma or not.

geckolinux commented 3 years ago

@yxinolija Thanks for reporting this, I can confirm this behavior on my test laptop as well. There must be a "recommended" package that is not being installed that is needed for this functionality. I'll have to track it down. Any suggestions or tips about which package it is would be welcome.

yxinolija commented 3 years ago

I see. I'll see what I can find.

geckolinux commented 3 years ago

Thanks for the help. As a suggestion, maybe try comparing the list of installed packages in the current Tumbleweed live ISO with the GeckoLinux ISO.

yxinolija commented 3 years ago

when i WinMerged the lists of installed packages i found some not installed. i tried installing missing packages: _intel-media-driver, intel-vaapi-driver, librdrmintel1, ucode-intel, kernel-firmware-intel, acpica, cpupower, libvdpau-nouveau, Mesa-dri-nouveau with no changes.

Also tried creating 20-intel.conf from here, but it renders SDDM inactive(dead) with unable to display on vt7 or something. Deleting that file makes SDDM active again.

Kernel parameters _acpi_osi= , acpiosi=Linux didnt help either.

EDIT:

i tried changing global shortcuts to something else, doesnt do a thing. Only some shortcuts displayed moving brightness bar that its going from 100% and down but brightness was still the same value.

geckolinux commented 3 years ago

Thanks for the attempts. It's definitely a missing or included package that is causing the problem, because the Plasma Energy manager has the brightness slider and it works correctly, so it's not a kernel or ACPI issue.

geckolinux commented 3 years ago

OK, I found the problem, it wasn't a missing package, but rather the config file ~/.config/kglobalshortcutsrc . Try deleting that and it should fix it. I'll generate a new ISO with this fix ASAP, but unfortunately there's currently a blocking issue upstream: http://bugzilla.opensuse.org/show_bug.cgi?id=1181620

Thanks to @yxinolija for reporting this important issue.

yxinolija commented 3 years ago

Yeah, i forgot about that. No problem, glad i could help somehow.

geckolinux commented 3 years ago

Fixed in https://github.com/geckolinux/geckolinux-project/releases/tag/210221.999