- Fedora Installation Guide
- How to Change Brightness on a Linux Laptop
- Reddit | Fedora Nvidia Secure Boot
-
Resize Windows Partition
Allocate 256GB (or any arbitrary size) for Fedora. -
Download Fedora Live ISO
Download Fedora 41 Live ISO from Fedora Workstation. -
Burn the ISO to a USB Drive
On Linux, use the following command:sudo cat fedora_xxx.iso > /dev/sda -
Choose Test Fedora. Look and play around, or choose Install
-
During installation. Do custom partitions and mount
/to your new partition. And mount/boot/EFIto the very first partition. -
Go ahead and install.
Use Bios Boot menu (press ESC at starting of PC) to choose Windows or Linux.
https://docs.fedoraproject.org/en-US/fedora/latest/getting-started If you use an NVIDIA GPU and are experiencing significant visual issues while running Fedora from a live USB, it could be that your GPU is not fully compatible with the FOSS Nouveau driver. One possible workaround for this situation is to do the following 3 steps:
- During the live USB boot process, hit e at the GRUB boot menu.
- Find the line that begins with linux, and add nouveau.modeset=0 to the end of that line.
- ress + x to resume the boot process. Follow the reddit guide above. Read especially on MOK (Machine Owner Kernel) signing.
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf upgrade --refresh
sudo dnf install kernel-devel
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cudasudo dnf copr enable lukenukem/asus-linux
sudo dnf update
sudo dnf install asusctl supergfxctl
sudo dnf update --refresh
sudo systemctl enable supergfxd.service
sudo dnf install asusctl-rog-guiIf asusctl or ROG Control Center only shows 'Static' as your Aura option:
sudo vim /usr/share/asusd/aura_support.ronAnd add an entry for your system:
(
device_name: "FA401WV",
product_id: "",
layout_name: "fa401wv",
basic_modes: [Static, Breathe, Pulse],
basic_zones: [],
advanced_type: None,
power_zones: [Keyboard],
),Update
sudo systemctl daemon-reload
sudo systemctl restart asusdSome of custom scripts to enable some features. Place these scripts in /usr/local/sbin:
- brightness_up.sh / brightness_down.sh to control screen brightness
- remap.sh to map f4 and f5 to asusctl for aura and profile change using evsieve
- ramap-keys.service to enable ramap as a service
- save_kb.sh / restore_kb.sh save or restore keyboard led state
If your keyboard led stays on when at sleep edit /usr/bin/nvidia-sleep.sh:
case "$1" in
suspend|hibernate)
/usr/local/sbin/save_kb.sh
x x x x
resume)
/usr/local/sbin/restore_kb.shIf the keys (f6 and f7) are not functioning:
snd dnf install acpid
Run acpi_listen to verify the events triggered when f6 and f7 are pressed
acpi_listen
Edit or add the file /etc/acpi/events/brightness_up
event=video/brightnessup BRTUP 00000086 00000000
action=/etc/acpi/actions/brightness_up.shEdit or add the file ```/etc/acpi/events/brightness_down```
event=video/brightnessdown BRTDN 00000087 00000000
action=/etc/acpi/actions/brightness_down.shCopy the brightness scripts to /etc/acpi/actions/. Reboot or restart acpid
Change gpu with these commands:
supergfxctl -m Integrated
supergfxctl -m HybridWarning
Switching to Integrated might mess up the drivers and you'll boot into a black screen. Just change TTY (CTRL+ALT+F4) and switch back to Hybrid
You'll have to build supergfxctl yourself. Follow the asus-linux guide. And you'll have to patch the code before compiling at around line 324 of src/pci_device.rs:
- let hwmon_n_opt = match dev_path.read_dir() {
- Ok(mut entries) => {
- entries.next()
- } Err(_e) => {
- // debug!("Error reading hwmon directory: {}", e.to_string());
- None // Continue with the assumption it's not a dGPU
- }
- };
+ let hwmon_n_opt = dev_path.read_dir().map_err(
+ |e| GfxError::from_io(e, dev_path)
+ )?.next();sudo systemctl mask nvidia-fallback.serviceNvidia often doesn't get updated correctly. Force akmods
sudo akmods --force --kernel "$(uname -r)"then
sudo dracut --forcesudo dnf remove xorg-x11-drv-nvidia\* akmod-nvidia\*
sudo dnf install akmod-nvidia-580xx xorg-x11-drv-nvidia-580xx-cudaLaptop instant-wakes after suspend
sudo grubby --update-kernel=ALL --args='gpiolib_acpi.ignore_interrupt=AMDI0030:00@24 acpi_backlight=vendor'Above show pin 24 will be ignored as it causes the instant wake - when monitor is attached.
To find the cause of instant wake:
sudo sh -c 'echo 1 > /sys/power/pm_debug_messages'
systemctl suspend
sudo dmesgIRQ 7 causes the wake
sudo dmesg | grep GPIOThis will return GPIO 24 is active
- This laptop doesn't support s3 (deep sleep). Stop trying to force s3 - just to fix instant wake.