How i can install vga drivers

my os is fedora 30 xfce and my laptop is n5110
how i can install vga drivers and work together correctly
i have intel vga and nividia vga please help me to solve this problem

which driver do you want to use as primary, and could you tell us who made the laptop, hp, compaq, toshiba, or some other company? The model number is helpful, but to know what kind of drivers you need, the manufacturer of the laptop would also be helpful.

install rpmfusion repos and check this all commants in this post on facebook .
But NVIDIA will become the default VGA.

dell inspiron n5110 and i have 2 vga 1-nividia GF108M [Geforce GT 525M] and 2-intel Intel HD Graphics, HD Graphics 3000

what is the rpmfusion repos can do?

rpmfusion provide free and nonfree repository .

Free repository
Software that uses a free license, but is not accepted in Fedora for various reasons.
Example: video players…
Enable by installing rpmfusion-free-release package.

Nonfree repository
Software that uses a nonfree license, but is otherwise redistributable.
Example: Nvidia binary drivers
Enable by installing rpmfusion-nonfree-release package.

Read more

To install rpmfusion free and nonfree .


ok i installed it what i must do too

1-disable secureboot (if UEFI).

2-install last kernel with last kernel-devel.

sudo dnf install kernel kernel-devel kernel-headers

3-reboot and boot from last kernel.

4-check nvidia driver version compatible with your card (This Link only to check version compatible )

To Get All VGA Names On Your System Run.

lspci |grep VGA;lspci |grep 3D

5-install compatible driver version (to list all versions available).

sudo dnf repoquery xorg-x11-drv-nvidia*

Example :

sudo dnf install xorg-x11-drv-nvidia-390xx-390.116

6-recommend check if akmods service enabled or enabled it.

sudo systemctl status akmods.service
sudo systemctl enable akmods.service


WARNING (Only for optimus(intel/nvidia VGA) to Fix black screen problem)
Before reboot if you have optimus(intel/nvidia VGA) and you dont use fedora workstation (gdm gnome display manager ) .

For LightDM (mate xfce).

For sddm (kde).
add this lines to /etc/sddm/Xsetup.
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
sorry for my english.