You are not logged in.
I have a Thinkpad x220 which doesn't have a HDMI port, only DP and VGA. I'm trying to connect this laptop to my TV over a DP-HDMI cable but sadly xrandr lists all DP outputs as disconnected. I've checked the cable, the TV and the DP port in my laptop and all of them work. I'm on 6.6.8-arch1-1 and I'm using xf86-video-intel 1:2.99.917+923+gb74b67f0-1. Here is my xrandr output:
[~]$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 280mm x 160mm
1366x768 60.10*+
1280x720 59.74
1024x768 60.00
1024x576 60.00 59.90 59.82
960x540 60.00 59.63 59.82
800x600 60.32 56.25
864x486 60.00 59.92 59.57
640x480 59.94
720x405 59.51 60.00 58.99
680x384 60.00
640x360 59.84 59.32 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)Offline
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Most likely you want/need to get rid of xf86-video-intel but unless there's a second GPU the issue will be "DP-HDMI cable"
checked the cable, the TV and the DP port
Checked "how"?
Have to you tried to replug the HDMI into the Tv while both, Tv and notebook are running and the DP plug is already in place?
Online
Sure, here is the Xorg log:
[ 185.203]
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[ 185.203] Current Operating System: Linux tpx220 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64
[ 185.203] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1d8d9e9f-eed6-42e3-9a8a-8fbbc3b9bc80 rw loglevel=3 quiet
[ 185.203]
[ 185.203] Current version of pixman: 0.42.2
[ 185.203] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 185.203] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 185.203] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 1 20:06:26 2024
[ 185.203] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 185.203] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 185.203] (==) No Layout section. Using the first Screen section.
[ 185.203] (==) No screen section available. Using defaults.
[ 185.203] (**) |-->Screen "Default Screen Section" (0)
[ 185.203] (**) | |-->Monitor "<default monitor>"
[ 185.204] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 185.204] (**) | |-->Device "Intel Graphics"
[ 185.204] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 185.204] (==) Automatically adding devices
[ 185.204] (==) Automatically enabling devices
[ 185.204] (==) Automatically adding GPU devices
[ 185.204] (==) Automatically binding GPU devices
[ 185.204] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 185.204] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 185.204] Entry deleted from font path.
[ 185.204] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 185.204] Entry deleted from font path.
[ 185.204] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 185.204] Entry deleted from font path.
[ 185.204] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 185.204] Entry deleted from font path.
[ 185.204] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF
[ 185.204] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 185.204] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 185.204] (II) Module ABI versions:
[ 185.204] X.Org ANSI C Emulation: 0.4
[ 185.204] X.Org Video Driver: 25.2
[ 185.204] X.Org XInput driver : 24.4
[ 185.204] X.Org Server Extension : 10.0
[ 185.205] (--) using VT number 3
[ 185.205] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 185.206] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 185.206] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 185.212] (--) PCI:*(0@0:2:0) 8086:0126:17aa:21da rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 185.212] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 185.212] (II) LoadModule: "glx"
[ 185.212] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 185.213] (II) Module glx: vendor="X.Org Foundation"
[ 185.213] compiled for 1.21.1.10, module version = 1.0.0
[ 185.213] ABI class: X.Org Server Extension, version 10.0
[ 185.213] (II) LoadModule: "intel"
[ 185.213] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 185.214] (II) Module intel: vendor="X.Org Foundation"
[ 185.214] compiled for 1.21.1.6, module version = 2.99.917
[ 185.214] Module class: X.Org Video Driver
[ 185.214] ABI class: X.Org Video Driver, version 25.2
[ 185.214] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 185.214] (II) intel: Driver for Intel(R) HD Graphics
[ 185.214] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 185.214] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 185.227] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 185.227] (II) intel(0): SNA compiled from 2.99.917-923-gb74b67f0
[ 185.228] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
[ 185.228] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
[ 185.228] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 185.228] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 185.228] (==) intel(0): RGB weight 888
[ 185.228] (==) intel(0): Default visual is TrueColor
[ 185.228] (**) intel(0): Option "DRI" "2"
[ 185.228] (**) intel(0): Option "TearFree" "true"
[ 185.229] (II) intel(0): Output LVDS1 has no monitor section
[ 185.229] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[ 185.229] (II) intel(0): Enabled output LVDS1
[ 185.229] (II) intel(0): Output VGA1 has no monitor section
[ 185.229] (II) intel(0): Enabled output VGA1
[ 185.229] (II) intel(0): Output HDMI1 has no monitor section
[ 185.229] (II) intel(0): Enabled output HDMI1
[ 185.229] (II) intel(0): Output DP1 has no monitor section
[ 185.230] (II) intel(0): Enabled output DP1
[ 185.230] (II) intel(0): Output HDMI2 has no monitor section
[ 185.230] (II) intel(0): Enabled output HDMI2
[ 185.230] (II) intel(0): Output HDMI3 has no monitor section
[ 185.230] (II) intel(0): Enabled output HDMI3
[ 185.230] (II) intel(0): Output DP2 has no monitor section
[ 185.230] (II) intel(0): Enabled output DP2
[ 185.230] (II) intel(0): Output DP3 has no monitor section
[ 185.230] (II) intel(0): Enabled output DP3
[ 185.231] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 185.231] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 185.231] (II) intel(0): Enabled output VIRTUAL1
[ 185.231] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[ 185.231] (**) intel(0): TearFree enabled
[ 185.231] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 185.231] (==) intel(0): DPI set to (96, 96)
[ 185.231] (II) Loading sub module "dri3"
[ 185.231] (II) LoadModule: "dri3"
[ 185.231] (II) Module "dri3" already built-in
[ 185.231] (II) Loading sub module "dri2"
[ 185.231] (II) LoadModule: "dri2"
[ 185.231] (II) Module "dri2" already built-in
[ 185.231] (II) Loading sub module "present"
[ 185.231] (II) LoadModule: "present"
[ 185.231] (II) Module "present" already built-in
[ 185.231] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend
[ 185.231] (==) intel(0): Backing store enabled
[ 185.231] (==) intel(0): Silken mouse enabled
[ 185.231] (II) intel(0): HW Cursor enabled
[ 185.232] (==) intel(0): DPMS enabled
[ 185.232] (==) intel(0): Display hotplug detection enabled
[ 185.232] (II) intel(0): [DRI2] Setup complete
[ 185.232] (II) intel(0): [DRI2] DRI driver: i965
[ 185.232] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 185.232] (II) intel(0): direct rendering: DRI2 enabled
[ 185.232] (II) intel(0): hardware support for Present enabled
[ 185.232] (II) Initializing extension Generic Event Extension
[ 185.232] (II) Initializing extension SHAPE
[ 185.232] (II) Initializing extension MIT-SHM
[ 185.232] (II) Initializing extension XInputExtension
[ 185.232] (II) Initializing extension XTEST
[ 185.233] (II) Initializing extension BIG-REQUESTS
[ 185.233] (II) Initializing extension SYNC
[ 185.233] (II) Initializing extension XKEYBOARD
[ 185.233] (II) Initializing extension XC-MISC
[ 185.233] (II) Initializing extension SECURITY
[ 185.234] (II) Initializing extension XFIXES
[ 185.234] (II) Initializing extension RENDER
[ 185.234] (II) Initializing extension RANDR
[ 185.234] (II) Initializing extension COMPOSITE
[ 185.234] (II) Initializing extension DAMAGE
[ 185.234] (II) Initializing extension MIT-SCREEN-SAVER
[ 185.235] (II) Initializing extension DOUBLE-BUFFER
[ 185.235] (II) Initializing extension RECORD
[ 185.235] (II) Initializing extension DPMS
[ 185.235] (II) Initializing extension Present
[ 185.235] (II) Initializing extension DRI3
[ 185.235] (II) Initializing extension X-Resource
[ 185.235] (II) Initializing extension XVideo
[ 185.236] (II) Initializing extension XVideo-MotionCompensation
[ 185.236] (II) Initializing extension GLX
[ 185.236] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 185.236] (EE) AIGLX error: unable to load driver i965
[ 185.267] (EE)
[ 185.267] (EE) Backtrace:
[ 185.268] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x2dd) [0x5628473f6c5d]
[ 185.268] (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7fd7ab13e710]
[ 185.268] (EE) 2: ? (?+0x0) [0x56284961bf10]
[ 185.268] (EE)
[ 185.268] (EE) Segmentation fault at address 0x56284961bf10
[ 185.268] (EE)
Fatal server error:
[ 185.268] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 185.268] (EE)
[ 185.268] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 185.268] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 185.268] (EE)
[ 185.313] (EE) Server terminated with error (1). Closing log file.The log contains some errors but they are irrelevant to the topic and are already resolved (or at least the one that says:
[185.236] (EE) AIGLX error: unable to load driver i965 Now, when I wrote "checked" what I meant was that I confirmed none of those things (DP Port, TV, cable) are broken. They all work but separately. And no, I haven't tried what you're suggesting, will give it a shot tomorrow.
When it comes to the xf86-video-intel driver, I know basically everyone recommends getting rid of it and using the modesetting driver instead, which from my understanding is already there in the kernel. Unfortunately when I remove xf86-video-intel I get absolutely horrendous performance even with basic tasks like writing text in my terminal. Plus switching to that driver didn't solve the original issue as the xrandr output looked exactly as it does now.
Last edited by mcnuggetsx20 (2024-01-02 23:45:23)
Offline
they are irrelevant to the topic and are already resolved
How?
In doubt replace mesa w/ mesa-amber, for your core 2 IGP xf86-video-intel is probably the better choice.
Did you try to connect some other monitor (ideally low-is resolution) to the notebook using that cable?
Online
<EDIT>
I'm always sooooooo slow... ![]()
Anyway, also have a look at addition below
</EDIT>
If your machine is a Sandy Bridge one, you could keep using xf86-video-intel.
Said that, you could try another path: install mesa-amber (removing xf86-video-intel and any X.org configuration(s)).
I wonder... What if you add MODULES=( intel_agp ) into your mkinitcpio.conf? (remember to # mkinitcpio -P before rebooting)
Last edited by d.ALT (2024-01-03 08:18:58)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
@d.Alt xf86-video-intel mandates mesa-amber, mesa-amber doesn't collide w/ or substitute xf86-video-intel
(Alternatively one could force xf86-video-intel to use the iris driver, but since this isn't an iris chip, I'm not sure that's a good idea)
Online
@d.Alt xf86-video-intel mandates mesa-amber, mesa-amber doesn't collide w/ or substitute xf86-video-intel
Just to be extra-sure OP will NOT (mis)use any (residual) Intel driver. ... (No? Am i wrong?...)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Wut?
The OP has pretty old HW and for that using xf86-video-intel (and by inference mesa-amber) is probably the better choice.
mesa-amber is actually mandatory since mesa does no longer cover 2nd gen intel IGPs
Online
FWIW technically speaking mesa should ship with the crocus (and a port of i915 for that matter) driver which is intended as a Gallium replacement for i965 so adjusting the DRI line to "crocus" instead might be workable as well.
Last edited by V1del (2024-01-03 18:37:15)
Offline
Ah, "8086:0126" is "Intel Corporation 2nd Generation Core Processor Family", not 2nd Gen graphics (i830) which is found in Pentium 3/4 systems and virtually unsupported by arch anyway (some P4's could actually run x86_64)
Online
they are irrelevant to the topic and are already resolved
How?
In doubt replace mesa w/ mesa-amber, for your core 2 IGP xf86-video-intel is probably the better choice.Did you try to connect some other monitor (ideally low-is resolution) to the notebook using that cable?
I replaced mesa and lib32-mesa with mesa-amber and lib32-mesa-amber, still no luck.
Connecting another monitor to the notebook with this cable was also unsuccessful. I tried with a FHD monitor though as I don't have monitors with any lower resolution.
And are you asking how I resolved those Xorg errors or how it's not relevant?
Offline
"how I resolved those Xorg errors" - but I assume by replacing mesa because you hit the swrast bug.
Have to you tried to replug the HDMI into the Tv while both, Tv and notebook are running and the DP plug is already in place?
I haven't tried what you're suggesting, will give it a shot tomorrow.
Any updates on that? HDMI/HDCP is hyper fragile and petty.
Online
chickenbrandedproductbutmostlyratmeat wrote:I haven't tried what you're suggesting, will give it a shot tomorrow.
Any updates on that? HDMI/HDCP is hyper fragile and petty.
That didn't work at all. And the error had to do with the fact that my mirrorlist was corrupted and pacman upgraded mesa and lib32-mesa to wrong versions.
Offline
So it's not the handshake ![]()
You can use
1. cable and the TV with a different DP
2. the DP w/ a different output (native DP, I presume)
But you cannot use the cable with any monitor on this DP, correct?
So it's between the DP and the cable.
I suspect it also doesn't work w/ random live distros (grml, knoppix, ubuntu, …)?
What happens if you force the output enabled, https://www.kernel.org/doc/Documentation/fb/modedb.rst ?
(Try the 1080p one, the output name should™ be the same as in xrandr when using the modesetting driver, otherwise check the names in /sys/class/drm)
The interesting context is the multi-user.target (console, 2nd link below) and add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line to get that thing out of the way.
eg.
video=DP-1:1920x1080@60eOnline
I replaced mesa and lib32-mesa with mesa-amber and lib32-mesa-amber, still no luck.
Did you get rid of xf86-video-intel? Do you have any residual X.org confs?
Is the port working if you boot your machine enabling UEFI's CSM?
Also
I wonder... What if you add MODULES=( intel_agp ) into your mkinitcpio.conf? (remember to # mkinitcpio -P before rebooting)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Did you get rid of xf86-video-intel? Do you have any residual X.org confs?
Is the port working if you boot your machine enabling UEFI's CSM?
Also
d.ALT wrote:I wonder... What if you add MODULES=( intel_agp ) into your mkinitcpio.conf? (remember to # mkinitcpio -P before rebooting)
No, I didn't get rid of xf86-video-intel. This a Thinkpad X220 man, nothing works properly on the newer drivers. When I tried the one arch wiki was suggesting my performance was horrible and the original problem wasn't solved either.
Now, while your suggestion with CSM could be right, I can't try it since first I installed arch on BIOS/MBR and second there is no CSM option in the setup. But now I'm thinking maybe the issue would be resolved if I had installed the system on UEFI instead of BIOS. If we don't find any other way to fix this I might actually give it a try.
Adding intel_agp to MODULES didn't work either.
Offline
What happens if you force the output enabled, https://www.kernel.org/doc/Documentation/fb/modedb.rst ?
(Try the 1080p one, the output name should™ be the same as in xrandr when using the modesetting driver, otherwise check the names in /sys/class/drm)
The interesting context is the multi-user.target (console, 2nd link below) and add "initcall_blacklist=simpledrm_platform_driver_init" to the https://wiki.archlinux.org/title/Kernel … mmand_line to get that thing out of the way.eg.
video=DP-1:1920x1080@60e
I'm sorry but I don't quite understand what you're suggesting that I do.
Offline
Did you read the links?
You're supposed to change the kernel commandline to
1. only boot the multi-user.target
2. blacklist the simpledrm init
3. consider the desired output to be enabled with a specific resolution (for which you need to lookup the output name in /sys/class/drm)
What aspect do you not understand?
Online
I changed the line in /etc/default/grub to:
GRUB_CMDLINE_LINUX="multi-user.target video=DP-1:1920x1080@60e initcall_blacklist=simpledrm_platform_driver_init"It resulted in the tty looking a little weird (it was cropped, as if it was displayed in a smaller resolution but without scaling) and the xrandr output looking like this:
[~]$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 280mm x 160mm
1366x768 60.10*+
1280x720 59.74
1024x768 60.00
1024x576 60.00 59.90 59.82
960x540 60.00 59.63 59.82
800x600 60.32 56.25
864x486 60.00 59.92 59.57
640x480 59.94
720x405 59.51 60.00 58.99
680x384 60.00
640x360 59.84 59.32 60.00
DP1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
640x480 59.94*+
1024x768 60.00
800x600 60.32 56.25
848x480 60.00
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)Now when I connect a monitor it still doesn't work - the monitor shows "No signal". I tried changing the mode with
xrandr --output DP1 --mode 1024x768 --rate 60but with no luck again.
Last edited by mcnuggetsx20 (2024-01-27 16:22:40)
Offline
The output name was a guess, is it actually accurate?
ls -d /sys/class/drm/*When starting the multi-user.target, xrandr should get you an error because there's no display server?
Also the mode you were setting was 1080p, but the xrandr output shows VGA to XGA and defaults to VGA, I'm pretty sure that's the adapter not forwarding the actual output.
Do you have any chance to test a different adapter?
Online
I don't see any xrandr errors, maybe I should look for them in some log files?
In
/sys/class/drm/ I had something like
card1-DP-1 so that's what I used in the command line.
And no, I don't have any other adapters, only regular DisplayPort cables, which work fine with this setup but I desperately need this HDMI-DP adapter to work.
Offline