[problem help] Multi Display Monitor not working ater setup Deepin 23 RC2
Tofloor
poster avatar
t***[email protected]
deepin
2024-07-09 00:50
Author

Hi I need assistence related multi monitor,

My Hardware is lenovo ideapad gaming 3 (15ARH05) with the following GPU, Nvidia Geforce GTX 1650 Ti.

The Nvidia driver using Deepin setup, which the setup provide the check box to installed nvidia driver using the close source.
After finish Deepin setup and reboot, the multi monitor is not working.

Need help on the issue related multi display monitor.

Here's some information that might help to analyze to solve the issue:

Deepin 23 RC2
Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series
NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile

***** lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)] (rev c6)

***** xrandr --listmonitors
Monitors: 1
0: +*eDP 1920/344x1080/193+0+0 eDP

***** xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:05:00.0
Provider 1: id: 0x1f8 cap: 0x2, Sink Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-G0

***** xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 120.21*+ 120.00 96.00 72.03 60.00
1680x1050 120.21
1280x1024 120.21
1440x900 120.21
1280x800 120.21
1280x720 120.21
1024x768 120.21
800x600 120.21
640x480 120.21
HDMI-1-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 144.01 119.88 100.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93

I found out that while using live cd test Deeping, multi monitor is working in any mode (Duplicate, extend). However after setup the Deepin the multi monitor is not working.

Reply Favorite View the author
All Replies
Tinko
Moderator
2024-07-10 17:42
#1

Hi there,

Thank you for reaching out and providing detailed information about your multi-monitor issue.

Could you please provide the output of the following commands for further analysis:

  • nvidia-smi
  • sudo dmesg | grep nvidia
  • /var/log/Xorg.0.log

This additional information will help diagnose and solve the problem more effectively. Thank you for your patience and cooperation.

Best.

Reply View the author
t***[email protected]
deepin
2024-07-10 20:39
#2

Hi Tinko,
Thank you for the reply.
Here additional information.

nvidia-smi

image.png

sudo dmesg | grep nvidia
Verification successful
[ 10.079538] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 10.191397] nvidia-uvm: Loaded the UVM driver, major device number 508.
[ 3258.207070] audit: type=1400 audit(1720321118.151:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=46029 comm="apparmor_parser"
[ 3258.208151] audit: type=1400 audit(1720321118.151:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=46029 comm="apparmor_parser"
[ 3259.409764] audit: type=1400 audit(1720321119.355:6): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="nvidia_modprobe" pid=46163 comm="apparmor_parser"
[ 3259.468479] audit: type=1400 audit(1720321119.415:7): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="nvidia_modprobe//kmod" pid=46163 comm="apparmor_parser"

/var/log/Xorg.0.log

[Xorg.0.log.txt

](https://storage.deepin.org/thread/202407101244343556_Xorg.0.log.txt "附件(Attached)")

really appreciate it @tinko

Reply View the author
Tinko
Moderator
2024-07-11 15:52
#3

Hi there,

Thank you for providing the detailed information about your system. I am running a similar setup with V23 RC2 and dual monitor, though I only have one graphics card - Nvidia and the multi-monitor works OK for me, so I trust we'll be able to resolve this, so please bear with.

Could you please provide the following additional information?

  1. Current Xorg Configuration: Please share the contents of your /etc/X11/xorg.conf file, if it exists. You can do this by running the following command in the terminal and copying the output:

    cat /etc/X11/xorg.conf
    
  2. Check NVIDIA Configuration: Open the NVIDIA X Server Settings by typing nvidia-settings in the terminal and check if both monitors are detected. A screenshot of this window would be helpful.

  3. Logs for Errors: Check and provide any recent errors from the Xorg log by running:

    cat /var/log/Xorg.0.log | grep '(EE)'
    
  4. System Information: Additionally, please provide the output of the following command to get more details about your system's graphics setup:

    inxi -G
    

Once I have this, I can look at provide more targeted advice to resolve the issue.

Thank you for your cooperation and patience.

Best regards,

Reply View the author
t***[email protected]
deepin
2024-07-11 21:13
#4

Hi Tinko,

Thank you for your response and for sharing your experience with a similar setup. It's reassuring to know that the dual monitor setup works for you with just the Nvidia card. I'm hopeful that we can resolve this issue together.

Here the additional information :

  1. Current Xorg Configuration: there is no xorg.conf
    myuser@myhost:/etc/X11$ cat /etc/X11/xorg.conf
    cat: /etc/X11/xorg.conf: No such file or directory
    myuser@myhost:/etc/X11$ ls -d xorg

    xorg.conf.d
    *
  2. Check NVIDIA Configuration:

nvidia-settings.jpg

  1. Logs for Errors:
    myuser@myhost:~**$ cat /var/log/Xorg.0.log | grep '(EE)'**
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 9.458] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 10.625] (EE) Failed to load module "synaptics" (module does not exist, 0)
    [ 10.625] (EE) No input driver matching synaptics' [ 10.699] (EE) Failed to load module "synaptics" (module does not exist, 0) [ 10.699] (EE) No input driver matching synaptics'
    [ 10.764] (EE) libinput: MSFT0001:00 06CB:CE2D Touchpad: Failed to create a device for /dev/input/mouse1
    [ 10.764] (EE) PreInit returned 2 for "MSFT0001:00 06CB:CE2D Touchpad"
    [ 4464.382] (EE) NVIDIA(G0): Failed to configure Reverse PRIME on output HDMI-1-0.
    [ 31431.543] (EE) AMDGPU(0): drmmode_do_crtc_dpms cannot get last vblank counter
    [ 33786.467] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
    [ 34244.932] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
    [ 34262.986] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
    [ 34266.373] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
    [ 84461.033] (EE) event8 - Logitech Wireless Receiver Mouse: client bug: event processing lagging behind by 84ms, your system is too slow
    [106809.205] (EE) client bug: timer event8 debounce: scheduled expiry is in the past (-31ms), your system is too slow
    [106809.205] (EE) client bug: timer event8 debounce short: scheduled expiry is in the past (-44ms), your system is too slow
    [108369.227] (EE) NVIDIA(G0): Failed to configure Reverse PRIME on output HDMI-1-0.
    [161605.545] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
    [161605.551] (EE) event10 - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.

`

  1. System Information:
    myuser@myhost:$ inxi -G
    Graphics:
    Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia
    v: 535.161.08
    Device-2: AMD Renoir [Radeon RX Vega 6 ] driver: amdgpu v: kernel
    Device-3: Bison Integrated Camera driver: uvcvideo type: USB
    Display: x11 server: X.Org v: 1.21.1.10 with: Xwayland v: 23.2.6 driver:
    X: loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa
    dri: radeonsi gpu: amdgpu resolution: 1: N/A 2: 1920x1080120Hz
    API: OpenGL Message: Unable to show GL data. glxinfo is missing.

    I appreciate your support and assistance.

    Kind Regards

Reply View the author
Tinko
Moderator
2024-07-26 16:24
#5

Hi and huge apologies for the radio silence.

Thank you for providing the additional information. Based on the details you've shared, there are a few steps that can help resolve the multi-monitor issue:

Please note that these steps involve modifying system configurations, which could affect system boot. Since this is a Release Candidate (RC) version, it is not recommended for use on a production machine.

Ensure you have backups or you are okay to reinstall in case of boot issues.

Now let's try and fix this.

Xorg.conf

Since there is no xorg.conf file, let's create one to explicitly configure both GPUs and set up PRIME correctly. Open a terminal and run:

sudo nano /etc/X11/xorg.conf

Add the following configuration and save the file:

ection "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Screen 1 "amd" RightOf "nvidia"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "amd"
    Driver "amdgpu"
    BusID "PCI:5:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

Section "Screen"
    Identifier "amd"
    Device "amd"
EndSection

PRIME Configuration

Ensure PRIME is correctly configured for using the NVIDIA GPU. Run the following command to set NVIDIA as the primary GPU:

sudo prime-select nvidia
sudo reboot

GRUB Configuration

Add the nvidia-drm.modeset=1 parameter to ensure NVIDIA DRM modeset is enabled. Open a terminal and run:

sudo nano /etc/default/grub

Modify the GRUB_CMDLINE_LINUX_DEFAULT line to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Save the file and update GRUB:

sudo update-grub
sudo reboot

NVIDIA Settings

After rebooting, open the NVIDIA X Server Settings by typing the following command in the terminal:

nvidia-settings

Check if both monitors are detected. If the issue persists, please provide a screenshot of this window.

Thank you for your patience.

Best,
Tinko

Reply View the author