How to make the HDMI port work on Dell laptop with CentOS?

General support questions
Post Reply
ronbarak
Posts: 15
Joined: 2013/05/04 06:21:13
Contact:

How to make the HDMI port work on Dell laptop with CentOS?

Post by ronbarak » 2020/07/24 23:16:26

I'm trying to get Dell Vostro laptops to use external monitors.
With CentOS/RedHat 7.8, the only working display is the internal display, and it is identified as "Unknown Display".
The HDMI and VGA ports display graphics fine under Windows 10: under CentOS, no signal is being output through these ports.

Any way to make the HDMI work on Dell laptop with CentOS?



Dell Vostro CentOS data:

Code: Select all

CentOS Linux release 7.8.2003 (Core)

uname -r == 3.10.0-1127.13.1.el7.x86_64

$ sudo lshw -short | grep -i --color display
/0/100/2 display UHD Graphics
/0/100/1c/0 display Jet PRO [Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile]

$ sudo lshw -class display
*-display UNCLAIMED
description: VGA compatible controller
product: UHD Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:c0000000-c0ffffff memory:b0000000-bfffffff ioport:5000(size=64)
*-display
description: Display controller
product: Jet PRO [Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c3
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:138 memory:a0000000-afffffff memory:c1500000-c153ffff ioport:4000(size=256) memory:c1540000-c155ffff

$ lspci | egrep -i 'vga|display'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile] (rev c3)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3204 Analog [ALC3204 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

$ dmesg | egrep -i 'hda|Radeon'
[ 1.712257] [drm] radeon kernel modesetting enabled.
[ 1.712463] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 1.739222] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 1.739224] radeon 0000:01:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[ 1.739424] [drm] radeon: 2048M of VRAM memory ready
[ 1.739425] [drm] radeon: 2048M of GTT memory ready.
[ 1.747647] [drm] radeon: dpm initialized
[ 1.754846] radeon 0000:01:00.0: WB enabled
[ 1.754848] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff984d71d25c00
[ 1.754849] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff984d71d25c04
[ 1.754850] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff984d71d25c08
[ 1.754852] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff984d71d25c0c
[ 1.754853] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff984d71d25c10
[ 1.754856] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 1.754881] radeon 0000:01:00.0: irq 138 for MSI/MSI-X
[ 1.754891] radeon 0000:01:00.0: radeon: using MSI.
[ 1.754905] [drm] radeon: irq initialized.
[ 2.031061] [drm] Radeon Display Connectors
[ 2.036778] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
[ 3.009075] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.278687] snd_hda_intel 0000:00:1f.3: irq 452 for MSI/MSI-X
[ 3.330841] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3204: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 3.330844] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.330846] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 3.330847] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 3.330848] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 3.330850] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 3.330852] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
[ 3.330853] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 3.385468] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[ 3.385825] hdaudio hdaudioC0D2: Unable to bind the codec
[ 3.386888] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[ 11.384319] radeon 0000:01:00.0: WB enabled
[ 11.384321] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff984d71d25c00
[ 11.384323] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff984d71d25c04
[ 11.384324] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff984d71d25c08
[ 11.384326] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff984d71d25c0c
[ 11.384327] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff984d71d25c10
[ 1513.406827] radeon 0000:01:00.0: WB enabled
[ 1513.406829] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff984d71d25c00
[ 1513.406831] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff984d71d25c04
[ 1513.406833] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff984d71d25c08
[ 1513.406834] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff984d71d25c0c
[ 1513.406836] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff984d71d25c10
[ 1547.354634] radeon 0000:01:00.0: WB enabled
[ 1547.354637] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff984d71d25c00
[ 1547.354639] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff984d71d25c04
[ 1547.354640] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff984d71d25c08
[ 1547.354642] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff984d71d25c0c
[ 1547.354644] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff984d71d25c10
[ 1632.793301] radeon 0000:01:00.0: WB enabled
[ 1632.793304] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff984d71d25c00
[ 1632.793306] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff984d71d25c04
[ 1632.793308] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff984d71d25c08
[ 1632.793309] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff984d71d25c0c
[ 1632.793311] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff984d71d25c10

$  glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: VMware, Inc. (0xffffffff)
OpenGL vendor string: VMware, Inc.

$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL version string: 2.1 Mesa 18.3.4
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

$ glxinfo | grep "direct rendering"
direct rendering: Yes


bonedome
Posts: 173
Joined: 2017/04/22 08:11:04

Re: How to make the HDMI port work on Dell laptop with CentOS?

Post by bonedome » 2020/07/25 00:05:05

Hello
I have an older dell latitude 6420, I use two keyboard shortcuts for hdmi output.
For video

Code: Select all

xrandr --output HDMI-1 --auto --set audio on --output LVDS-1 --off
and to switch back

Code: Select all

xrandr --output LVDS-1 --auto --output HDMI-1 --off
For audio

Code: Select all

pactl set-card-profile 0 output:hdmi-stereo+input:analog-stereo
and back to laptop

Code: Select all

pactl set-card-profile 0 output:analog-stereo+input:analog-stereo
to see the available outputs

Code: Select all

xrandr -q
There are gui versions of xrandr, lxrandr and for pactl pavucontrol although I don't think lxrandr is available from any repo.
You might have to alter the above commands to suit your hardware.

Post Reply

Return to “CentOS 7 - General Support”