You are not logged in.

#1 2023-02-08 22:38:47

fan87
Member
Registered: 2023-02-08
Posts: 2

Xorg - Integrated graphics doesn't detect HDMI output

When I try to use integrated graphics, it doesn't detect HDMI anymore.
I'm using laptop with both Integrated graphics (intel) and NVIDIA card
if I use NVIDIA in xorg config, the HDMI output works, and games become laggy with

prime-run

(In this case: minecraft)
Here are some (hopefully) useful information:

ls /usr/share/X11/xorg.conf.d

.rw-r--r--   92 root 24 Feb  2022 10-amdgpu.conf
.rw-r--r--  227 root 20 Jan 15:19 10-nvidia-drm-outputclass.conf
.rw-r--r-- 1.4k root 19 Dec  2022 10-quirks.conf
.rw-r--r--   92 root  6 Sep  2022 10-radeon.conf
.rw-r--r-- 1.4k root 24 Jan  2022 40-libinput.conf

ls /etc/X11/xorg.conf/d

.rw-r--r-- 113 root  9 Feb 06:08 10-optimus-manager.conf

cat optimus-manager.conf

Section "Device"
        Identifier "integrated"
        Driver "modesetting"
        BusID "PCI:0:2:0"
        Option "DRI" "3"
EndSection

xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
.... modes ....

My xorg.conf is empty,

(Sorry for terrible english : (

Last edited by fan87 (2023-02-08 22:40:53)

Offline

#2 2023-02-09 07:43:59

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

Re: Xorg - Integrated graphics doesn't detect HDMI output

Don't use optimus-manager, https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
Also see the note on the top on what happens if you only use the external display.

if I use NVIDIA in xorg config, the HDMI output works, and games become laggy with

prime-run

There's absolutely no point to use prime-run if you're running on the nvidia chip

Offline

#3 2023-02-09 22:01:44

fan87
Member
Registered: 2023-02-08
Posts: 2

Re: Xorg - Integrated graphics doesn't detect HDMI output

Without prime-run, it won't run with NVIDIA card I guess?
Otherwise everything will be using NVIDIA card, which is gonna make the game slow

Offline

#4 2023-02-09 22:19:02

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

Re: Xorg - Integrated graphics doesn't detect HDMI output

If you configure the X11 server to run on the nvidia chip, everything runs on the nvidia chip by default. Hence there's no point in using prime-run as prime-run will seek to run the process on the nvidia chip… where it's running anyway.

Check the link I posted before and please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

Board footer

Powered by FluxBB