How can i change display controller

How can i change it to nvidia graphic card?

Fedora 37 KDE
Graphic card: NVIDIA GeForce GTX 1050 Ti

First, are you sure you know which display controller is in use? The information you posted doesn’t tell us which is in use.
I expect the list you selected that line from includes both display controllers (assuming you have the Nvidia one physically installed in your computer).

If I wildly misunderstood and you are asking the hardware question about how to plug in the new card, then you should ask that more clearly and probably in a different forum.

If that is a laptop (which a hardware expert might conclude or exclude from what you posted, but I can’t), it is likely about a design where both controllers connect to the same display and knowing/controlling which controller is active is non trivial. In that case, correct forum, but you need to clarify the question.

In a desktop with a physical add-in Nvidia card, if the monitor is plugged into the Nvidia card (rather than the motherboard display connector) then the BIOS should automatically enable the plug-in card (the converse might not be true. If the monitor were plugged into motherboard graphics, the BIOS might still select only the plug-in card).
If the BIOS selected the Nvidia card, the Fedora should have automatically selected it.
Your question implies some part of that didn’t happen, but we need a lot more info to know which part.

At the moment, I forget which lines from the output of the lsmod command give us the beginnings of understanding what is going on. But the whole output of that isn’t too long. You can paste it into a post here using the </> preformated text tool. Someone will be able to find the important lines without too much efort.

I am a beginner in Linux. so i dont know :sweat_smile:
I am using Desktop and two monitors are connected to cpu
1st monitor is connected to GPU through HDMI cable
2nd monitor is connected to motherboard

when run lspci command:

[crowre@fedora ~]$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)

there is no mention of hdmi and the display controller is set to intel integrated graphics. it should be set to NVIDIA Graphic card

when i run lsmod:

[crowre@fedora ~]$ lsmod
Module                  Size  Used by
squashfs               86016  6
loop                   36864  12
tls                   131072  0
uinput                 20480  0
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common   217088  1 snd_sof_pci_intel_cnl
soundwire_intel        57344  1 snd_sof_intel_hda_common
nft_objref             16384  1
nf_conntrack_netbios_ns    16384  1
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  6
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         20480  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 20480  16
nft_chain_nat          16384  3
nf_nat                 57344  1 nft_chain_nat
nf_conntrack          172032  4 nf_nat,nft_ct,nf_conntrack_netbios_ns,nf_conntrack_broadcast
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
soundwire_generic_allocation    16384  1 soundwire_intel
ip_set                 61440  0
soundwire_cadence      45056  1 soundwire_intel
nf_tables             282624  237 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_objref,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nvidia_drm             73728  70
nfnetlink              20480  3 nf_tables,ip_set
rfkill                 36864  3
nvidia_modeset       1220608  39 nvidia_drm
qrtr                   53248  4
nvidia_uvm           2904064  0
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
nvidia              56393728  3627 nvidia_uvm,nvidia_modeset
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               335872  2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_utils          20480  1 snd_sof
soundwire_bus         126976  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
sunrpc                700416  1
snd_soc_skl           217088  0
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_soc_acpi_intel_match    73728  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core          389120  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
intel_rapl_msr         20480  0
snd_compress           28672  1 snd_soc_core
snd_hda_codec_realtek   172032  1
intel_rapl_common      32768  1 intel_rapl_msr
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
ac97_bus               16384  1 snd_soc_core
intel_tcc_cooling      16384  0
snd_pcm_dmaengine      16384  1 snd_soc_core
x86_pkg_temp_thermal    20480  0
snd_hda_codec_hdmi     86016  2
intel_powerclamp       20480  0
snd_hda_intel          61440  4
snd_intel_dspcfg       36864  4 snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_skl
coretemp               20480  0
uvcvideo              163840  0
videobuf2_vmalloc      20480  1 uvcvideo
binfmt_misc            28672  1
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
kvm_intel             389120  0
snd_hda_codec         184320  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_usb_audio         397312  4
snd_usbmidi_lib        45056  1 snd_usb_audio
videobuf2_v4l2         40960  1 uvcvideo
snd_hda_core          114688  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
kvm                  1126400  1 kvm_intel
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
iTCO_wdt               16384  0
videodev              315392  3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
intel_pmc_bxt          16384  1 iTCO_wdt
snd_seq                94208  7 snd_seq_dummy
ee1004                 20480  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_seq_device         16384  2 snd_seq,snd_rawmidi
mc                     73728  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
i2c_i801               40960  0
snd_pcm               151552  13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
wmi_bmof               16384  0
pcspkr                 16384  0
joydev                 28672  0
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
irqbypass              16384  1 kvm
snd                   126976  34 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
rapl                   20480  0
mei_pxp                20480  0
ppdev                  24576  0
mei_hdcp               24576  0
soundcore              16384  1 snd
mei_me                 53248  2
gigabyte_wmi           20480  0
intel_cstate           20480  0
i2c_smbus              20480  1 i2c_i801
mei                   172032  5 mei_hdcp,mei_pxp,mei_me
intel_uncore          217088  0
intel_pch_thermal      20480  0
parport_pc             49152  0
parport                77824  2 parport_pc,ppdev
acpi_pad              184320  0
zram                   36864  2
i915                 3436544  6
drm_buddy              20480  1 i915
drm_display_helper    208896  1 i915
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  3
polyval_clmulni        16384  0
polyval_generic        16384  1 polyval_clmulni
cec                    81920  2 drm_display_helper,i915
ghash_clmulni_intel    16384  0
r8169                  98304  0
sha512_ssse3           53248  0
ttm                    94208  1 i915
video                  65536  2 i915,nvidia_modeset
wmi                    45056  3 video,gigabyte_wmi,wmi_bmof
pinctrl_cannonlake     36864  0
fuse                  176128  3

Monitors connected to both is an important (and complicating) fact that I wouldn’t have guessed from your first post, and a bit outside my recent experience. Hopefully someone else will help.

But that needs more information. Which monitor are you able to use in Linux (or are you able to use both)?

If only one is active, then you need to look in the display portion of system settings for whether it sees the other and whether the other can be enabled there. I’m using KDE, so if you made the more common Fedora choice of Gnome, I don’t know what the display settings GUI looks like, but I hope it is as obvious (once open) as it is in KDE.
For some Fedora installs you can open the Display portion of System Settings the way users of other computer systems would expect, from an obvious choice on the menu that you get by right clicking on the desktop. In other Fedora installs you need to find and then navigate through the top level of system settings to get there.

Once there, maybe your problem is solved or maybe you need to give us more info.

You are misunderstanding what lspci is telling you. Everything shown there is exactly as it should be for your situation. Nothing there hints at anything wrong. You still haven’t really told us that anything IS wrong. But even if something is wrong, nothing wrong is reported by lspci

I’m less confident about lsmod. It looks like what I’d expect if everything were OK and not like I’d expect if something were wrong. If it gives a hint of something wrong, I can’t see the hint. Maybe someone more expert can spot something. But my less-than-expert conclusion is that it also tells us nothing is wrong (which of course allows for something being wrong further downstream).

The output of lspci shows both adapters and lsmod shows the nvidia drivers are loaded and active. Thus it seems both monitors ‘should’ be functioning since you state one is plugged into the motherboard and the other into the nvidia card.

Are both monitors active?
Why do you state that the display controller is the intel (motherboard) controller?
This line from lsmod in particular shows both adapters are in use.

video                  65536  2 i915,nvidia_modeset

Please post the output of inxi -Fzxx (highlight the posted text then click the preformatted text tags </> button) so we can see the whole picture. Also post the output of dnf list installed '*nvidia*'.

Also describe exactly what is happening and what you expect that may be different.