I’m trying to set up my laptop along with an external monitor. I’m using xfce Fedora 34 with a Geforce RTX 3060 and AMD ryzen 5800h.
If i just install the nvidia drivers via Howto/NVIDIA - RPM Fusion, both screens work, but the gpu shows a constant usage of 20 or 40% when no applications are running, and I got issues with electron apps unless I pass the --disable-gpu flag. The nvidia-settings also doesn’t show any configuration options for the x server:
I tried running the nvidia-xserver
program, and after restarting the x server, the idle usage went to 0%, and the x server options in the nvidia settings appeared. However, only my second monitor works, connected to the GPU via HDMI. The laptop screen, connected to the integrated AMD graphics, stays dead.
For now I removed the created xorg.conf file from /etc/X11, so at least both screens work.
What do I need to add configure in the xorg.conf file for this setup to work?
-
lshw -c display
output:
*-display
description: VGA compatible controller
product: GA106M [GeForce RTX 3060 Mobile / Max-Q]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:fc0-fbf iomemory:fe0-fdf irq:95 memory:fb000000-fbffffff memory:fc00000000-fdffffffff memory:fe00000000-fe01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-display
description: VGA compatible controller
product: Cezanne
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:06:00.0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: driver=amdgpu latency=0
resources: iomemory:fe0-fdf iomemory:fe0-fdf irq:44 memory:fe10000000-fe1fffffff memory:fe20000000-fe201fffff ioport:d000(size=256) memory:fc500000-fc57ffff
-
xrandr -q
:
Screen 0: minimum 320 x 200, current 3840 x 1249, maximum 16384 x 16384
eDP connected 1920x1080+1920+169 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 240.00*+ 60.00
1680x1050 240.00
1280x1024 240.00
1440x900 240.00
1280x800 240.00
1280x720 240.00
1024x768 240.00
800x600 240.00
640x480 240.00
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+ 59.94 50.00
1680x1050 59.88
1440x900 59.90
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1024x768 119.99 100.00 75.03 70.07 60.00
800x600 119.97 100.00 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 120.01 99.99 75.00 72.81 59.94 59.93
DP-1-2 disconnected (normal left inverted right x axis y axis)