You are not logged in.

#1 2025-08-08 21:30:35

iaksa
Member
Registered: 2021-03-13
Posts: 11

HDMI port is not recognize

Hi, I have occasionally issue with second monitor on my Lenovo Legion laptop.
Usually works fine in mirroring mode, but now after latest upgrade, second monitor cannot be recognized.
Looks like laptop have two cards, Intel and Nvidia

Here are OS details:

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.41-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 32 GiB of RAM (27.3 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82JW
System Version: Legion 5 15ACH6
$ xrandr
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080    164.83*+
   1440x1080    164.85  
   1400x1050    164.77  
   1280x1024    164.93  
   1280x960     164.80  
   1152x864     164.77  
   1024x768     164.99  
   800x600      164.72  
   640x480      164.26  
   320x240      163.69  
   1680x1050    164.82  
   1440x900     164.86  
   1280x800     164.81  
   1152x720     164.77  
   960x600      164.72  
   928x580      164.51  
   800x500      164.66  
   768x480      164.47  
   720x480      164.67  
   640x400      164.67  
   320x200      161.83  
   1600x900     164.77  
   1368x768     164.98  
   1280x720     164.71  
   1024x576     164.94  
   864x486      164.71  
   720x400      164.23  
   640x350      164.46  
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Ti Mobile] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)

Monitor is: Samsung LC32F39MFUNXZA

Last edited by iaksa (2025-08-09 17:00:13)

Offline

#2 2025-08-09 07:34:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,157

Re: HDMI port is not recognize

Please use [code][/code] tags. Edit your post in this regard.

Graphics Platform: Wayland
…
$ xrandr

xrandr has extremely limited meaning on wayland, see kscreen-doctor

Looks like laptop have two cards, Intel and Nvidia

Intel was not yet bought by AMD tongue
But the problem will be that the HDMI output is wired to the nvidia GPU and that's not being utilized by kwin_wayland

qdbus6 org.kde.KWin /KWin supportInformation
nvidia-smi
lspci -k -s 01:00.0

Offline

#3 2025-08-09 15:38:59

iaksa
Member
Registered: 2021-03-13
Posts: 11

Re: HDMI port is not recognize

Oh, yes, not Intel, AMD smile

Offline

#4 2025-08-09 15:43:34

iaksa
Member
Registered: 2021-03-13
Posts: 11

Re: HDMI port is not recognize

Here are outputs, thanks:

$ qdbus6 org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. [url]https://discuss.kde.org[/url].
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like [url]https://paste.kde.org[/url] instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.4.4
Qt Version: 6.9.1
Qt compile version: 6.9.1
XCB compile version: 1.17.0

Operation Mode: Wayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401008
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
RES: yes; Version: 0x12

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseOnReleaseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
doubleClickBorderToMaximize: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
allowTearing: true
interactiveWindowMoveEnabled: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: eDP-1
Enabled: 1
Geometry: 0,0,1536x864
Physical size: 344x193mm
Scale: 1.25
Refresh Rate: 165010
Adaptive Sync: never

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.61, 6.12.41-1-lts)
OpenGL version string: 4.6 (Core Profile) Mesa 25.1.7-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 25.1.7
X server version: 1.24.1
Linux kernel version: 6.12.41
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
shakecursor
screenshot
outputlocator
colorpicker
zoom
screenedge
blur
contrast
logout
sessionquit
login
slidingpopups
windowaperture
slide
dimscreen
maximize
fullscreen
frozenapp
squash
scale
fadingpopups
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
systembell
screentransform
kscreen

Currently Active Effects:
-------------------------
screenedge
blur
contrast
scale
fadingpopups

Effect Settings:
----------------
shakecursor:

screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

blur:

contrast:

logout:
pluginId: logout
isActiveFullScreenEffect: false

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

login:
pluginId: login
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

dimscreen:
pluginId: dimscreen
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: 
partialActivationFactor: 0
gestureInProgress: false
searchText: 
selectedIds: 

tileseditor:
activeView: 
delegate: 
animationDuration: 200

overview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset: 
searchText: 

highlightwindow:

blendchanges:

startupfeedback:
type: 1

systembell:

screentransform:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ lspci -k -s 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Ti Mobile] (rev a1)
        Subsystem: Lenovo Device 3aac
        Kernel modules: nouveau

Last edited by iaksa (2025-08-09 16:58:41)

Offline

#5 2025-08-09 16:07:50

close2zero
Member
From: Norway
Registered: 2025-07-14
Posts: 65

Re: HDMI port is not recognize

Pleas follow instructions given to you:

seth wrote:

Please use [code][/code] tags. Edit your post in this regard.

Post your code with code tags.

Last edited by close2zero (2025-08-09 16:09:39)


while true; do mount /dev/close2zero /mnt/clarity; done

Offline

#6 2025-08-09 17:23:38

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,157

Re: HDMI port is not recognize

No kernel module operates the nvidia GPU

uname -a
pacman -Qs 'kernel|nvidia'

Offline

#7 2025-08-09 17:34:02

iaksa
Member
Registered: 2021-03-13
Posts: 11

Re: HDMI port is not recognize

$ uname -a
Linux ArchLinuxDci 6.12.41-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 01 Aug 2025 20:42:03 +0000 x86_64 GNU/Linux
$ pacman -Qs 'kernel|nvidia'
local/egl-gbm 1.1.2.1-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.20-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.2-1
    NVIDIA XLib and XCB EGL Platform Library
local/fuse2 2.9.9-5
    Interface for userspace programs to export a filesystem to the Linux kernel
local/fuse3 3.17.1-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.11-2
    Linux kernel packet control tool (using legacy interface)
local/kmod 34.2-1
    Linux kernel module management tools and library
local/libdrm 2.4.125-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 48.0-6
    Kernel based performance profiler - capture library
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 575.64.05-1
    NVIDIA NV-CONTROL X extension
local/linux 6.15.9.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.16-1
    Kernel headers sanitized for use in userspace
local/linux-firmware-nvidia 20250708-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/linux-headers 6.15.9.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/linux-lts 6.12.41-1
    The LTS Linux kernel and modules
local/mtdev 1.1.7-1
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia 575.64.05-4
    NVIDIA kernel modules
local/nvidia-settings 575.64.05-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 575.64.05-2
    NVIDIA drivers utilities
local/optimus-manager-git 4:799.python3.13-1
    Allows using Nvidia Optimus laptop graphics
local/virtualbox-host-modules-arch 7.1.12-5
    Virtualbox host kernel modules for Arch Kernel

Offline

#8 2025-08-09 17:42:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,157

Re: HDMI port is not recognize

You lack nvidia-lts

Offline

#9 2025-08-09 19:34:10

iaksa
Member
Registered: 2021-03-13
Posts: 11

Re: HDMI port is not recognize

Yep, that looks like fix my issue, will close once fully tested.
Much appreciated.

Offline

Board footer

Powered by FluxBB