You are not logged in.

#1 2023-03-21 20:16:42

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

[SOLVED]Monitor not recognised by any display server, but works in TTY

I bought a new GPU (2080s) a while ago. I'm now trying to once again connect my second monitor using one of the DP ports, and a dongle to convert it to HDMI (whereas my main monitor is connected via the one HDMI port that it has), and it refuses to be picked up by anything. I tried to enable early KMS, reinstalling the drivers, using a bootable ISO (Mint, because it doesn't include the nvidia drivers), other ports, other monitors, and nothing seems to work.

The only port that is recognised as connected in the /sys/class/drm/ files, is the HDMI one.

I'm guessing the display servers don't know what to do with the dongle's information, but I'm not sure why it would still work in the TTY.

I am running the proprietary drivers (but since it didn't work on the live ISO either, I don't think they're the problem).

Another potential clue as to what's going on is that the TTY will only work in 640x480, and negates my grub settings. (Thought that's just from my default settings, I haven't tried to get it higher)

Not sure what other information is relevant, hence the newbie corner smile

Solution: Dumped the EDID of the monitor and assigned it to the monitor by forcing that EDID in my bootloader with "drm.edid_firmware" and "video=[monitor]:e"

Last edited by JustAStrangeName (2023-03-23 19:31:18)

Offline

#2 2023-03-21 20:43:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

Post your https://wiki.archlinux.org/title/Xorg#General xorg log and the output of

xrandr -q
sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

Offline

#3 2023-03-21 21:39:17

seth
Member
Registered: 2012-09-03
Posts: 51,262

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

Ftr, in case the adapter really eats the output:
https://us.download.nvidia.com/XFree86/ … tions.html

Option "ConnectedMonitor" "string"

https://wiki.archlinux.org/title/Kernel … s_and_EDID

You may alo have to re-connect the device (the order/endpoint might matter) to re-initiate the handshake.

You can also enforce the output as enabled in a framebuffer console, https://www.kernel.org/doc/Documentation/fb/modedb.rst ("e" suffix)

Online

#4 2023-03-22 15:22:33

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

V1del wrote:

Post your https://wiki.archlinux.org/title/Xorg#General xorg log and the output of

xrandr -q
sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services

$HOME/.local/share/xorg/Xorg.0.log:
https://pastebin.com/bHgjswKA (I made a mistake in the filename on pastebin, oops)

Journalctl:
https://pastebin.com/sme3ED28

xrandr -q:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  59.99    59.94    50.00
   1680x1050     59.95
   1600x1200     60.00
   1440x900      59.89
   1366x768      59.79
   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
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

As far as I can see, it looks like it isn't detecting it at all...

I wasn't sure whether or not it's appropriate to put long log files in code blocks, and since you put the link for the wiki page for pastebin, I put the longer ones on pastebin smile

Offline

#5 2023-03-22 15:31:05

seth
Member
Registered: 2012-09-03
Posts: 51,262

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

See the 1st link below.
pastebin.com specifically isn't a good idea.

[    17.746] (==) Using config file: "/etc/X11/xorg.conf"

I don't think it's the cause, but remove that file.

Does the output show up when you re-plug it?

Online

#6 2023-03-22 15:42:50

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

seth wrote:

See the 1st link below.
pastebin.com specifically isn't a good idea.

[    17.746] (==) Using config file: "/etc/X11/xorg.conf"

I don't think it's the cause, but remove that file.

Does the output show up when you re-plug it?

Oops. I did read that article, but it seems I didn't read carefully enough. Thanks for telling me.


Removing my Xorg.conf and replugging didn't do anything. Rebooting after didn't either.

Currently looking into how to do the whole forcing a specific EDID thing, so I'll report on that in a moment.

Offline

#7 2023-03-22 16:07:02

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

seth wrote:

Ftr, in case the adapter really eats the output:
https://us.download.nvidia.com/XFree86/ … tions.html

Option "ConnectedMonitor" "string"

https://wiki.archlinux.org/title/Kernel … s_and_EDID

You may alo have to re-connect the device (the order/endpoint might matter) to re-initiate the handshake.

You can also enforce the output as enabled in a framebuffer console, https://www.kernel.org/doc/Documentation/fb/modedb.rst ("e" suffix)

(I have the DP>HDMI in the 4th port, which should correspond with DP-2 and DFP-3)

Putting

Option "ConnectedMonitor" "DFP-2, DFP-3"

In the device section of my /etc/X11/xorg.conf didn't do anything.
Correction (Edit): ConnectedMonitor doesn't support two inputs. Just using "DFP-3" simply gave me two black screens, which makes sense, since it's trying to display only on my secondary monitor.


Unfortunately, adding

video=DP-2:e

To my boot parameters didn't seem to have any effect.

They didn't do anything if I had them simultaneously either.

As for the EDID:
I added

drm.edid_firmware=edid/1920x1080.bin

To my boot parameters, and it didn't do anything either.

I also tried:

drm.edid_firmware=DP-2:edid/1920x1080.bin

and

drm.edid_firmware=edid/1920x1080.bin video=DP-2:e

All to no avail

Last edited by JustAStrangeName (2023-03-22 17:42:33)

Offline

#8 2023-03-22 20:17:46

seth
Member
Registered: 2012-09-03
Posts: 51,262

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

Correction (Edit): ConnectedMonitor doesn't support two inputs.

That's not correct.

nvidia wrote:

if using multiple display devices, this option may be a comma-separated list of display devices; e.g.: "CRT, CRT" or "CRT, DFP".

As for the EDID:

Does the edid show up in /sys/class/drm/card0-DP-2/edid ?
https://aur.archlinux.org/packages/edid-decode-git

Did you try whether the adapter works w/ the other monitor (and the currently one shows up on HDMI)?

Online

#9 2023-03-22 21:20:32

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

seth wrote:

Correction (Edit): ConnectedMonitor doesn't support two inputs.

That's not correct.

I'm not doing a great job at reading properly... My bad. Regardless, it doesn't help with this.

seth wrote:

Does the edid show up in /sys/class/drm/card0-DP-2/edid ?

Yes it does. Of course it's the default 1920x1080 one, so it's not very interesting, but I'll paste it here in a second
Edit: A second has gone by (different computers)

edid-decode (hex):

00 ff ff ff ff ff ff 00 31 d8 00 00 00 00 00 00
05 16 01 03 6d 32 1c 78 ea 5e c0 a4 59 4a 98 25
20 50 54 00 00 00 d1 c0 01 01 01 01 01 01 01 01
01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 f4 19 11 00 00 1e 00 00 00 ff 00 4c 69 6e
75 78 20 23 30 0a 20 20 20 20 00 00 00 fd 00 3b
3d 42 44 0f 00 0a 20 20 20 20 20 20 00 00 00 fc
00 4c 69 6e 75 78 20 46 48 44 0a 20 20 20 00 05

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: LNX
    Model: 0
    Made in: week 5 of 2012
  Basic Display Parameters & Features:
    Analog display
    Signal Level Standard: 0.700 : 0.000 : 0.700 V p-p
    Blank level equals black level
    Sync: Separate Composite Serration
    Maximum image size: 50 cm x 28 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6416, 0.3486
    Green: 0.2919, 0.5957
    Blue : 0.1474, 0.1250
    White: 0.3125, 0.3281
  Established Timings I & II: none
  Standard Timings:
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (500 mm x 281 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    Display Product Serial Number: 'Linux #0'
    Display Range Limits:
      Monitor ranges (GTF): 59-61 Hz V, 66-68 kHz H, max dotclock 150 MHz
    Display Product Name: 'Linux FHD'
Checksum: 0x05
seth wrote:

Did you try whether the adapter works w/ the other monitor (and the currently one shows up on HDMI)?

Yeah. Exactly the same behaviour, so it's not the monitor.

Last edited by JustAStrangeName (2023-03-22 21:21:18)

Offline

#10 2023-03-23 06:43:42

seth
Member
Registered: 2012-09-03
Posts: 51,262

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

No, my money would be on the adapter.
When you tried to re-plug it, how exactly did you go about that (because it might matter)
At the monitor, the adapter (which part) or the the GPU?

Online

#11 2023-03-23 19:14:56

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

seth wrote:

No, my money would be on the adapter.
When you tried to re-plug it, how exactly did you go about that (because it might matter)
At the monitor, the adapter (which part) or the the GPU?

All three. None worked.

I'm gonna dump the EDID of the working monitor and see if I'll get that one to work on the adapter now.

Offline

#12 2023-03-23 19:27:37

JustAStrangeName
Member
Registered: 2023-03-21
Posts: 7

Re: [SOLVED]Monitor not recognised by any display server, but works in TTY

I'm gonna dump the EDID of the working monitor and see if I'll get that one to work on the adapter now.

This worked. The default EDID didn't work, but the dumped one does.

Thanks a lot for the help, seth! big_smile

Offline

Board footer

Powered by FluxBB