I’m new to Silverblue, but am very intrigued about its container-first approach. That’s why I’m trying it out. However I can’t manage to change the display brightness. When pressing the buttons on my keyboard or use the slider in the gnome UI, the slider appears and changes its intensity accordingly, but the display brightness stays the same.
I searched but could only find fixes for fedora workstation which did not work. Not much of a surprise as I interpret the display brightness to incorporate the OS since it is its role to control hardware, and this area works very differently between silverblue and other fedora flavors.
Can anyone help me out here please?
I’m running Fedora 34.20210423.n.0 on a Thinkpad X1 Yoga 1st generation. Any more details needed?
You might try upgrading the software, you are almost 6 months behind. 2 in 1s have had hit and miss support with Linux… could be a miss at your current kernel but perhaps fixed and a hit in the most recent.
Do you maybe think that if I search for similiar issues but on fedora workstation that their fixes potentially work the same way or at least similiarily on silverblue? My naive interpretation of these two distros is that their stack is fundamentally different, but perhaps with some luck the underlying fedora system (be it now traditional or a read-only image) is still similar enough so that fixes in one distro carry over to the other? I’ll give this approach a try.
Fedora Silverblue is based on the same version of Fedora Workstation, and has most of the same core components. The packages used on Workstation are the same ones used to build the Silverblue base commit.
This sounds like an error that was being reported on F35 rawhide about not being able to adjust media settings, but I could be wrong it may have been pipewire related in the one I am thinking of. Definitely seems like regression if it did work then now doesn’t.
Seconding @jakfrost here. Fedora Silverblue is really close to Fedora Workstation, mostly with a different update and package installation system but all of the other software included are 100% the same.
Could you link to the solutions you found and why they did not work? Sometimes the only thing they need is a small adaptation for Silverblue.
Thanks guys, I then try workstation approaches further and will report back.
@siosm Sorry, didn’t save the links and since I’m new to silverblue and even fedora I can’t even quite recall what I did because honestly I didn’t fully understand it… Once I got working solutions on this install I’ll do it all over again in a clean way to use this OS from a proper base.
I remember one major thing was about installing nvidia drivers via rpm-ostree.
I am currently reading into the docs about libostree and rpm-ostree since these are the mechanisms on modifying the “true OS” within silverblue, right?
Then, once I understand some basics of this, I will adapt fedora workstation approaches via ostree-stuff.
I also tried the oled gnome extension but that says it’s incompatible when I visit the website with a chromium browser installed via rpm-ostree (since I’ve read that integrates reasonably with gnome extensions) OLED Dimmer - GNOME Shell Extensions
And plenty of variations on those approaches.
I’ll think I’ll try again on the nvidia driver stuff, maybe I find other similar problems and fixes.
I would guess you will need to add your user to the group ‘video’ as per the link you provided. This can be accomplished by the following sudo usermod -aG video *username* (your username).
Had done this too, didn’t help. The file /etc/light/targets/sysfs/backlight/auto/minimum also doesn’t exist on my system, but I couldn’t find much yet on how to point ‘light’ to this file in another location (if it even exists).
I assume however that the nvidia driver issue still might be the more promising path, since drivers simply are closer to the hardware at hand.
Let’s do one thing at a time as properly installing the NVIDIA driver might solve your backlight issue. What errors are you getting when trying to install the NVIDIA drivers. Please provide both the commands / instructions you use and the full errors and log messages as otherwise it’s really hard to help you.
I’m embarrased to inform you guys, that I had no nvidia after all. Somehow I must have read this wrongly when I was handed this laptop. I’m verry sorry for this.
Finally I wired these together in order to increase the brightness in steps of 0.1 and added an if-condition checking that the value doesn’t pass 1 with this single command:
echo $(echo $(xrandr --verbose | awk '/Brightness/ { print $2; exit }')+0.1 | bc) | { read result; if (( $(echo "$result<=1" | bc -l) )) ; then xrandr --output eDP-1 --brightness $result ; fi ; }
And for decreasing:
echo $(echo $(xrandr --verbose | awk '/Brightness/ { print $2; exit }')-0.1 | bc) | { read result; if (( $(echo "$result>=0" | bc -l) )) ; then xrandr --output eDP-1 --brightness $result ; fi ; }
These two commands I then put in two scripts which I then call withs shortcuts on the ctrl+shift+F5 and ctrl+shift+F6 keys (because I couldn’t override the system’s ‘Increase Brightness’ key, will look into this at some point).
It’s not ideal, and hopefully I can get around to looking into doing this more properly; but for now this will do.