Fedora 39 on the Framework Laptop 13

Likely this is a feature of them using XWayland by default. Have a look here: How to run Electron apps under Linux's Wayland session like a pro - DEV Community

Jep, that was the same for me and it irritated me enough to disable it :slight_smile: (Settings → Power → Automatic Screen Brightness)

This works for me:

Probably because I’m using a weird layout : Bépo (afnor version) – it’s the French equivalent of Dvorak keyboard. It was proposed out of the box during the installation process, but can’t show the layout if I have a doubt about a key. Not really important. First time I hit the button, there was an error message that said there was an automatic report done, and now nothing shows.

In fact my main doubt about keyboard layout (I ordered the clear keyboard without any marking) is not about the usual keys, but about the Framework function keys (volume, brightness, scroll up and down, screen capture, etc).

Dont worry. its enabled by default. You could check service status by

sudo systemctl status power-profiles-daemon.service

this might help you

sudo grubby --update-kernel=ALL --args=“amdgpu.sg_display=0”

Also if you have 64gb ram, try switch in bios uma_auto to uma_gameoptimized

Just got my Batch 11 AMD 7840U in yesterday, installing Fedora 39 from the Framework instructions couldn’t have been easier :smiling_face:

Didn’t change anything related to battery or sleep, and suspended it overnight by closing the lid. Battery dropped just 4%, from 90% to 86%. Never had this much out-of-the-box success with Linux suspend before. Great work to everyone involved!

1 Like

Something else I’m not sure I should do, is using RPM Fusion to swap drivers.

I’ve followed the instructions here Howto/Multimedia - RPM Fusion

Including this:

sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld

I think if this is necesary to correctly use hardware and video acceleration, it should be included in Framework guides. I find it unfortunate that we have to resolve to hacks and external repositories to have video codecs and video acceleration working, just because of a single country (the USA), this has been resolved for a while in Ubuntu and Debian, but well…

4 Likes

I wish I could say this worked for me, but unfortunately GRUB still seems to be defaulting to the oldest kernel for me.

$ rpm -qa kernel
kernel-6.5.6-300.fc39.x86_64
kernel-6.6.4-200.fc39.x86_64
kernel-6.6.6-200.fc39.x86_64

$ uname -r
6.5.6-300.fc39.x86_64

$ cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=“$(sed ‘s, release .*$,g’ /etc/system-release)”
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=“console”
GRUB_CMDLINE_LINUX=“rhgb quiet”
GRUB_DISABLE_RECOVERY=“true”
GRUB_ENABLE_BLSCFG=true

$ cat /etc/sysconfig/kernel
UPDATEDEFAULT=yes
DEFAULTKERNEL=kernel-core

/etc/sysconfig/kernel also did not exist for me, so I had to create it as above, but I’m still booting to 6.5.6 by default, despite the fact that 6.6.6 is installed. Any help?

Next time the kernel is updated the default kernel should be set to the latest installed one. As far as I understand, the sysconfig file is only used when updating your system, so I think you just need some patience :slight_smile: . In the meantime you can manually change the default using grub-set-default.

Also, welcome to the community! :hugs:

1 Like

Thanks, I appreciate that! Unfortunately, it seems grub-set-default doesn’t work for me. I’m getting sudo: grub-set-default: command not found

That’s right. It’s grub2-set-default now, my bad :wink:

sudo grub2-set-default 0

worked! thank you so much!

1 Like

I think new kernel installs started updating grub properly after used grub2-set-default one time. Since then, I’ve installed the 6.6.6 kernel and a custom 6.6.7 kernel and both times the default grub entry has been updated accordingly.

Note, if you want to check what your default boot entry is before rebooting, you can use sudo grubby --default-kernel. Or,

$ sudo grep saved_entry /boot/grub2/grubenv
saved_entry=0

$ sudo grubby --info=0
index=0
kernel="/boot/vmlinuz-6.6.7-200.draconyx.fc39.x86_64"
args="ro rd.lvm.lv=fedora/root rd.luks.uuid=luks-c28dcd68-0d5b-4fdf-99eb-c5f1ebe6985b rhgb quiet"
root="/dev/mapper/fedora-root"
initrd="/boot/initramfs-6.6.7-200.draconyx.fc39.x86_64.img"
title="Fedora Linux (6.6.7-200.draconyx.fc39.x86_64) 39 (KDE Plasma)"
id="75bded104d8f4edeadf1215610bef176-6.6.7-200.draconyx.fc39.x86_64"

EDIT: I previously said it didn’t seem like /etc/sysconfig/kernel is used anymore, but have since found that it still is. This is how it all gets tied together. Maybe this will lead someone to figure out why it isn’t working right!

When you install a new kernel, the post transaction script runs /bin/kernel-install add 6.6.6-200.fc39.x86_64 /lib/modules/6.6.6-200.fc39.x86_64/vmlinuz. (You can see this in the output of rpm -q --scripts kernel-core-6.6.6-200.fc39.x86_64)

The man page for kernel-install says it executes scripts from /usr/lib/kernel/install.d. One script in this directory, 20-grub.install, is responsible for updating the default grub entry in certain cases.
It runs the grub2-get-kernel-settings command and evalutes it’s output. grub2-get-kernel-settings reads /etc/sysconfig/kernel if it exists, and if it contains UPDATEDEFAULT=yes, then it sets GRUB_UPDATE_DEFAULT_KERNEL=true.

Later in 20-grub.install, it checks if GRUB_UPDATE_DEFAULT_KERNEL=true (this may have been output by grub2-get-kernel-settings). If it is, it will run grub2-editenv - set "saved_entry=${NEWDEFAULT}". This updates the saved_entry setting in /boot/grub2/grubenv.

Note: 20-grub.install and grub2-get-kernel-settings are shell scripts so you can have a look at what they do easily enough. Also, it looks safe to run grub2-get-kernel-settings - it will just output some text to your terminal so you can see what settings it would use.

What I don’t quite understand, is why my system is updating the default grub entry when I install a kernel. I do not have a /etc/sysconfig/kernel file but on the last two installs (and since one-time using grub2-set-default) grub is being updated.

EDIT2: I just clued in, I used grub2-set-default 0, so now grubenv has saved_entry=0. When I install a new kernel, it is inserted at index 0 and becomes the default as a result. This doesn’t seem very reliable.

1 Like

hey guys,
i’ve been using fedora on my ryzen 7 and i’ve been enjoying my time with linux (first time linux user other than steam deck), but i keep getting pulled back to windows because of one simple thing – fractional scaling and how blurry all the apps get!
if i leave scaling at 100% everything is way too small, and if i set it to 200% it’s all way too big. so i am using 125% which is working well for me, but it makes almost every app look blurry and awful. it’s really ruining the experience for me.
as far as i’ve been able to research this seems to be an issue with gnome? is there a way to fix this so apps scale properly? it’s really killing the vibe for me. i’m enjoying gnome but maybe it’s not for me if this is an issue that can’t be solved.
any other linux recommendations that don’t have this problem? i really want to move away from windows for good.

Could you provide some ss? i am on fedora with 125% scaling… no any problem with blurry.

1 Like

Same here the laptop screen is at 125% and two 4K 27" screens at 150%. No blurry fonts, or interfaces. Everything is crisp.

here is a screenshot with teams, discord and brave. brave is crisp and fine, but only after changing a setting – after a clean install it’s blurry. discord and teams are blurry no matter what. even GIMP which i used to quickly scratch out names in my screenshot was blurry.
pretty much every app i use other than system apps are blurry.

edit: [F40] Fractional scaling in Fedora 40 Workstation makes some applications blurry - Fedora Discussion

apparently its apps that don’t support wayland natively.
i had to do this to get brave to not be blurry:

Chromium-based browsers (Chrome, Edge, etc) - Don’t support Wayland out of the box, but you can change it .

use firefox its great and wayland enabled by default =)
Yep, i could agree little blurry, just checked with mine discord flatpak. I hadn’t noticed that before.
A bit of nostalgy such fonts reminded me first MS cleartype font on CRT Displays in 90s) nowadays i only could see fonts blurrness while taking my self close to display.

There are some really not so bad FOSS Discord clients available. try one maybe.

Discord, and i other ms app i think too, broken by design to support wayland. so I don’t think it’s a good idea to expect the developer to implement it soon.
Maybe your solution could be is switch back scaling to 100, and adjust font size to suitable ones.

no thanks. brave works great for me. had major issues with firefox and video playback that i was never able to resolve.

i’ve tried a bunch of other discord options and they are all blurry, haven’t found one that isn’t.

i really like gnome, but i think its just not for me. the blurriness is too much.

check webcord or armcord, i remember one of those was with wayland.

i had tried webcord before, but not armcord. i just checked it out and sadly it’s blurry too. i also retried webcord and it’s blurry as well D:

ok, there is also one another trick you could try.
disable fractional scaling
logout - login
switch scaling to 200
then in gnome tweaks play with font scaling factor to down.
maybe thats would give you result u want.