惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
宝玉的分享
宝玉的分享
Jina AI
Jina AI
IT之家
IT之家
博客园 - Franky
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
雷峰网
雷峰网
WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
美团技术团队
S
SegmentFault 最新的问题
罗磊的独立博客
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
D
Docker
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
M
MIT News - Artificial intelligence

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
NVIDIA Driver Setup on Fedora 43 Workstation
KALPESH · 2026-04-25 · via DEV Community
Cover image for NVIDIA Driver Setup on Fedora 43 Workstation

KALPESH

RTX 3050 Mobile (Hybrid AMD + NVIDIA Laptop)

Reference Guide: Comprehensive-Wall28/Nvidia-Fedora-Guide


System Profile

Property Value
OS Fedora 43 Workstation
GPU (dGPU) NVIDIA GeForce RTX 3050 Mobile
GPU (iGPU) AMD Radeon Vega (Renoir)
LUKS Encryption ❌ None
Secure Boot ❌ Disabled
Driver Installed 580.142

Why the Freeze Happened

The freeze + screen dimming during use was caused by the default Nouveau open-source driver, which has poor power management on modern NVIDIA GPUs — especially on hybrid AMD+NVIDIA laptops.


The Fix: Install Proprietary NVIDIA Drivers

Step 1 — Update your system

sudo dnf update

Enter fullscreen mode Exit fullscreen mode

Step 2 — Enable RPM Fusion (provides NVIDIA drivers)

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

Enter fullscreen mode Exit fullscreen mode

Step 3 — Identify your GPU

lspci | grep -iE 'VGA|3D|nvidia'

Enter fullscreen mode Exit fullscreen mode

Step 4 — Install the driver (RTX 3050 = current driver)

sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda

Enter fullscreen mode Exit fullscreen mode

Step 5 — Watch the kernel module build in real time

⏳ This takes 5–10 minutes. Do NOT reboot until verified.

# Watch live build logs
journalctl --follow --grep=akmod

Enter fullscreen mode Exit fullscreen mode

Then in a separate terminal, keep checking every 2–3 minutes:

modinfo -F version nvidia

Enter fullscreen mode Exit fullscreen mode

✅ When you see a version number like 580.142 — the build is done. Safe to reboot.

❌ If it says Module nvidia not found — it's still building. Wait more.

Step 6 — Reboot

systemctl reboot

Enter fullscreen mode Exit fullscreen mode

Step 7 — Verify after reboot

nvidia-smi

Enter fullscreen mode Exit fullscreen mode

Expected output:

NVIDIA-SMI 580.142    Driver Version: 580.142    CUDA Version: 13.0
GeForce RTX 3050 ...

Enter fullscreen mode Exit fullscreen mode


⚠️ Hybrid GPU Note (AMD + NVIDIA Laptops)

Since this is a hybrid laptop (AMD iGPU + NVIDIA dGPU), extra power management steps are sometimes needed.

Do you need to do this?

In this case — NO. The nvidia-powerd service was automatically installed and enabled during the driver install. You can confirm with:

systemctl status nvidia-powerd

Enter fullscreen mode Exit fullscreen mode

It should show active (running).

When WOULD you need extra steps?

Only if you experience any of the following after the driver install:

  • Still freezing during use
  • NVIDIA GPU not being used for heavy tasks (games, ML workloads)
  • Battery draining abnormally fast ### If needed — PRIME GPU offload (optional)

To force a specific app to use the NVIDIA GPU:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia <your-app>

Enter fullscreen mode Exit fullscreen mode

Or to check which GPU is rendering your desktop:

glxinfo | grep "OpenGL renderer"

Enter fullscreen mode Exit fullscreen mode


Quick Diagnostic Commands

# Check Fedora variant
cat /etc/os-release

# Check LUKS encryption
lsblk -o NAME,TYPE,FSTYPE,MOUNTPOINT

# Check Secure Boot status
mokutil --sb-state

# Check GPU(s)
lspci | grep -iE 'VGA|3D|nvidia'

# Check driver version (before reboot)
modinfo -F version nvidia

# Check driver after reboot
nvidia-smi

# Check nvidia-powerd status
systemctl status nvidia-powerd

# Watch akmod build live
journalctl --follow --grep=akmod

Enter fullscreen mode Exit fullscreen mode


Common Problems

Problem Cause Fix
Module nvidia not found Still building Wait 5–10 min, retry modinfo
Black screen after reboot Wrong driver version Boot to TTY (CTRL+ALT+F2), run sudo dnf remove "*nvidia*"
nvidia-smi: command not found CUDA not installed sudo dnf install xorg-x11-drv-nvidia-cuda
"Nvidia modules failed to load" Secure Boot issue Disable Secure Boot or redo MOK enrollment
Still freezing after install Hybrid GPU power issue Check nvidia-powerd status, consider PRIME config