Second monitor not detected

Forum rules
Before you post please read this
Post Reply
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Second monitor not detected

Post by Wadzim »

Greetings!

I have two monitors connected to the GPU. One via DVI-D and one via DisplayPort. On windows they work correctly both, but on linux DVI-D doesnt have signal.

How can I fix it?

inxi -Gx

Code: Select all

Graphics:
  Device-1: AMD Tonga PRO [Radeon R9 285/380] vendor: PC Partner
    driver: amdgpu v: kernel bus-ID: 01:00.0
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz
  OpenGL: renderer: AMD Radeon R9 380 Series (tonga LLVM 13.0.1 DRM 3.42
  5.15.0-48-generic)
    v: 4.6 Mesa 22.0.1 direct render: Yes
xrandr

Code: Select all

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  74.97    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.89  
   1280x960      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Fri Sep 30, 2022 4:24 pm
I have two monitors connected to the GPU. One via DVI-D and one via DisplayPort. On windows they work correctly both, but on linux DVI-D doesnt have signal.
Welcome to the forum, Wadzim.

The xrandr output indicates both monitors are being seen by the operating system.

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click Copy, and paste the results into a reply window here so we can see how Linux Mint views your hardware. From what little you posted, it does not seem you have your system updated. Please go to Update Manager and make sure to run the updates available there.

When reading xrandr output, *= current resolution and += preferred resolution. Both monitors are seen by the system.

Code: Select all

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  74.97    50.00    59.94  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

I made update and rebooted PC, 2nd monitor still doesnt work. Here system report:

Code: Select all

[code]
System:
  Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Gigabyte model: P67A-D3-B3 v: x.x serial: <superuser required> BIOS: Award
    v: F7 date: 03/21/2012
CPU:
  Info: quad core model: Intel Core i5-2500K bits: 64 type: MCP arch: Sandy Bridge rev: 7 cache:
    L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 3543 high: 3632 min/max: 1600/3700 cores: 1: 3568 2: 3632 3: 3500 4: 3472
    bogomips: 26478
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Tonga PRO [Radeon R9 285/380] vendor: PC Partner driver: amdgpu v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 ports: active: DP-1,DVI-D-2 empty: DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 1002:6939
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
  Monitor-1: DVI-D-1 mapped: DVI-D-2 pos: right model: BenQ VW2220 res: 1920x1080 dpi: 102
    diag: 547mm (21.5")
  Monitor-2: DisplayPort-0 mapped: DP-1 pos: primary,left model: Idek Iiyama PL2492H
    res: 1920x1080 dpi: 93 diag: 604mm (23.8")
  OpenGL: renderer: AMD Radeon R9 380 Series (tonga LLVM 13.0.1 DRM 3.42 5.15.0-48-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20
  Device-2: AMD Tonga HDMI Audio [Radeon R9 285/380] vendor: PC Partner driver: snd_hda_intel
    v: kernel pcie: speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aad8
  Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: ee00 bus-ID: 04:00.0 chip-ID: 10ec:8168
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.02 TiB used: 9.24 GiB (0.9%)
  ID-1: /dev/sda vendor: A-Data model: SU650 size: 111.79 GiB speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Toshiba model: HDWD110 size: 931.51 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 13.65 GiB used: 8.82 GiB (64.6%) fs: ext4 dev: /dev/sdb3
  ID-2: /boot/efi size: 92.5 MiB used: 9.6 MiB (10.4%) fs: vfat dev: /dev/sdb6
  ID-3: /home size: 18.16 GiB used: 429.2 MiB (2.3%) fs: ext4 dev: /dev/sdb5
Swap:
  ID-1: swap-1 type: file size: 662.2 MiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:0024
  Device-1: 1-1.5:3 info: A4Tech X-718BK Oscar Optical Gaming Mouse type: Mouse,Keyboard
    driver: hid-generic,usbhid rev: 1.1 speed: 12 Mb/s chip-ID: 09da:8090
  Device-2: 1-1.6:4 info: China Resource Semico USB Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid rev: 1.1 speed: 1.5 Mb/s chip-ID: 1a2c:0c23
  Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:0024
  Device-1: 2-1.6:3 info: Alcor Micro Flash Card Reader/Writer type: Mass Storage
    driver: usb-storage rev: 2.0 speed: 480 Mb/s chip-ID: 058f:6362
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Hub-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A gpu: amdgpu temp: 53.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 362
Repos:
  Packages: apt: 2136
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 258 Uptime: 2m Memory: 7.75 GiB used: 1.67 GiB (21.6%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
[/code]
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Fri Sep 30, 2022 4:24 pm
I have two monitors connected to the GPU. One via DVI-D and one via DisplayPort. On windows they work correctly both, but on linux DVI-D doesnt have signal.
Are you getting a message on the screen saying "no signal" or is the screen just blank?

The graphics section is showing two ports active and two monitors.
Graphics:
Device-1: AMD Tonga PRO [Radeon R9 285/380] vendor: PC Partner driver: amdgpu v: kernel pcie:
speed: 2.5 GT/s lanes: 1 ports: active: DP-1,DVI-D-2 empty: DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 1002:6939
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96
Monitor-1: DVI-D-1 mapped: DVI-D-2 pos: right model: BenQ VW2220 res: 1920x1080 dpi: 102
diag: 547mm (21.5")
Monitor-2: DisplayPort-0 mapped: DP-1 pos: primary,left model: Idek Iiyama PL2492H
res: 1920x1080 dpi: 93 diag: 604mm (23.8")

OpenGL: renderer: AMD Radeon R9 380 Series (tonga LLVM 13.0.1 DRM 3.42 5.15.0-48-generic)
v: 4.6 Mesa 22.0.5 direct render: Yes

If you open the Display app, what is showing there?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

they both work until the mint's loading screen appears (on the second I get "signal not detected")
Attachments
2.png
1.png
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

No ideas?
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Sat Oct 01, 2022 3:30 pm
No ideas?
Both monitors are showing in the Display app so both monitors are being detected by the operating system. That normally means the operating system is seeing and sending information to the monitor.

If you are getting a "signal not detected" on the monitor, that is often an issue with the monitor hardware or one of the monitor's settings.

By the way, we're all volunteers here. We work on issues as our schedules permit.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

Yes, I understand, and I am very grateful for the answers and the time spent. Thank you. How do you think installing ubuntu instead mint can help?
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Sat Oct 01, 2022 3:55 pm
How do you think installing ubuntu instead mint can help?
Linux Mint is based on Ubuntu so I would expect the results to be the same.

Have you tried adjusting settings on your monitor?

I will check later to see if your GPU has the same capabilities in Linux that it does in Windows.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

There is no special settings, I can toggle between d-sub and dvi, it doesnt help. So I tried something, I rebooted in recovery mode, and second monitor was working but like a mirror. I made notes in recovery mode.
inxi -Frz

Code: Select all

System:
  Kernel: 5.15.0-48-generic x86_64 bits: 64 Desktop: Cinnamon 5.4.12
    Distro: Linux Mint 21 Vanessa
Machine:
  Type: Desktop Mobo: Gigabyte model: P67A-D3-B3 v: x.x
    serial: <superuser required> BIOS: Award v: F7 date: 03/21/2012
CPU:
  Info: quad core model: Intel Core i5-2500K bits: 64 type: MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1644 min/max: 1600/3700 cores: 1: 1740 2: 1626 3: 1605
    4: 1605
Graphics:
  Device-1: AMD Tonga PRO [Radeon R9 285/380] driver: N/A
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: ati,vesa
    unloaded: fbdev,modesetting,radeon gpu: N/A resolution: 1920x1080
  OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.0.5
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel
  Device-2: AMD Tonga HDMI Audio [Radeon R9 285/380] driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.02 TiB used: 10.22 GiB (1.0%)
  ID-1: /dev/sda vendor: A-Data model: SU650 size: 111.79 GiB
  ID-2: /dev/sdb vendor: Toshiba model: HDWD110 size: 931.51 GiB
Partition:
  ID-1: / size: 13.65 GiB used: 8.85 GiB (64.8%) fs: ext4 dev: /dev/sdb3
  ID-2: /boot/efi size: 92.5 MiB used: 9.6 MiB (10.4%) fs: vfat
    dev: /dev/sdb6
  ID-3: /home size: 18.16 GiB used: 1.36 GiB (7.5%) fs: ext4 dev: /dev/sdb5
Swap:
  ID-1: swap-1 type: file size: 662.2 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 209 Uptime: 6m Memory: 7.75 GiB used: 1.04 GiB (13.4%)
  Shell: Bash inxi: 3.3.13

Code: Select all

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Sat Oct 01, 2022 4:46 pm
So I tried something, I rebooted in recovery mode, and second monitor was working but like a mirror.
There are no graphics drivers loaded when you boot in recovery mode.

Graphics:
Device-1: AMD Tonga PRO [Radeon R9 285/380] driver: N/A
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: ati,vesa
unloaded: fbdev,modesetting,radeon gpu: N/A resolution: 1920x1080
OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.0.5

Did you try mirror mode when booting normally? I can not tell for sure from the screenshots, but it appears you were using "Join Displays" mode.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

I did a search on R9 380 issues and found [Dualscreen] "No signal" issues when booting with DVI and HDMI screens both plugged in which is an older topic (and thus an older driver), but maybe the suggestions in it might help get around this issue.
[qutoe]putting the system to sleep then waking it up seems to restore normal functionality;

when booting with the HDMI cable unplugged, after plugging it in, screen switching is not buggy anymore.[/quote]While you do not have HDMI, you do have two different types of connections.

This is another older bug DVI-D monitor connected to DVI-I output not detected (regression from kernel 4.14.32 to kernel 4.16.0 using graphic core) where I think using the kernel parameter amdgpu.dc=0 worked, but I do not know the current default state of that parameter to know if it still works with the current kernel. However, we'll leave the info here in case that turns out to be something we might want to try. I suggest trying the two options from the first report to see if they help.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Wadzim
Level 1
Level 1
Posts: 8
Joined: Fri Sep 30, 2022 4:05 pm

Re: Second monitor not detected

Post by Wadzim »

I tried mirror mode, I tried hdmi cable, tried trick with sleep, tried to add in grub

Code: Select all

amdgpu.dc=0
with

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.dc=0"
, no results. And I tried to boot system with one monitor(benq), he works until mint's loading screen or in recovery mode. What did you mean about two options, maybe I misunderstood. The second link is difficult for me, didnt understand what to do
User avatar
roblm
Level 15
Level 15
Posts: 5502
Joined: Sun Feb 24, 2013 2:41 pm

Re: Second monitor not detected

Post by roblm »

Try using kernel parameters to force the monitor to work.

Use this command to open the grub file: xed admin:///etc/default/grub

Change this line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=DVI-D-2:e drm.edid_firmware=DVI-D-2:edid/1920x1080.bin"
Then update grub and reboot: sudo update-grub
User avatar
SMG
Level 23
Level 23
Posts: 18741
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Second monitor not detected

Post by SMG »

Wadzim wrote:
Sun Oct 02, 2022 3:53 am
What did you mean about two options, maybe I misunderstood. The second link is difficult for me, didnt understand what to do
You tried all the options. The second link was about modifying grub and using the kernel parameter.

See if roblm's suggestion works.

Your xrandr output shows the BenQ on DVI-D-1 so that might be another option to try if the DVI-D-2 does not work.
(Note: roblm's suggestion adds two kernel parameters to the existing ones in grub and both mention DVI-D-2.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Graphics Cards & Monitors”