Author Topic: Trying to get Dell Precision M4800 to work With Monitor over HDMI  (Read 576 times)

This laptop with Debian 10 installed works fine on its own, and the monitor works fine with another Debian machine (running 9).

The video and audio related output of lspci -v:
Code: [Select]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X] (prog-if 00 [VGA controller])
Subsystem: Dell FirePro M5100
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at f7e40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] #15
Capabilities: [270] #19
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
Subsystem: Dell Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at f7e60000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

and lshw -c video shows:

Code: [Select]
root@newdelldebian:/home/martin# lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Venus XT [Radeon HD 8870M / R9 M270X/M370X]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:31 memory:e0000000-efffffff memory:f7e00000-f7e3ffff ioport:e000(size=256) memory:f7e40000-f7e5ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:30 memory:f5800000-f5bfffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff

The command  xrandr gives:

Code: [Select]
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.04*+  60.01    59.97    59.96    40.03    59.93 
   1680x1050     59.95    59.88 
   1600x1024     60.17 
   1400x1050     59.98 
   1600x900      59.99    59.94    59.95    59.82 
   1280x1024     60.02 
   1440x900      59.89 
   1400x900      59.96    59.88 
   1280x960      60.00 
   1440x810      60.00    59.97 
   1368x768      59.88    59.85 
   1360x768      59.80    59.96 
   1280x800      59.99    59.97    59.81    59.91 
   1152x864      60.00 
   1280x720      60.00    59.99    59.86    59.74 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   1024x576      59.95    59.96    59.90    59.82 
   960x600       59.93    60.00 
   960x540       59.96    59.99    59.63    59.82 
   800x600       60.00    60.32    56.25 
   840x525       60.01    59.88 
   864x486       59.92    59.57 
   800x512       60.17 
   700x525       59.98 
   800x450       59.95    59.82 
   640x512       60.02 
   720x450       59.89 
   700x450       59.96    59.88 
   640x480       60.00    59.94 
   720x405       59.51    58.99 
   684x384       59.88    59.85 
   680x384       59.80    59.96 
   640x400       59.88    59.98 
   576x432       60.06 
   640x360       59.86    59.83    59.84    59.32 
   512x384       60.00 
   512x288       60.00    59.92 
   480x270       59.63    59.82 
   400x300       60.32    56.34 
   432x243       59.92    59.57 
   320x240       60.05 
   360x202       59.51    59.13 
   320x180       59.84    59.32 
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)

What might be my next steps? 

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #1 on: January 25, 2021, 03:32:33 pm »
The first thing to try is:

  xrandr --output HDMI-1 --auto

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #2 on: January 26, 2021, 01:12:29 pm »
The first thing to try is:

  xrandr --output HDMI-1 --auto

In the first instance, nothing happens.

I then tried rebooting.  The monitor connected to the HDMI outlet appeared to respond at first, showing one line of the messages which appear on starting Debian, then seemed to switch off again (monitor's on/off neon changes from orange to green when monitor receiving signals and working).

Looked through output of dmesg looking for anything apparently related to video.  Only section I found (but that may not be saying much!) was:

Code: [Select]
[    3.841138] [drm] Radeon Display Connectors
[    3.841141] [drm] Connector 0:
[    3.841142] [drm]   DP-2
[    3.841143] [drm]   HPD1
[    3.841145] [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[    3.841146] [drm]   Encoders:
[    3.841147] [drm]     DFP1: INTERNAL_UNIPHY1
[    3.841148] [drm] Connector 1:
[    3.841149] [drm]   DP-3
[    3.841149] [drm]   HPD2
[    3.841151] [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[    3.841152] [drm]   Encoders:
[    3.841153] [drm]     DFP2: INTERNAL_UNIPHY1
[    3.841154] [drm] Connector 2:
[    3.841154] [drm]   DP-4
[    3.841155] [drm]   HPD3
[    3.841157] [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
[    3.841157] [drm]   Encoders:
[    3.841158] [drm]     DFP3: INTERNAL_UNIPHY2
[    3.841159] [drm] Connector 3:
[    3.841160] [drm]   VGA-2
[    3.841162] [drm]   DDC: 0x65c0 0x65c0 0x65c4 0x65c4 0x65c8 0x65c8 0x65cc 0x65cc
[    3.841162] [drm]   Encoders:
[    3.841164] [drm]     CRT1: INTERNAL_KLDSCP_DAC1

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #3 on: January 26, 2021, 03:03:09 pm »
The X log will have more information, /var/log/Xorg.0.log probably. You should be using the radeon driver, you probably need non-free to get firmware-amd-graphics.

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #4 on: January 26, 2021, 04:58:51 pm »
I've set up non-free and downloaded those drivers.

Will look at xorg when I get some time.

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #5 on: January 26, 2021, 08:34:56 pm »
The X log will have more information, /var/log/Xorg.0.log probably. You should be using the radeon driver, you probably need non-free to get firmware-amd-graphics.

Nothing there.

locate Xorg gives:

Code: [Select]
/usr/bin/Xorg
/usr/lib/xorg/Xorg
/usr/lib/xorg/Xorg.wrap
/usr/share/man/man1/Xorg.1.gz
/usr/share/man/man1/Xorg.wrap.1.gz

ls -la of /usr/lib/xorg shows:

Code: [Select]
total 2436
drwxr-xr-x   3 root root    4096 Jan  6 13:51 .
drwxr-xr-x 148 root root   12288 Jan 24 15:14 ..
drwxr-xr-x   5 root root    4096 Jan  6 13:51 modules
-rw-r--r--   1 root root   25699 Dec  1 17:54 protocol.txt
-rwxr-xr-x   1 root root 2427776 Dec  1 17:54 Xorg
-rwsr-sr-x   1 root root   14608 Dec  1 17:54 Xorg.wrap


Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #6 on: January 26, 2021, 09:36:12 pm »
A dor file in your home dirctory, or perhaps ~/.local/share/xorg.

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #7 on: January 27, 2021, 10:06:46 am »
A dor file in your home dirctory, or perhaps ~/.local/share/xorg.

Found this HUGE log file where you were suggesting.

cat Xorg.0.log | grep HDMI shows:

Code: [Select]
[    39.452] (II) modeset(0): Output HDMI-1 has no monitor section
ls
[    39.467] (II) modeset(0): EDID for output HDMI-1
[    39.467] (II) modeset(0): Output HDMI-1 disconnected
[    39.930] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event17)
[    39.930] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=7 (/dev/input/event18)
[    39.931] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=8 (/dev/input/event19)
[    39.931] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=9 (/dev/input/event20)
[    39.931] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=10 (/dev/input/event21)
[    39.932] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=11 (/dev/input/event22)
[    39.932] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event12)
[    39.932] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
[    39.932] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event14)
[    39.933] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event15)
[    39.933] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event16)

Here's the whole huge file

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #8 on: January 27, 2021, 05:38:15 pm »
Looks like some error is spamming your log, not sure what that is but it might be a separate issue.

I'm not sure what is causing the problem with your external monitor.  Does anything show up in the log when you run the xrandr --auto command?

Install read-edid and try:

  sudo get-edid | parse-edid

does the external monitor show up?

Perhaps compare the X log with that on the machine where the external monitor works.

Re: Trying to get Dell Precision M4800 to work With Monitor over HDMI
« Reply #9 on: January 28, 2021, 09:54:15 pm »
I have another Debian machine (running Debian 9) which is normally used without problem with the Dell monitor I am investigating.  I thought it would be useful to have a look at the Xorg.0.log file from that machine, to see what it had to say about the monitor.  NB this machine does not have HDMI; it has DVI, and is used with a DVI/HDMI adapter and an HDMI cable.  Here's a section of the (again HUGE) file, which might be useful:

Code: [Select]
[   240.064] (II) glamor: OpenGL accelerated X.org driver based.
[   240.079] (II) glamor: EGL version 1.4 (DRI2):
[   240.085] (II) modeset(0): glamor initialized
[   240.098] (II) modeset(0): Output VGA-1 has no monitor section
[   240.166] (II) modeset(0): Output DVI-D-1 has no monitor section
[   240.166] (II) modeset(0): Output SVIDEO-1 has no monitor section
[   240.179] (II) modeset(0): EDID for output VGA-1
[   240.247] (II) modeset(0): EDID for output DVI-D-1
[   240.247] (II) modeset(0): Manufacturer: DEL  Model: 400f  Serial#: 1094005303
[   240.247] (II) modeset(0): Year: 2005  Week: 30
[   240.247] (II) modeset(0): EDID Version: 1.3
[   240.247] (II) modeset(0): Digital Display Input
[   240.247] (II) modeset(0): Max Image Size [cm]: horiz.: 38  vert.: 31
[   240.247] (II) modeset(0): Gamma: 2.20
[   240.247] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[   240.247] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[   240.247] (II) modeset(0): Default color space is primary color space
[   240.247] (II) modeset(0): First detailed timing is preferred mode
[   240.248] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
[   240.248] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[   240.248] (II) modeset(0): Supported established timings:
[   240.248] (II) modeset(0): 720x400@70Hz
[   240.248] (II) modeset(0): 640x480@60Hz
[   240.248] (II) modeset(0): 640x480@75Hz
[   240.248] (II) modeset(0): 800x600@60Hz
[   240.248] (II) modeset(0): 800x600@75Hz
[   240.248] (II) modeset(0): 1024x768@60Hz
[   240.248] (II) modeset(0): 1024x768@75Hz
[   240.248] (II) modeset(0): 1280x1024@75Hz
[   240.248] (II) modeset(0): Manufacturer's mask: 0
[   240.248] (II) modeset(0): Supported standard timings:
[   240.248] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[   240.248] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   240.248] (II) modeset(0): Supported detailed timing:
[   240.248] (II) modeset(0): clock: 108.0 MHz   Image Size:  376 x 301 mm
[   240.248] (II) modeset(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[   240.248] (II) modeset(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[   240.248] (II) modeset(0): Serial No: X896657KA527
[   240.248] (II) modeset(0): Monitor name: DELL 1906FP
[   240.248] (II) modeset(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[   240.248] (II) modeset(0): EDID (in hex):
[   240.248] (II) modeset(0): 00ffffffffffff0010ac0f4037323541
[   240.248] (II) modeset(0): 1e0f010380261f78eeee95a3544c9926
[   240.248] (II) modeset(0): 0f5054a54b00714f8180010101010101
[   240.248] (II) modeset(0): 010101010101302a009851002a403070
[   240.248] (II) modeset(0): 1300782d1100001e000000ff00583839
[   240.248] (II) modeset(0): 363635374b413532370a000000fc0044
[   240.248] (II) modeset(0): 454c4c203139303646500a20000000fd
[   240.248] (II) modeset(0): 00384c1e510e000a202020202020002e
[   240.248] (II) modeset(0): Printing probed modes for output DVI-D-1
[   240.248] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[   240.248] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   240.248] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[   240.248] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   240.248] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   240.248] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   240.248] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   240.248] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   240.248] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   240.248] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   240.248] (II) modeset(0): EDID for output SVIDEO-1
[   240.248] (II) modeset(0): Output VGA-1 disconnected
[   240.248] (II) modeset(0): Output DVI-D-1 connected
[   240.248] (II) modeset(0): Output SVIDEO-1 disconnected
[   240.248] (II) modeset(0): Using exact sizes for initial modes
[   240.248] (II) modeset(0): Output DVI-D-1 using initial mode 1280x1024 +0+0
[   240.248] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   240.248] (==) modeset(0): DPI set to (96, 96)

In the whole HUGE log file, the following section is repeated about 50 times!  What might that mean?

Code: [Select]
[   245.650] (II) modeset(0): EDID vendor "DEL", prod id 16399
[   245.650] (II) modeset(0): Using EDID range info for horizontal sync
[   245.650] (II) modeset(0): Using EDID range info for vertical refresh
[   245.650] (II) modeset(0): Printing DDC gathered Modelines:
[   245.650] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[   245.650] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   245.650] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   245.650] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   245.650] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   245.650] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   245.650] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   245.651] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   245.651] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   245.651] (II) modeset(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)