Skip to main content

Desktop Setup

Windows boot missing after installing linux

  • Boot to windows 11 installation media
  • Shift F10
    • disk part
    list disk list vol
    identify diskpart list disk list disk
    list vol
    select vol X select FAT32 linux boot partition
      select vol 3 assign letter=S
      exit
      dir S:\EFI (verify contents) dir C:\Windows (verify windows contents) bcdboot C:\Windows /s S: /f UEFI (create boot files) dir S:\EFI (verify contents again) delete duplicate fedora boot entry
        boot back into fedora sudo efibootmgr -v (show boot entries) sudo efibootmgr -b 0003 -B (delete duplicate entry) bootctl status (bring up boot information)


        files
        dir S:\EFI
        verify sudo grub2-mkconfig -o /boot/grub2/grub.cfg generate grub config file
        grep menuentry /boot/grub2/grub.cfg
        verify (windows should be present) sudo nano /etc/default/grub
        GRUB_TIMEOUT=10
        GRUB_TIMEOUT_STYLE=menu

        sudo grub2-mkconfig -o /boot/grub2/grub.cfg

        regenerate grub config file

        bootctl status

        verify

        nano /etc/fstab

        //monty.nas/data  /mnt/data  cifs  credentials=/home/N/.smbcredentials,uid=1000,gid=1000,nofail,x-systemd.automount,_netdev 0 0
        //monty.nas/media  /mnt/media  cifs  credentials=/home/N/.smbcredentials,uid=1000,gid=1000,nofail,x-systemd.automount,_netdev 0 0


        chmod 600 ~/.smbcredentials


        Youtube in VLC

        grep -r codeready /etc/

        confirm the name for the next command

        "codeready-builder-for-rhel-10-x86_64-rpms"

        subscription-manager repos --enable codeready-builder-for-rhel-10-x86_64-rpms

        enable codeready linux builder repository

        dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm

        install EPEL

        dnf install vlc -y

        try installing a package

        dnf install python3-pip -y

        install python

        python3 -m pip install --user yt-dlp

        install pip via python (not yet ported from EPEL 9)

        python3 -m yt_dlp https://www.youtube.com/watch?v=l7tjgm_6LLk

        download youtube video via yt-dlp

        python3 -m yt_dlp "https://www.youtube.com/watch?v=l7tjgm_6LLk" -o - | vlc -

        play via vlc

        sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm

        install rpmfusion

        sudo dnf install -y --allowerasing ffmpeg ffmpeg-libs

        install ffmpeg
        --allowerasing to overwrite old files

        Fedora AMDGPU driver and Mesa are built into the kernel

        XFCE

        https:

        sudo nano //www.youtube.com/watch?v=4wfZI6C9Lrsetc/X11/xorg.conf.d/99-tearfree.conf
        section         make"OutputClass"
        Identifier      it look nice

        "AMD FreesyncGraphics"
        MatchDriver     Drivers

        "amdgpu"
        Driver          

        https://www.reddit.com/r/linuxmint/comments/1fo8lrr/why_mint/loqxn8e/

        "amdgpu"
        Option          

        Mutter"TearFree" Compositor"true"
        Option          

        "AsyncFlipSecondaries"

        On"true"
        Option          XFCE,"VariableRefresh" I"true"
        EndSection

        couldEnable vrr, adaptive sync, and disable ittearing with xfconf-query -c xfwm4 -p /general/use_compositing -s false, whichDisable wouldMutter giveCompositor me about 8%
        higher framerate in glxgears and fewer stutters. I don't remember what, if any, auto-disable rules there are.

        Copilot XFCE Fedora AMD System

        For your hardware (5700X3D + RX 7800 XT + 16 GB RAM), Fedora XFCE is actually a very good gaming choice. XFCE is lighter than KDE and GNOME, leaving a bit more RAM and CPU overhead available for games.

        The good news is that AMD GPUs are basically plug-and-play on Fedora because the AMDGPU driver and Mesa are built into the kernel. The most important gaming improvements are not XFCE-specific.

        What I'd do after installing Fedora XFCE
        1.

        Enable RPM Fusion

        This

        isthe single biggest thing most Fedora gamers need.

        Shell
        sudo dnf install \

        https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \

        https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

        Then update:

        Shell

        sudo dnf upgrade --refresh

        RPM

        Update Fusion providesSteam, codecs and other gaming packages.

        2. Install Steam from RPM Fusion
        Shell

        sudo dnf install steam
        sudo dnf install gamemode
        sudo dnf install mangohud
        Steam game launch option: mangohud gamemoderun %command%
        xrandr --props

        verify display settings

        Manyadaptive Fedora users recommend sticking close to stock Fedora plus RPM Fusion rather than chasing custom kernels and Mesa builds.sync

        3.tearing

        sudo dnf groupupdate multimedia install multimedia codecs sudo dnf swap ffmpeg-free ffmpeg --allowerasing swap Fedora's trimmed-down FFmpeg with the full version

        Disable display compositor via Window Manager Tweaks (may introduce input lag)

        Enable Resizable BAR (SAM)

        On your motherboard BIOS:

        Above 4G Decoding → Enabled
        Re-Size BAR Support → Enabled

        Your 7800 XT gains free performance from SAM/Resizable BAR.

        4. Install Gamemode
        Shell
        sudo dnf install gamemode

        Steam launch option:

        Plain Text
        gamemoderun %command%

        This temporarily switches the system to higher performance while gaming.

        5. Install MangoHud
        Shell
        sudo dnf install mangohud

        Steam launch option:

        Plain Text
        mangohud %command%

        Gives FPS, frame times, CPU and GPU utilisation overlay.

        6. Use Wayland if Available

        For your AMD GPU:

        Wayland generally works very well
        Lower tearing
        Better VRR/FreeSync support

        If the XFCE spin gives you an X11 session by default, that's fine too. Performance differences are tiny.

        7. Enable FreeSync

        For your Dell S2721DGF:

        Check:

        Shell
        xrandr --props

        Adaptive Sync should be available.

        Also enable:

        FreeSync in monitor OSD
        Adaptive Sync in Fedora display settings
        8. Install Multimedia Codecs
        Shell
        sudo dnf groupupdate multimedia

        (or the Fedora equivalent for your version)

        Helps with video playback and Proton compatibility.

        Google AI

        1. Enable Third-Party Repositories
        Fedora is notoriously strict about shipping proprietary codecs and software out-of-the-box. To easily get Steam and media codecs, make sure to Enable Third-Party Repositories during the initial setup wizard. [1, 2, 3, 4, 5]
        2. Install Native Steam
        Avoid using the Flatpak version of Steam on Fedora, as it can occasionally cause controller connection and file access issues. Instead, open your terminal and run:
        sudo dnf install steam [1]
        3. Install the Complete FFmpeg Package
        For unhindered in-game cutscenes and streaming, you must swap Fedora's trimmed-down FFmpeg with the full version. Run this swap command:
        sudo dnf swap ffmpeg-free ffmpeg --allowerasing [1]
        4. Enable Tear-Free Rendering for AMD
        To prevent screen tearing on an AMD GPU while gaming on the X11 display server, create a configuration file. Run the following command in your terminal:
        sudo nano /etc/X11/xorg.conf.d/99-tearfree.conf [1]
        Paste this exact text into the file, save it (Ctrl+O, then Enter), and exit (Ctrl+X):
        text

        Section "OutputClass"
            Identifier "AMD"
            MatchDriver "amdgpu"
            Driver "amdgpu"
            Option "TearFree" "true"
        EndSection
        

        Use code with caution.

        5. Disable XFCE Compositing (Optional)
        XFCE features a lightweight compositor that helps prevent desktop screen tearing, but it can sometimes hinder gaming frame times and introduce input lag. When playing demanding games, you can easily toggle it off by going to Settings > Window Manager Tweaks > Compositor and unchecking "Enable display compositing". [1, 2]
        For tips on how to get your gaming software and Proton layers configured flawlessly on Fedora: