Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
1912
views
Combine sound for Display port and HDMI
I have an nvidia gtx 1050 running on debian 9. I have 2 external monitors, one through Display port and one through HDMI. Both monitors output the sound just fine, but only one at a time. Is there any way to combine sound for both digital outputs? I tried using Pulse audio preferences to add a virtu...
I have an nvidia gtx 1050 running on debian 9. I have 2 external monitors, one through Display port and one through HDMI.
Both monitors output the sound just fine, but only one at a time. Is there any way to combine sound for both digital outputs?
I tried using Pulse audio preferences to add a virtual device, but that device is a bridger between the "Digital Ouput" (motherboard sound) and one of the HDMI outputs (whichever is currently enabled/active)
Seba Vasile
(1 rep)
Feb 4, 2018, 09:40 PM
• Last activity: Jul 17, 2025, 07:08 PM
5
votes
1
answers
2904
views
DisplayPort and Intel HD cause GPU hangs
My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for being the cause, is that when I connect another monitor via DVI these problems just vanish. When I put monitor into s...
My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for being the cause, is that when I connect another monitor via DVI these problems just vanish.
When I put monitor into sleep it won't wake up. Journal contains:
[drm:intel_dp_start_link_train] *ERROR* failed to enable link
and sometimes
[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Qt applications need a few seconds to start. And meanwhile freeze X. Today I had a complete never-ending system freeze. As a followup KDE start is painfully slow and accompanied by multiple freezes.
I use an up-to-date Arch System on an i5-4590, using the Intel HD4600.
Here is dmesg with drm.debug=0xe comandline. I cut about a million "[drm:drm_dp_i2c_do_msg] native defer" lines to make it cleaner.
Intel drivers are installed. The config:
# for i in /sys/module/i915/parameters/*; do echo $i=$(cat $i); done
/sys/module/i915/parameters/disable_display=N
/sys/module/i915/parameters/disable_power_well=1
/sys/module/i915/parameters/enable_cmd_parser=0
/sys/module/i915/parameters/enable_fbc=-1
/sys/module/i915/parameters/enable_hangcheck=Y
/sys/module/i915/parameters/enable_ips=1
/sys/module/i915/parameters/enable_ppgtt=1
/sys/module/i915/parameters/enable_psr=0
/sys/module/i915/parameters/enable_rc6=-1
/sys/module/i915/parameters/fastboot=N
/sys/module/i915/parameters/invert_brightness=0
/sys/module/i915/parameters/lvds_channel_mode=0
/sys/module/i915/parameters/lvds_downclock=0
/sys/module/i915/parameters/lvds_use_ssc=-1
/sys/module/i915/parameters/modeset=-1
/sys/module/i915/parameters/panel_ignore_lid=1
/sys/module/i915/parameters/powersave=1
/sys/module/i915/parameters/prefault_disable=N
/sys/module/i915/parameters/preliminary_hw_support=0
/sys/module/i915/parameters/reset=Y
/sys/module/i915/parameters/semaphores=-1
/sys/module/i915/parameters/vbt_sdvo_panel_type=-1
ManuelSchneid3r
(4455 rep)
Jul 7, 2014, 04:13 PM
• Last activity: Jun 25, 2025, 09:03 PM
8
votes
1
answers
15148
views
xrandr shows disconnected DisplayPort with Intel Graphics
I have 4 physical ports on my motherboard, VGA, HDMI, DVI, and DisplayPort. Normally I use HDMI and DVI, but I'd like to switch to HDMI and DP. However, the output of xrandr shows DP as always disconnected: $ xrandr --verbose Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767 DP1 di...
I have 4 physical ports on my motherboard, VGA, HDMI, DVI, and DisplayPort. Normally I use HDMI and DVI, but I'd like to switch to HDMI and DP. However, the output of xrandr shows DP as always disconnected:
$ xrandr --verbose
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp: 284401515
Subpixel: unknown
Clones: HDMI3
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
1920x1080 (0x4a) 148.500MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
HDMI1 connected primary 1920x1080+1920+0 (0x4a) normal (normal left inverted right x axis y axis) 509mm x 286mm
Identifier: 0x44
Timestamp: 284401515
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff000469d223e3a40000
2417010380331d782ad945a2554da027
125054b7ef00d1c0814081809500b300
714f81c08100023a801871382d40582c
4500fd1e1100001e000000ff0044394c
4d54463034323231310a000000fd0032
4b185311000a202020202020000000fc
00415355532056533233390a20200140
020322714f0102031112130414050e0f
1d1e1f10230917078301000065030c00
10008c0ad08a20e02d10103e9600fd1e
11000018011d007251d01e206e285500
fd1e1100001e011d00bc52d01e20b828
5540fd1e1100001e8c0ad09020403120
0c405500fd1e11000018000000000000
000000000000000000000000000000e9
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
1920x1080 (0x4a) 148.500MHz +HSync +VSync *current +preferred
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1920x1080 (0xe6) 148.500MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
1920x1080 (0xe7) 148.352MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
1920x1080i (0xe8) 74.250MHz +HSync +VSync Interlace
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.75KHz
v: height 1080 start 1084 end 1094 total 1125 clock 60.00Hz
1920x1080i (0xe9) 74.250MHz +HSync +VSync Interlace
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 28.12KHz
v: height 1080 start 1084 end 1094 total 1125 clock 50.00Hz
1920x1080i (0xea) 74.176MHz +HSync +VSync Interlace
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.72KHz
v: height 1080 start 1084 end 1094 total 1125 clock 59.94Hz
1680x1050 (0xeb) 119.000MHz +HSync -VSync
h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.67KHz
v: height 1050 start 1053 end 1059 total 1080 clock 59.88Hz
1280x1024 (0xec) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0xed) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1440x900 (0xee) 88.750MHz +HSync -VSync
h: width 1440 start 1488 end 1520 total 1600 skew 0 clock 55.47KHz
v: height 900 start 903 end 909 total 926 clock 59.90Hz
1280x960 (0xef) 108.000MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
v: height 960 start 961 end 964 total 1000 clock 60.00Hz
1280x800 (0xf0) 71.000MHz +HSync -VSync
h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 49.31KHz
v: height 800 start 803 end 809 total 823 clock 59.91Hz
1152x864 (0xf1) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1280x720 (0xf2) 74.250MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
v: height 720 start 725 end 730 total 750 clock 60.00Hz
1280x720 (0xf3) 74.250MHz +HSync +VSync
h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
v: height 720 start 725 end 730 total 750 clock 50.00Hz
1280x720 (0xf4) 74.176MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
v: height 720 start 725 end 730 total 750 clock 59.94Hz
1440x576 (0xf5) 54.000MHz -HSync -VSync
h: width 1440 start 1464 end 1592 total 1728 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
1024x768 (0xf6) 78.800MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.06KHz
v: height 768 start 769 end 772 total 800 clock 75.08Hz
1024x768 (0xf7) 75.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
v: height 768 start 771 end 777 total 806 clock 70.07Hz
1024x768 (0xf8) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
1440x480 (0xf9) 54.054MHz -HSync -VSync
h: width 1440 start 1472 end 1596 total 1716 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
1440x480 (0xfa) 54.000MHz -HSync -VSync
h: width 1440 start 1472 end 1596 total 1716 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
832x624 (0xfb) 57.284MHz -HSync -VSync
h: width 832 start 864 end 928 total 1152 skew 0 clock 49.73KHz
v: height 624 start 625 end 628 total 667 clock 74.55Hz
800x600 (0xfc) 50.000MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
v: height 600 start 637 end 643 total 666 clock 72.19Hz
800x600 (0xfd) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
800x600 (0xfe) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
800x600 (0xff) 36.000MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
720x576 (0x100) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x480 (0x101) 27.027MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
720x480 (0x102) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
640x480 (0x103) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0x104) 30.240MHz -HSync -VSync
h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
v: height 480 start 483 end 486 total 525 clock 66.67Hz
640x480 (0x105) 25.200MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
v: height 480 start 490 end 492 total 525 clock 60.00Hz
640x480 (0x106) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
720x400 (0x107) 28.320MHz -HSync +VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
v: height 400 start 412 end 414 total 449 clock 70.08Hz
HDMI2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x45
Timestamp: 284401515
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
HDMI3 disconnected (normal left inverted right x axis y axis)
Identifier: 0x46
Timestamp: 284401515
Subpixel: unknown
Clones: DP1
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
1920x1080 (0x4a) 148.500MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
VGA1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x47
Timestamp: 284401515
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x48
Timestamp: 284401515
Subpixel: no subpixels
Clones:
CRTCs: 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
The closest I've gotten has been manually adding the mode then attempting to switch to it:
$ xrandr --addmode DP1 1920x1080
$ xrandr --auto --output HDMI1 --mode 1920x1080 --primary --output DP1 --mode 1920x1080 --left-of HDMI1 --output VGA1 --off
xrandr: Configure crtc 1 failed
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Serial number of failed request: 47
Current serial number in output stream: 47
Right now with my second monitor plugged into the DVI port the output of xrandr is:
$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
1920x1080 60.00
HDMI1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.08 70.07 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 66.67 60.00 59.94
720x400 70.08
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.08 70.07 60.00
1440x480 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 66.67 60.00 59.94
720x400 70.08
HDMI3 disconnected (normal left inverted right x axis y axis)
1920x1080 60.00
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Driver info:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/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:29 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:f000(size=64)
$ modinfo i915
filename: /lib/modules/4.4.0-91-generic/kernel/drivers/gpu/drm/i915/i915.ko
license: GPL and additional rights
description: Intel Graphics
author: Intel Corporation
author: Tungsten Graphics, Inc.
firmware: i915/bxt_dmc_ver1.bin
firmware: i915/skl_dmc_ver1.bin
firmware: i915/skl_guc_ver4.bin
srcversion: F88AC02BE47BB41FC2F1D77
...
I'm not sure what the next step for debugging this would be. I've never used the DisplayPort before, so it may well be an issue with the Intel Drivers.
EDIT:
To clarify my ports. HDMI1 is my actual HDMI port, HDMI2 is my DVI port, HDMI3 appears to be a clone of DP1, which is my DisplayPort. HDMI1 and HDMI2 work fine, but both DP1 and HDMI3 always show disconnected.
DaleSwanson
(273 rep)
Aug 15, 2017, 11:43 PM
• Last activity: May 16, 2025, 04:09 AM
2
votes
2
answers
3441
views
Debian Buster 10 wont recognize monitor connected to DisplayPort via HDMI Adapter
I have a thin PC equipped with a Core i7-8550U on which I am running Debian 10 Buster. The board uses Intel HD Graphics 620 and has a HDMI and a Display Port on board. No external graphics card. This board claims it can support up to 3 monitors. I have one monitor (supporting only VGA and HDMI input...
I have a thin PC equipped with a Core i7-8550U on which I am running Debian 10 Buster.
The board uses Intel HD Graphics 620 and has a HDMI and a Display Port on board. No external graphics card. This board claims it can support up to 3 monitors.
I have one monitor (supporting only VGA and HDMI inputs) connected to the HDMI port which is perfectly fine. Since my monitor doesn't support DisplayPort, I purchased a DisplayPort to HDMI adapter. But I simply cannot get the second monitor recognized. I read someplace that the problem may be with the adapter being passive and I bought a second (supposedly) active adapter. I honestly have no way of telling if either of them are really active or passive. I'm just going by what the product claimed on amazon.
I have tried numerous things. I can't even recollect anymore the things I've tried or what driver state my machine is currently at.
Some things tried are
- with and without xserver-xorg-video-intel
- buster-backports firmware-misc-nonfree linux-image-amd64 firmware-linux firmware-linux-nonfree
- buster-backports xserver-xorg-video-intel
One other thing that I tried and failed at completely was drivers from
ppa:oibaf/graphics-drivers
. Install wouldn't work because the repo was not PGP signed. I really did not put any more effort is fixing that issue.
No luck. I really don't know where I should be looking. here are xrandr
and lspci
ouputs
$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
1920x1080 59.96*+
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
**EDIT:**
I disabled wayland and the xrandr output now looks like this.. im just happy to see a hdmi-1 and dp-1 now showing up.. but i still cant seem to get any ouput on my second monitor via DP > HDMI connector + cable
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
1920x1080 60.00*+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 60.02
1440x900 59.90
1280x800 59.91
1280x720 60.00 50.00 59.94
1024x768 60.00
800x600 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 60.00 59.94
720x400 70.08
Happy to provide any additional information to any kind souls out there who can help me get my dual monitor setup working. :)
Denounce'IN
(51 rep)
Jul 2, 2020, 06:15 PM
• Last activity: Apr 22, 2025, 02:03 PM
0
votes
0
answers
56
views
monitor is unknown
I installed a additional touchscreen to my laptop over displaylink. The screen itself works fine. But the vendor / model / serialno is set to "unknown". I need these value to map the touchscreen to the monitor. How can I name the display correct? EDID seems to be correct. hwinfo --monitor shows corr...
I installed a additional touchscreen to my laptop over displaylink.
The screen itself works fine. But the vendor / model / serialno is set to "unknown".
I need these value to map the touchscreen to the monitor.
How can I name the display correct?
EDID seems to be correct.
hwinfo --monitor shows correct data.
.config/monitor.xml is unknown.
I'm running Fedora 40 / gnome 46 / wayland
mxsteini
(1 rep)
Oct 22, 2024, 08:02 PM
2
votes
1
answers
729
views
No displayport over USBC with lenovo ideapad gaming 3 (15IHU6)
Displayport over USBC on linux not recognized I am using archlinux on the Lenovo Ideapad Gaming 3 15IHU6, I cannot get a display to react to the usbc port connection. USBC-USBC is recognized as a "USB billboard device" USBC-DP(mini) is recognized as a "Displayport Alt mode" Neither display any image...
Displayport over USBC on linux not recognized
I am using archlinux on the Lenovo Ideapad Gaming 3 15IHU6,
I cannot get a display to react to the usbc port connection.
USBC-USBC is recognized as a "USB billboard device"
USBC-DP(mini) is recognized as a "Displayport Alt mode"
Neither display any image, neither in X or outside. (My previous laptop - a Tuxedo Computers one) displayed console on all screens attached at boot time).
---
**drivers in use:**
nvidia_drm 126976 2
nvidia_uvm 6717440 0
nvidia_modeset 1650688 1 nvidia_drm
nvidia 72564736 2 nvidia_uvm,nvidia_modeset
video 81920 4 ideapad_laptop,xe,i915,nvidia_modeset
ideapad_laptop 69632 0
platform_profile 12288 1 ideapad_laptop
rfkill 40960 5 iwlmvm,bluetooth,ideapad_laptop,cfg80211
sparse_keymap 12288 2 intel_hid,ideapad_laptop
video 81920 4 ideapad_laptop,xe,i915,nvidia_modeset
i8042 57344 1 ideapad_laptop
wmi 32768 3 video,wmi_bmof,ideapad_laptop
$ pacman -Ss nvidia | grep -i installed -A1
extra/egl-wayland 4:1.1.16-1 [installed]
EGLStream-based Wayland external platform
--
extra/libvdpau 1.5-3 [installed]
Nvidia VDPAU library
extra/libxnvctrl 560.35.03-1 [installed]
NVIDIA NV-CONTROL X extension
--
extra/nvidia 560.35.03-3 [installed]
NVIDIA drivers for linux
--
extra/nvidia-settings 560.35.03-1 [installed]
Tool for configuring the NVIDIA graphics driver
extra/nvidia-utils 560.35.03-2 [installed]
NVIDIA drivers utilities
--
extra/vulkan-nouveau 1:24.2.2-1 [installed]
Open-source Vulkan driver for Nvidia GPUs
extra/xf86-video-nouveau 1.0.17-3 (xorg-drivers) [installed]
Open Source 3D acceleration driver for nVidia cards
mkinitio.conf:
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems fsck)
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
**devices:**
$ sudo lshw -C display
*-display
description: VGA compatible controller
product: TigerLake-LP GT2 [Iris Xe Graphics]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:610-60f iomemory:400-3ff irq:183 memory:6104000000-6104ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
*-display
description: 3D controller
product: GA107M [GeForce RTX 3050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:600-5ff iomemory:610-60f irq:184 memory:54000000-54ffffff memory:6000000000-60ffffffff memory:6100000000-6101ffffff ioport:4000(size=128)
**X setup:**
$ xrandr
[...]
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 196mm
3840x2160 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 30.00
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98*
1400x1050 59.95
1280x1024 60.02
1440x900 59.90
1280x960 60.00
1280x720 60.00 50.00 30.00 25.00 59.94 29.97 24.00 23.98
1024x768 60.00
800x600 60.32
720x480 60.00 59.94
640x480 60.00 59.94
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
$ cat /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "modesetting"
VendorName "Intel Corporation"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
lash
(811 rep)
Sep 7, 2024, 05:31 PM
• Last activity: Sep 7, 2024, 06:40 PM
1
votes
0
answers
311
views
Triggering USB-C DisplayPort alt-mode with libusbgx
Is it possible to make a linux host behave like a USB-C DisplayPort sink? That is, if I were to plug my device running this code into another computer with a USB-C/USB-C cable, the other computer would see my device as a monitor and send data to it as if it were a monitor. I believe what I'm describ...
Is it possible to make a linux host behave like a USB-C DisplayPort sink? That is, if I were to plug my device running this code into another computer with a USB-C/USB-C cable, the other computer would see my device as a monitor and send data to it as if it were a monitor.
I believe what I'm describing is a USB gadget for which I know about [libusbgx](https://github.com/linux-usb-gadgets/libusbgx) however I don't see anything about the alt-modes in that driver.
At a high level, I am trying to build a virtual monitor where I can plug a device into another computer and my device can process the frames that the computer sends to it as if it were a real, physical monitor.
I know that this requires specific hardware, let's assume I have a device that has that chip on it so it can correctly emulate a USB device.
Note: I explicitly do not want to use UVC here because I don't want to install anything on the other computer and the other computer, sans that code, will not negotiate a UVC sink.
kevmo314
(111 rep)
Aug 26, 2024, 06:23 PM
• Last activity: Aug 26, 2024, 07:10 PM
1
votes
0
answers
128
views
Problematic HDMI/Displayport connection after second plugin
I have a Fedora 39 install and a MSI MAG 323UPFDE monitor. Since the monitor has only one display port, I need to connect my laptop through an DisplayPort HDMI adapter. This is a DELOCK 66436 (https://www.delock.de/produkt/66436/merkmale.html?setLanguage=en). - __Direct Diplay port connection__: Wor...
I have a Fedora 39 install and a MSI MAG 323UPFDE monitor.
Since the monitor has only one display port, I need to connect my laptop through an DisplayPort HDMI adapter. This is a DELOCK 66436 (https://www.delock.de/produkt/66436/merkmale.html?setLanguage=en) .
- __Direct Diplay port connection__: Works without any problems.
- __Display port -> DELOCK Adpapter -> HDMI__: Works the first time with no problems. The second time no stable 4k 60 Hz connection can be established.
I could observe the behavior for the first and second HDMI port of the display. I am still trying to debug what causes the issue. Changing the freqency to something else than 60 hz does also not work.
I tried to remove the
~/.config/monitors.xml
file but without any luck.
Therefore I wan to ask (since I could not find anything else): Are there other ways to reset in gnome the remembered monitors?
Niemand
(11 rep)
Apr 6, 2024, 10:46 AM
4
votes
0
answers
2747
views
Thunderbolt - Displayport Monitors not detected on reboot. XPS 13 Arch Linux (endeavourOS)
I am running EndeavourOS (Arch) on a 2017 Dell XPS 13. Kernel 5.7.2-arch1-1 [Hardware name: Dell Inc. XPS 13 9360/02PG84, BIOS 2.13.0 11/14/2019] I have a multi-monitor setup at my desk, that, when working has the following config: ## xrandr: ```Screen 0: minimum 8 x 8, current 7200 x 2560, maximum...
I am running EndeavourOS (Arch) on a 2017 Dell XPS 13. Kernel 5.7.2-arch1-1
[Hardware name: Dell Inc. XPS 13 9360/02PG84, BIOS 2.13.0 11/14/2019]
I have a multi-monitor setup at my desk, that, when working has the following config:
## xrandr:
0: minimum 8 x 8, current 7200 x 2560, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 290mm x 170mm
1920x1080 59.93*+ 59.93
DP1 disconnected (normal left inverted right x axis y axis)
DP1-1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00 + 30.00 25.00 24.00* 29.97 23.98 29.98
DP1-2 connected 1440x2560+5760+0 left (normal left inverted right x axis y axis) 520mm x 300mm
2560x1440 59.95*+
I have deleted the inactive rows to keep this short(er).
DP1-1 and DP 1-2 are connected over a passive thunderbolt to dual display port adapter.
On restart (not on short reboot) the monitors are not detected and the only way I have found to have the OS detect them is to unplug both of them either at the monitor or the display port sockets on the adapter, then plug them back in one by one. Unplugging the adapter at the thunderbolt/usbc port does not result in the monitors working or even showing up in the xrandr output (journal output below after unplugging and re-adding the adapter at the thunderbolt port.
Is there a way to have these monitors consistently detected on reboot, or failing that - a way to 'jolt' the os into detecting them?
Below is the output from
and
just after plugging each monitor back in.
I have inspected the journal from boot and am not finding anything that looks (to me) like the system failing when trying to detect the monitors.
Any help appreciated.
## lspci
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
01:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
39:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
## Here is the output from the journal after plugging monitors back in:
Monitor 1
Jun 22 09:53:32 lvtu autorandr: Failed to load profile 'default': Profile not found (line 1413)
Jun 22 09:53:32 lvtu autorandr: autorandr running as user richardp (started from batch instance)
Jun 22 09:53:32 lvtu autorandr: home
Jun 22 09:53:32 lvtu autorandr: Running autorandr as richardp for display :0
Jun 22 09:53:32 lvtu systemd: autorandr.service: Succeeded.
Jun 22 09:53:32 lvtu systemd: Finished autorandr execution hook.
Jun 22 09:53:32 lvtu audit: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:53:32 lvtu audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:53:32 lvtu kernel: audit: type=1130 audit(1592790812.037:119): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:53:32 lvtu kernel: audit: type=1131 audit(1592790812.037:120): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:53:32 lvtu kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 00000000c66618ae port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
Jun 22 09:53:33 lvtu systemd: Starting autorandr execution hook...
Jun 22 09:53:33 lvtu /usr/lib/gdm-x-session: (II) intel(0): Output DP1-2 has no monitor section
Jun 22 09:53:33 lvtu /usr/lib/gdm-x-session: (II) intel(0): Enabled output DP1-2
Jun 22 09:53:33 lvtu systemd: Condition check resulted in First Boot Wizard being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in File System Check on Root Device being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Store a System Token in an EFI Variable being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Rebuild Hardware Database being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Rebuild Journal Catalog being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Commit a transient machine-id on disk being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Create System Users being skipped.
Jun 22 09:53:33 lvtu systemd: Condition check resulted in Update is Completed being skipped.
Jun 22 09:53:33 lvtu /usr/lib/gdm-x-session: (II) intel(0): resizing framebuffer to 3360x2560
Jun 22 09:53:33 lvtu /usr/lib/gdm-x-session: (II) intel(0): switch to mode 2560x1440@60.0 on DP1-2 using pipe 1, position (1920, 0), rotation left, reflection none
Jun 22 09:53:34 lvtu autorandr: Failed to load profile 'default': Profile not found (line 1413)
Jun 22 09:53:34 lvtu autorandr: autorandr running as user richardp (started from batch instance)
Jun 22 09:53:34 lvtu autorandr: home
Jun 22 09:53:34 lvtu autorandr: Running autorandr as richardp for display :0
Jun 22 09:53:34 lvtu systemd: autorandr.service: Succeeded.
Jun 22 09:53:34 lvtu systemd: Finished autorandr execution hook.
Jun 22 09:53:34 lvtu audit: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:53:34 lvtu audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:53:34 lvtu kernel: audit: type=1130 audit(1592790814.441:121): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:53:34 lvtu kernel: audit: type=1131 audit(1592790814.441:122): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:53:39 lvtu kernel: [drm:drm_dp_mst_dpcd_read [drm_kms_helper]] *ERROR* mstb 00000000c66618ae port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
Monitor 2:
Jun 22 09:55:18 lvtu autorandr: Failed to load profile 'default': Profile not found (line 1413)
Jun 22 09:55:18 lvtu autorandr: autorandr running as user richardp (started from batch instance)
Jun 22 09:55:18 lvtu autorandr: home
Jun 22 09:55:18 lvtu autorandr: Running autorandr as richardp for display :0
Jun 22 09:55:18 lvtu systemd: autorandr.service: Succeeded.
Jun 22 09:55:18 lvtu systemd: Finished autorandr execution hook.
Jun 22 09:55:18 lvtu audit: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:55:18 lvtu audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 09:55:18 lvtu kernel: audit: type=1130 audit(1592790918.282:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:55:18 lvtu kernel: audit: type=1131 audit(1592790918.282:124): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 22 09:55:18 lvtu /usr/lib/gdm-x-session: (--) intel(0): HDMI max TMDS frequency 600000KHz
Jun 22 09:55:35 lvtu fcitx.desktop: (WARN-2664 x11selection.c:309) Selection is too long.
## journal output after plugging in adapter at the thunderbolt port:
richardp@lvtu: journalctl --follow
Jun 23 10:34:34 lvtu /usr/lib/gdm-x-session: (--) intel(0): HDMI max TMDS frequency 600000KHz
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: xHCI host controller not responding, assume dead
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: HC died; cleaning up
Jun 23 10:43:31 lvtu kernel: pcieport 0000:00:1c.0: EDR: ACPI event 0x0 received
Jun 23 10:43:31 lvtu kernel: hub 3-0:1.0: activate --> -19
Jun 23 10:43:31 lvtu kernel: usb 3-1: USB disconnect, device number 2
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: remove, state 4
Jun 23 10:43:31 lvtu kernel: usb usb4: USB disconnect, device number 1
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: USB bus 4 deregistered
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: remove, state 1
Jun 23 10:43:31 lvtu kernel: usb usb3: USB disconnect, device number 1
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: Host halt failed, -19
Jun 23 10:43:31 lvtu kernel: xhci_hcd 0000:39:00.0: Host not accessible, reset failed.
Jun 23 10:43:32 lvtu kernel: xhci_hcd 0000:39:00.0: USB bus 3 deregistered
Jun 23 10:43:32 lvtu kernel: pci_bus 0000:02: Allocating resources
Jun 23 10:43:32 lvtu kernel: pcieport 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 39] add_size 200000 add_align 100000
Jun 23 10:43:32 lvtu kernel: pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
Jun 23 10:43:32 lvtu kernel: pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Jun 23 10:43:32 lvtu kernel: pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
Jun 23 10:43:32 lvtu kernel: pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Jun 23 10:43:32 lvtu kernel: ------------[ cut here ]------------
Jun 23 10:43:32 lvtu kernel: sysfs group 'power' not found for kobject 'i2c-10'
Jun 23 10:43:32 lvtu kernel: WARNING: CPU: 1 PID: 5822 at fs/sysfs/group.c:279 sysfs_remove_group+0x6f/0x80
Jun 23 10:43:32 lvtu kernel: Modules linked in: uinput xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_mark iptable_mangle xt_comment xt_addrtype iptable_raw wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic tun thunderbolt fuse rfcomm uas hid_logitech_hidpp usb_storage hid_logitech_dj usbhid smsc75xx usbnet mii udl cmac algif_hash algif_skcipher af_alg bnep typec_displayport uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common bluetooth videodev mc ecdh_generic ecc snd_hda_codec_hdmi hid_multitouch hid_generic snd_hda_codec_realtek snd_hda_codec_generic joydev mousedev iTCO_wdt iTCO_vendor_support snd_soc_skl snd_soc_sst_ipc x86_pkg_temp_thermal intel_powerclamp snd_soc_sst_dsp snd_hda_ext_core coretemp snd_soc_acpi_intel_match snd_soc_acpi kvm_intel snd_soc_core snd_compress kvm ac97_bus irqbypass i915
Jun 23 10:43:32 lvtu kernel: mei_hdcp snd_pcm_dmaengine mei_wdt intel_rapl_msr snd_hda_intel crct10dif_pclmul wmi_bmof snd_intel_dspcfg dell_wmi ath10k_pci intel_wmi_thunderbolt crc32_pclmul dell_laptop ghash_clmulni_intel ath10k_core mmc_block snd_hda_codec ledtrig_audio dell_smbios snd_hda_core nls_iso8859_1 dell_wmi_descriptor ath snd_hwdep nls_cp437 dcdbas aesni_intel i2c_algo_bit crypto_simd vfat squashfs cryptd glue_helper mac80211 fat drm_kms_helper snd_pcm intel_cstate cec snd_timer rc_core intel_uncore snd cfg80211 intel_rapl_perf intel_gtt psmouse pcspkr input_leds syscopyarea soundcore i2c_i801 intel_lpss_pci mei_me ucsi_acpi rfkill processor_thermal_device intel_xhci_usb_role_switch i2c_hid typec_ucsi intel_lpss intel_rapl_common libarc4 sysfillrect mei roles idma64 intel_soc_dts_iosf intel_pch_thermal typec hid sysimgblt fb_sys_fops wmi battery soc_button_array intel_vbtn evdev intel_hid int3403_thermal int3400_thermal int340x_thermal_zone sparse_keymap acpi_thermal_rel mac_hid ac drm loop sg
Jun 23 10:43:32 lvtu kernel: crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 crc32c_intel xhci_pci rtsx_pci xhci_hcd i8042 serio
Jun 23 10:43:32 lvtu kernel: CPU: 1 PID: 5822 Comm: kworker/1:2 Tainted: G U 5.7.2-arch1-1 #1
[Duplicated output]
Jun 23 10:43:32 lvtu kernel: Hardware name: Dell Inc. XPS 13 9360/02PG84, BIOS 2.13.0 11/14/2019
Jun 23 10:43:32 lvtu kernel: Workqueue: events drm_dp_delayed_destroy_work [drm_kms_helper]
Jun 23 10:43:32 lvtu kernel: RIP: 0010:sysfs_remove_group+0x6f/0x80
Jun 23 10:43:32 lvtu kernel: Code: ff 5b 48 89 ef 5d 41 5c e9 ae c1 ff ff 48 89 ef e8 96 ba ff ff eb d1 49 8b 14 24 48 8b 33 48 c7 c7 b8 be 77 97 e8 48 5c d0 ff 0b 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
Jun 23 10:43:32 lvtu kernel: RSP: 0018:ffffb25fc2f2bd38 EFLAGS: 00010282
Jun 23 10:43:32 lvtu kernel: RAX: 0000000000000000 RBX: ffffffff974ea4a0 RCX: 0000000000000000
Jun 23 10:43:32 lvtu kernel: RDX: 0000000000000001 RSI: 0000000000000086 RDI: 00000000ffffffff
Jun 23 10:43:32 lvtu kernel: RBP: 0000000000000000 R08: 0000000000000512 R09: 0000000000000001
Jun 23 10:43:32 lvtu kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff9b04133e08a8
Jun 23 10:43:32 lvtu kernel: R13: ffff9b04133e0928 R14: dead000000000100 R15: ffff9b04133e0900
Jun 23 10:43:32 lvtu kernel: FS: 0000000000000000(0000) GS:ffff9b05ae440000(0000) knlGS:0000000000000000
Jun 23 10:43:32 lvtu kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 23 10:43:32 lvtu kernel: CR2: 000055e38ec6d800 CR3: 000000014640a004 CR4: 00000000003606e0
Jun 23 10:43:32 lvtu kernel: Call Trace:
Jun 23 10:43:32 lvtu kernel: device_del+0x97/0x3f0
Jun 23 10:43:32 lvtu kernel: device_unregister+0x16/0x60
Jun 23 10:43:32 lvtu kernel: i2c_del_adapter+0x23d/0x300
Jun 23 10:43:32 lvtu kernel: drm_dp_port_set_pdt+0x98/0x2c0 [drm_kms_helper]
Jun 23 10:43:32 lvtu kernel: drm_dp_delayed_destroy_work+0x235/0x320 [drm_kms_helper]
Jun 23 10:43:32 lvtu kernel: process_one_work+0x1da/0x3d0
Jun 23 10:43:32 lvtu kernel: worker_thread+0x4d/0x3e0
Jun 23 10:43:32 lvtu kernel: ? rescuer_thread+0x3f0/0x3f0
Jun 23 10:43:32 lvtu kernel: kthread+0x13e/0x160
Jun 23 10:43:32 lvtu kernel: ? __kthread_bind_mask+0x60/0x60
Jun 23 10:43:32 lvtu kernel: ret_from_fork+0x35/0x40
Jun 23 10:43:32 lvtu kernel: ---[ end trace 6d0f32557a6e8871 ]---
Jun 23 10:43:32 lvtu systemd: Condition check resulted in First Boot Wizard being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in File System Check on Root Device being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Store a System Token in an EFI Variable being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Rebuild Hardware Database being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Rebuild Journal Catalog being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Commit a transient machine-id on disk being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Create System Users being skipped.
Jun 23 10:43:32 lvtu systemd: Condition check resulted in Update is Completed being skipped.
Jun 23 10:43:32 lvtu systemd: Starting autorandr execution hook...
Jun 23 10:43:32 lvtu /usr/lib/gdm-x-session: (II) intel(0): Disabled output DP1-2
Jun 23 10:43:33 lvtu /usr/lib/gdm-x-session: (II) intel(0): resizing framebuffer to 1920x1080
Jun 23 10:43:33 lvtu autorandr: Failed to load profile 'default': Profile not found (line 1413)
Jun 23 10:43:33 lvtu autorandr: autorandr running as user richardp (started from batch instance)
Jun 23 10:43:33 lvtu autorandr: home
Jun 23 10:43:33 lvtu autorandr: Running autorandr as richardp for display :0
Jun 23 10:43:33 lvtu systemd: autorandr.service: Succeeded.
Jun 23 10:43:33 lvtu systemd: Finished autorandr execution hook.
Jun 23 10:43:33 lvtu audit: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 23 10:43:33 lvtu audit: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 23 10:43:33 lvtu kernel: audit: type=1130 audit(1592880213.962:158): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 23 10:43:33 lvtu kernel: audit: type=1131 audit(1592880213.962:159): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=autorandr comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
Jun 23 10:43:37 lvtu kernel: pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
Jun 23 10:43:37 lvtu kernel: pcieport 0000:00:1c.0: AER: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Jun 23 10:43:37 lvtu kernel: pcieport 0000:00:1c.0: AER: device [8086:9d10] error status/mask=00002001/00002000
Jun 23 10:43:37 lvtu kernel: pcieport 0000:00:1c.0: AER: [ 0] RxErr (First)
Jun 23 10:43:37 lvtu kernel: pcieport 0000:00:1c.0: EDR: ACPI event 0x0 received
Jun 23 10:43:37 lvtu kernel: pcieport 0000:02:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Jun 23 10:43:37 lvtu kernel: pci_bus 0000:03: busn_res: [bus 03] is released
Jun 23 10:43:37 lvtu kernel: pci_bus 0000:04: busn_res: [bus 04-38] is released
Jun 23 10:43:37 lvtu kernel: pci_bus 0000:39: busn_res: [bus 39] is released
Jun 23 10:43:37 lvtu kernel: pci_bus 0000:02: busn_res: [bus 02-39] is released
Jun 23 10:43:37 lvtu boltd: probing: removing /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 from roots
Jun 23 10:43:42 lvtu kernel: pcieport 0000:00:1c.0: EDR: ACPI event 0x0 received
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: [8086:1576] type 01 class 0x060400
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: enabling Extended Tags
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: supports D1 D2
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: 15.752 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x2 link at 0000:00:1c.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: [8086:1576] type 01 class 0x060400
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: enabling Extended Tags
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: supports D1 D2
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: [8086:1576] type 01 class 0x060400
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: enabling Extended Tags
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: supports D1 D2
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: [8086:1576] type 01 class 0x060400
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: enabling Extended Tags
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: supports D1 D2
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: PCI bridge to [bus 02-39]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [mem 0xc4000000-0xda0fffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: PCI bridge to [bus 03]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: bridge window [mem 0xda000000-0xda0fffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: PCI bridge to [bus 04-38]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [mem 0xc4000000-0xd9efffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: [8086:15b5] type 00 class 0x0c0330
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: reg 0x10: [mem 0xd9f00000-0xd9f0ffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: enabling Extended Tags
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: supports D1 D2
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 23 10:43:42 lvtu kernel: pci 0000:39:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:02:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: PCI bridge to [bus 39]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: bridge window [mem 0xd9f00000-0xd9ffffff]
Jun 23 10:43:42 lvtu kernel: pci_bus 0000:02: Allocating resources
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [io 0x1000-0x0fff] to [bus 04-38] add_size 1000
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: bridge window [io 0x1000-0x0fff] to [bus 39] add_size 1000
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 39] add_size 200000 add_align 100000
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [io 0x1000-0x0fff] to [bus 02-39] add_size 3000
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: BAR 13: assigned [io 0x2000-0x4fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: BAR 13: assigned [io 0x2000-0x2fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: BAR 13: assigned [io 0x3000-0x3fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: PCI bridge to [bus 03]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:00.0: bridge window [mem 0xda000000-0xda0fffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: PCI bridge to [bus 04-38]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [io 0x2000-0x2fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [mem 0xc4000000-0xd9efffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:01.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: PCI bridge to [bus 39]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: bridge window [io 0x3000-0x3fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:02:02.0: bridge window [mem 0xd9f00000-0xd9ffffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: PCI bridge to [bus 02-39]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [io 0x2000-0x4fff]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [mem 0xc4000000-0xda0fffff]
Jun 23 10:43:42 lvtu kernel: pci 0000:01:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
Jun 23 10:43:42 lvtu kernel: pcieport 0000:01:00.0: enabling device (0006 -> 0007)
Jun 23 10:43:42 lvtu kernel: pcieport 0000:02:01.0: enabling device (0006 -> 0007)
Jun 23 10:43:42 lvtu kernel: pcieport 0000:02:02.0: enabling device (0006 -> 0007)
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: xHCI Host Controller
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: new USB bus registered, assigned bus number 3
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810
Jun 23 10:43:42 lvtu kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
Jun 23 10:43:42 lvtu kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun 23 10:43:42 lvtu kernel: usb usb3: Product: xHCI Host Controller
Jun 23 10:43:42 lvtu kernel: usb usb3: Manufacturer: Linux 5.7.2-arch1-1 xhci-hcd
Jun 23 10:43:42 lvtu kernel: usb usb3: SerialNumber: 0000:39:00.0
Jun 23 10:43:42 lvtu kernel: hub 3-0:1.0: USB hub found
Jun 23 10:43:42 lvtu kernel: hub 3-0:1.0: 2 ports detected
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: xHCI Host Controller
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: new USB bus registered, assigned bus number 4
Jun 23 10:43:42 lvtu kernel: xhci_hcd 0000:39:00.0: Host supports USB 3.1 Enhanced SuperSpeed
Jun 23 10:43:42 lvtu kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
Richard Parris
(41 rep)
Jun 23, 2020, 03:08 AM
• Last activity: Apr 4, 2024, 08:41 AM
0
votes
0
answers
198
views
Command that spits out exact display mode used? (Including DSC, chroma subsampling, etc.)
Are there any commands out there that will tell me something like: ``` Current display mode: 3840x2160, 120Hz, 10-bit, YCbCr422 (DSC unsupported) Available display modes: * 3840x2160, 120Hz, 8-bit, RGB444 * 3840x2160, 120Hz, 8-bit, YCbCr444 * 3840x2160, 60Hz, 10-bit, RGB444 * etc. ``` Everything I'v...
Are there any commands out there that will tell me something like:
Current display mode: 3840x2160, 120Hz, 10-bit, YCbCr422 (DSC unsupported)
Available display modes:
* 3840x2160, 120Hz, 8-bit, RGB444
* 3840x2160, 120Hz, 8-bit, YCbCr444
* 3840x2160, 60Hz, 10-bit, RGB444
* etc.
Everything I've seen so far is missing information on bitrate, chroma subsampling, and DSC status.
Archagon
(101 rep)
Jan 1, 2024, 09:44 PM
8
votes
1
answers
2758
views
How can I get stable video output names?
- System: Dell Latitude 5591 - CPU i7-8850H - GPU: integrated Intel HD630 (no dedicated GPU) - USB-C Dock: WD15 - Screens: 2x Acer G226HQL (connected via HDMI directly and DVI-to-miniDP-Adapter to dock) - OS: KDE neon 18.4 - Kernel: 5.3.0-45-generic Every time I replug the dock, the screens stay bla...
- System: Dell Latitude 5591
- CPU i7-8850H
- GPU: integrated Intel HD630 (no dedicated GPU)
- USB-C Dock: WD15
- Screens: 2x Acer G226HQL (connected via HDMI directly and DVI-to-miniDP-Adapter to dock)
- OS: KDE neon 18.4
- Kernel: 5.3.0-45-generic
Every time I replug the dock, the screens stay black. I have to open xrandr (arandr, KDE Display Configuration, whatever) to reenable the triple screen layout. I suspect that this is caused by the port names not being stable:
Everything configured:
grep . /sys/class/drm/*/status
/sys/class/drm/card0-DP-1/status:disconnected
/sys/class/drm/card0-DP-2/status:disconnected
/sys/class/drm/card0-DP-5/status:connected # <---- 5
/sys/class/drm/card0-DP-7/status:connected # <---- 7
/sys/class/drm/card0-DP-8/status:disconnected
/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card0-HDMI-A-1/status:disconnected
/sys/class/drm/card0-HDMI-A-2/status:disconnected
/sys/class/drm/card0-HDMI-A-3/status:disconnected
Now, when I unplug and replug the dock:
/sys/class/drm/card0-DP-1/status:disconnected
/sys/class/drm/card0-DP-2/status:disconnected
/sys/class/drm/card0-DP-6/status:connected # <---- 6
/sys/class/drm/card0-DP-8/status:connected # <---- 8
/sys/class/drm/card0-DP-9/status:disconnected
/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card0-HDMI-A-1/status:disconnected
/sys/class/drm/card0-HDMI-A-2/status:disconnected
/sys/class/drm/card0-HDMI-A-3/status:disconnected
DP-5
and DP-7
are now known as DP-6
and DP-8
. The numbers are altered every time.
How to prevent this?
**Edit 1:** Noticed a behavior that might be related. I have a temperature widget that monitors the PCH temperature. After every reboot it changes it's name as well. The number in acpi/Thermal_Zone/1-pch_cannonlake/Temperature
is altered almost on every reboot. Have to reconfigure the monitor quite frequently.
**Edit 2:** Found a thread on the arch forum that described a very similar problem. Solution in their case was a downgrade to kernel 4.18. I am currently running 4.18.0-25-generic
and it seems to solve the issue.
**Edit 2a:** Now with 4.18.0-25-generic
I noticed a difference. The output of grep . /sys/class/drm/*/status
stays the same, the numbers are still altered on every reconnect
grep . /sys/class/drm/*/status
/sys/class/drm/card0-DP-1/status:disconnected
/sys/class/drm/card0-DP-2/status:disconnected
/sys/class/drm/card0-DP-5/status:connected # <--- DP-5!
/sys/class/drm/card0-DP-6/status:connected # <--- DP-6!
/sys/class/drm/card0-DP-7/status:disconnected
/sys/class/drm/card0-eDP-1/status:connected
/sys/class/drm/card0-HDMI-A-1/status:disconnected
/sys/class/drm/card0-HDMI-A-2/status:disconnected
/sys/class/drm/card0-HDMI-A-3/status:disconnected
but xrandr
somehow "sees" stable numbers like DP-1-1
and DP-1-2
:
xrandr -q | grep connected
eDP-1 connected 1920x1080+3839+0 (normal left inverted right x axis y axis) 344mm x 194mm
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
DP-1-2 connected primary 1920x1080+1919+0 (normal left inverted right x axis y axis) 509mm x 286mm
DP-1-3 disconnected (normal left inverted right x axis y axis)
On newer kernels xrandr saw the same numbers as they were enumerated by drm.
Marc Wittke
(377 rep)
May 2, 2020, 09:03 PM
• Last activity: Nov 6, 2023, 05:22 AM
0
votes
3
answers
4156
views
Black screen in GRUB via DisplayPort
My PC specs: - Motherboard: Asus Maximus V Gene - CPU: Intel Core i7 3770 - GPU: nVidia GeForce GTX 780 Ti - Monitor: SAMSUNG C27JG50QQI 27" 144Hz OS: - Arch Linux 5.3.7-arch1-1-ARCH I have to use DisplayPort connection, because my GPU can provide 144 Hz frequency only thru this connection. My probl...
My PC specs:
- Motherboard: Asus Maximus V Gene
- CPU: Intel Core i7 3770
- GPU: nVidia GeForce GTX 780 Ti
- Monitor: SAMSUNG C27JG50QQI 27" 144Hz
OS:
- Arch Linux 5.3.7-arch1-1-ARCH
I have to use DisplayPort connection, because my GPU can provide 144 Hz frequency only thru this connection.
My problem is that I can't see anything on monitor until OS booted.
But when GRUB loaded I can see black screen with backlight. Monitor works (power led not blinking), but it shows nothing.
When OS loaded, everything works perfect.
If I try to connect second monitor via HDMI, DP-monitor will sleep (power led is blinking) until OS booted; and on the second (HDMI) monitor I can see everything: BIOS, GRUB, etc.
The problem manifests itself exclusively when connected via DisplayPort. Any other GPU interfaces works well.
BIOS mode is UEFI and Legacy both enabled.
Motherboard and GPU BIOS is default and I don't want to update them. I dont't need to change BIOS settings regulary, but I want to see GRUB menu.
How can I try to configure GRUB to load any driver or special mode to fix this problem?
Here is my current GRUB config:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos5' --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
else
search --no-floppy --fs-uuid --set=root 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos5' --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
else
search --no-floppy --fs-uuid --set=root 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/Vimix/unifont-regular-16.pf2
insmod jpeg
insmod png
set theme=($root)/boot/grub/themes/Vimix/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-64927bd4-fea7-4e9c-9a30-18bd16b6f52a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos5' --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
else
search --no-floppy --fs-uuid --set=root 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=64927bd4-fea7-4e9c-9a30-18bd16b6f52a rw quiet video=DP-1:e
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-64927bd4-fea7-4e9c-9a30-18bd16b6f52a' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-64927bd4-fea7-4e9c-9a30-18bd16b6f52a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos5' --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
else
search --no-floppy --fs-uuid --set=root 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=64927bd4-fea7-4e9c-9a30-18bd16b6f52a rw quiet video=DP-1:e
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-64927bd4-fea7-4e9c-9a30-18bd16b6f52a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos5' --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
else
search --no-floppy --fs-uuid --set=root 64927bd4-fea7-4e9c-9a30-18bd16b6f52a
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=64927bd4-fea7-4e9c-9a30-18bd16b6f52a rw quiet video=DP-1:e
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10" --class windows --class os {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set E2D01551D0152CF3
chainloader +1
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
ZPro
(1 rep)
Oct 21, 2019, 08:53 PM
• Last activity: Nov 1, 2023, 07:24 PM
1
votes
1
answers
3669
views
How to resolve no output from display port in Debian?
I am about to lose it. I have been using Debian for a year and have not been able to resolve this issue; it is installed on my Lenovo W530 with a Quadro K1000M. I currently have a recent Debian testing distribution; I have installed the legacy NVIDIA driver for my discrete GPU which I believe is con...
I am about to lose it. I have been using Debian for a year and have not been able to resolve this issue; it is installed on my Lenovo W530 with a Quadro K1000M.
I currently have a recent Debian testing distribution; I have installed the legacy NVIDIA driver for my discrete GPU which I believe is connected to my mini DP port. I have bumblebee installed with optirun fully operational, and I have updated to the most recent bios. This mini DP port is operational on Windows and KUbuntu. Whether I am using the nouveau driver or, as I do now, have it black listed, I am unable to connect to the display port; however, when I plug it in, Kwin detects it but choosing any of the options causes no output whatsoever. The device is not listed on xrandr, but dmesg does indicate that the device does indeed exist, and implies that it is being loaded.
journalctl - https://justpaste.it/3zok2
dmesg - https://justpaste.it/2cr26
xrandr outputs- https://justpaste.it/33y8z
xorg log - https://justpaste.it/1wi4i
I don't care if I have to just use the iGPU, the dGPU or have to use bumblebee; I desperately want the mini DP
I've tried
https://unix.stackexchange.com/questions/25120/xrandr-doesnt-detect-monitor-on-hdmi-port
https://forums.gentoo.org/viewtopic-t-1090914-start-0.html
https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup
And many other solutions that I cannot recall.
daiamos
(11 rep)
Apr 21, 2020, 02:35 AM
• Last activity: Sep 12, 2023, 06:05 PM
1
votes
0
answers
302
views
Thinkpad dual-monitor connectivity issue in a docking station
- Laptop is `ThinkPad P14s Gen 1 (AMD)` with dedicated GPU - Docking station: `40AJ` (port colors don't match the ones in the picture, but should be [this one](https://pcsupport.lenovo.com/uu/en/solutions/pd500173)) - Two identical screens are connected via DP - no desktop environment, [i3](https://...
- Laptop is
ThinkPad P14s Gen 1 (AMD)
with dedicated GPU
- Docking station: 40AJ
(port colors don't match the ones in the picture, but should be [this one](https://pcsupport.lenovo.com/uu/en/solutions/pd500173))
- Two identical screens are connected via DP
- no desktop environment, [i3](https://i3wm.org/) window manager
---
Issues started right from the start ~2 years ago (~beginning of 2021):
- computer couldn't be suspended, as at resume the screens wouldn't connect
- computer couldn't be detached & re-attached from the docking station for same reason
- if screens where to switch off due to power saving, then more often than not they wouldn't connect properly when they were woken up
- if you'd let screens switch off by power saver and then wait through the endless flickering on wake-up in hopes they'd reconnect, it usually ended up in a crash - likely the gpu drivers
Thus far I've avoided these issues by not suspending, not detaching from docking station, and instead of allowing screens to go to power saving mode, I'd switch them off via the physical pwr button -- for some reason this didn't cause the problems on eventual wake-up.
Past week or two (~beginning of 2023), however, the problems have gotten worse:
- screens hardly connect on startup (didn't use to be an issue)
- if they do connect, then oftentimes the second screen mirrors the first
- the workaround by switching screens off via the pwr button no longer works - screens fail to connect on wake-up.
---
$ lspci -k | grep -EA3 'VGA'
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d1)
Subsystem: Lenovo Renoir
Kernel driver in use: amdgpu
Kernel modules: amdgpu
$ uname -a
Linux p14s 6.1.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.4-1 (2023-01-07) x86_64 GNU/Linux
Unsure what data to provide, but [here are some possibly relevant stack traces from kern log](https://gist.github.com/laur89/20eea036016c3c1520cc4f95489fd9ff)
---
Edit: Looks like it's reverted back to the old state of things - I can sort of get around it by not suspending/detaching from dock, but after long idle the monitors still won't reconnect.
**Edit 2** June '23: after updating to trixie
(codename of new Debian testing/next stable), the problem appears to have disappeared altogether. Current likely related packages:
firmware-amd-graphics 20230515-2
xserver-xorg-video-radeon 1:19.1.0-3
xserver-xorg-video-amdgpu 23.0.0-1
linux-image-amd64 6.3.7-1
libdrm2 2.4.115-1
libdrm-amdgpu1 2.4.115-1
laur
(790 rep)
Jan 27, 2023, 11:48 AM
• Last activity: Jul 3, 2023, 05:58 PM
0
votes
1
answers
330
views
Software method to unplug/re-plug a DisplayPort cable to re-initialise the connection?
Is there any software way to have the same effect as unplugging/re-plugging a DisplayPort cable without physically doing so? The reason why I want to know is that my Dell monitor's resolution becomes 640*480 (native resolution is not found) and its name becomes "Unknown display" after waking up from...
Is there any software way to have the same effect as unplugging/re-plugging a DisplayPort cable without physically doing so?
The reason why I want to know is that my Dell monitor's resolution becomes 640*480 (native resolution is not found) and its name becomes "Unknown display" after waking up from sleep in multi-monitor settings with different physical resolutions. The only two ways I have found that restore the monitor are:
1. Unplug the monitor's power cable, wait till the light is gone from its button, and then plug it again so that the monitor sort-of reboots showing the Dell logo
2. Unplug the DisplayPort cable from the back of the GPU, and then plug it again.
But doing either of the two physically is cumbersome. Since I guess the (2) is probably telling the GPU to re-initialise the DP connection to the monitor, I thought that it might be possible to do that in software.
----
If it's relevant, my kernel version is 6.3.9, and I am using Wayland Gnome. It does not work to enable/disable the monitor in Gnome Settings -> Displays.
Damn Vegetables
(1539 rep)
Jun 29, 2023, 12:26 AM
• Last activity: Jun 29, 2023, 08:52 AM
0
votes
0
answers
835
views
Displayport to hdmi cable goes no signal in ubuntu after 10 seconds
I bought a Displayport to HDMI cable to use my second monitor, on my b660 plus asus motherboard which has a displayport along an hdmi port. I also have igpu on cpu (intel 12400). When I connect my both monitors separately through HDMI, there is no problem everything is good. But when I connect a sin...
I bought a Displayport to HDMI cable to use my second monitor, on my b660 plus asus motherboard which has a displayport along an hdmi port. I also have igpu on cpu (intel 12400). When I connect my both monitors separately through HDMI, there is no problem everything is good. But when I connect a single monitor via Displayport to HDMI cable, I have screen for maybe 10 secs, then the screen goes black (with "no signal" message), then unplugging the DP cable won't even get the screen back for that short period, but unplugging the power cable along DP cable, and plugging both cables again would give us back the screen for that short nearly 10 seconds period.
I have no idea why this issue happens in this form for my device, I should also mention that when I plug DP to HDMI only, and navigate to BIOS, I have screen with no problem there, as soon as I exit the BIOS, my screen again goes black even in the boot section.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:600-5ff iomemory:400-3ff irq:180 memory:6002000000-6002ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+ 74.97 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
It is really odd that in the short 10 seconds period when I get the output of xrandr command, I see the DP connected monitor in the HDMI-1 part above.
I would be grateful for any kinds of assistance, since I'm struggling with this frustrating issue for a couple of days.
Mahdi AmirABody
(1 rep)
Mar 29, 2023, 08:00 AM
0
votes
0
answers
1174
views
External Monitor Not Working Fedora 37
I am using Fedora 37 and for some reason my external monitor is not working. I have a USB-C display port directly connected to my NVIDIA graphics card (as far as I can tell). The graphics card appears to be working fine (`nvidia-smi` looks normal). The monitor gets detected but the computer still wi...
I am using Fedora 37 and for some reason my external monitor is not working. I have a USB-C display port directly connected to my NVIDIA graphics card (as far as I can tell). The graphics card appears to be working fine (
nvidia-smi
looks normal).
The monitor gets detected but the computer still will not display too it
At first I thought it was a wayland issue and I tried the suggestion here which worked for another user on Fedora 31, restarted and logged in with Xorg, but it did not work for me.
I noticed dmesg
ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-95)
I havent found a solution for this
Also when I go to settings and try to change the monitor resolution, the whole screen dims and I cant interact with any menus, its almost like it thinks the primary monitor is the secondary monitor.
Also the resolution for the secondary monitor , *I think* is set too high. Closer too that of my primary monitor.
How can I make Fedora 37 render correctly too my secondary monitor?
The monitor by the way is an old VGA display but it has a VGA-display port adapter
The Floating Brain
(151 rep)
Mar 24, 2023, 09:43 PM
1
votes
1
answers
1756
views
How to get xrandr to output three 1680x1050 video signals over this USB-C dock at 60Hz?
I have three identical 1680x1050 monitors and am trying to use them via the “HP G5 USB-C dock” on my Razer Blade 15" 2018 laptop and its Thunderbolt 3 port. With `xrandr` I can get all displays working simultaneously sometimes, but never in the resolutions I want to. If I build modelines myself, I c...
I have three identical 1680x1050 monitors and am trying to use them via the “HP G5 USB-C dock” on my Razer Blade 15" 2018 laptop and its Thunderbolt 3 port. With
xrandr
I can get all displays working simultaneously sometimes, but never in the resolutions I want to.
If I build modelines myself, I can run all three with 1680x1050 with 49Hz. Are 60Hz not possible? Maybe it is a pixel clock issue.
xrandr | egrep '^[^ ]' | grep -v 'Screen 0:' | sed -e 's/ (.*//'
prints this without the dock connected:
eDP-1 connected primary 1920x1080+0+0
DP-1 disconnected
DP-2 disconnected
HDMI-1-1 disconnected
DP-1-3 disconnected
after hotplugging the dock I see:
eDP-1 connected primary 1920x1080+0+0
DP-1 disconnected
DP-2 disconnected
DP-1-1 connected
DP-1-2 connected
DP-1-3 disconnected
HDMI-1-1 disconnected
booting with the dock shows:
eDP-1 connected primary 1920x1080+0+0
DP-1 disconnected
DP-2 disconnected
DP-1-1 connected
DP-1-2 connected
DP-1-3 connected
HDMI-1-1 disconnected
DP-1-6 disconnected
With the dock hotplugged I can’t configure xrandr --output DP-1-3 --auto
. I get xrandr: cannot find preferred mode
. Booting with it works, though.
Trying to enable the third monitor with 1680x1050@60 produces xrandr: Configure crtc 0 failed
. I even used a modeline generated with cvt -r
. I think the monitors are too old for CVT-RBv2.
[asking for a friend @bain]
Robert Siemer
(2445 rep)
Feb 24, 2023, 12:31 AM
• Last activity: Mar 1, 2023, 07:34 AM
0
votes
0
answers
645
views
Slow Boot Up on Display Port Compared to HDMI
I installed my Nvidia GeForce GTX 1060 driver on my Fedora 37 following this [guide](https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/) and everything seems to be working. The problem I have is when I plug in my Display Port. My screen would become black and it takes roughly 10 minute...
I installed my Nvidia GeForce GTX 1060 driver on my Fedora 37 following this [guide](https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/) and everything seems to be working. The problem I have is when I plug in my Display Port. My screen would become black and it takes roughly 10 minutes or more for the system to fully boot into the desktop environment. The weird thing is this issue doesn't happen when using the HDMI connection. It takes about 1-2 minutes for the system to boot up. I've searched everywhere for this symptom and people tend to point to the faulty cable. I purchased a new cable from a reputable company and it didn't make any difference. I also looked at the thread posted in https://ask.fedoraproject.org/t/black-screen-after-updating-to-6-1-5-200-fc37-w-nvidia-drivers/30759 and https://ask.fedoraproject.org/t/multiple-displayport-displays-slow-boot-flickering/10132 . My problem seems to be the same if I use the DP cable; otherwise, it doesn't apply.
In addition, I cannot see or get into the BIOS Screen with the DP cable attached but I can access the BIOS with the HDMI cable. There was a fix from Nvidia, , and luckily I had an old Windows drive that I installed on my system. I was able to boot it up to do the update. After that, I disconnected my Windows drive and boot off my M2 NVME Sata Drive with Fedora 37.
My current connection is one DP cable going from the graphic card to my monitor and daisy chained from one monitor to another terminated at the 3rd monitor.
Here's the result from the HDMI boot process:
systemd-analyze
Startup finished in 13.680s (firmware) + 7.079s (loader) + 1.798s (kernel) + 12.596s (initrd) + 9.190s (userspace) = 44.346s
graphical.target reached after 9.162s in userspace.
systemd-analyze blame | head -n 20
1min 58.150s fstrim.service
18.898s dnf-makecache.service
13.071s sys-module-fuse.device
13.036s sys-devices-platform-serial8250-tty-ttyS1.device
13.036s dev-ttyS1.device
13.035s dev-ttyS18.device
13.035s sys-devices-platform-serial8250-tty-ttyS18.device
13.034s sys-devices-platform-serial8250-tty-ttyS12.device
13.034s dev-ttyS12.device
13.033s sys-devices-platform-serial8250-tty-ttyS13.device
13.033s dev-ttyS13.device
13.033s sys-devices-platform-serial8250-tty-ttyS11.device
13.033s dev-ttyS11.device
13.033s sys-devices-platform-serial8250-tty-ttyS10.device
13.033s dev-ttyS10.device
13.033s sys-devices-platform-serial8250-tty-ttyS14.device
13.033s dev-ttyS14.device
13.032s sys-devices-platform-serial8250-tty-ttyS0.device
13.032s dev-ttyS0.device
13.031s sys-devices-platform-serial8250-tty-ttyS15.device
systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @9.162s
└─multi-user.target @9.162s
└─plymouth-quit-wait.service @6.550s +2.602s
└─systemd-user-sessions.service @6.514s +23ms
└─remote-fs.target @6.501s
└─remote-fs-pre.target @6.501s
└─nfs-client.target @2.964s
└─gssproxy.service @2.945s +18ms
└─network.target @2.941s
└─wpa_supplicant.service @8.286s +10ms
└─dbus-broker.service @2.248s +19ms
└─dbus.socket @2.150s
└─sysinit.target @2.147s
└─systemd-resolved.service @2.045s +101ms
└─systemd-tmpfiles-setup.service @1.973s +54ms
└─import-state.service @1.915s +30ms
└─local-fs.target @1.914s
└─boot-efi.mount @1.902s +11ms
└─boot.mount @1.569s +11ms
└─systemd-fsck@dev-disk-by\x2duuid-49e7acd7\x2d0f9e\x2d4eea\x2d905a\x>
└─local-fs-pre.target @1.497s
└─lvm2-monitor.service @839ms +655ms
└─dm-event.socket @820ms
└─system.slice
└─-.slice
Here's the result from DP connection. The difference is 7 minutes in boot time. What gives?
systemd-analyze
Startup finished in 2min 2.252s (firmware) + 7.057s (loader) + 1.749s (kernel) + 2min 58.356s (initrd) + 2min 50.312s (userspace) = 7min 59.728s
graphical.target reached after 2min 50.281s in userspace.
systemd-analyze blame | head -n 20
2min 58.726s dev-disk-by\x2ddiskseq-2.device
2min 58.726s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.device
2min 58.726s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sr0.device
2min 58.726s dev-sr0.device
2min 58.726s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0.device
2min 58.726s dev-cdrom.device
2min 58.726s dev-disk-by\x2did-ata\x2dASUS_BW\x2d12B1ST_a_K9PF4GH0434.device
2min 58.716s sys-module-fuse.device
2min 58.692s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.0.device
2min 58.692s sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr1.device
2min 58.692s dev-sr1.device
2min 58.692s dev-disk-by\x2did-ata\x2dHL\x2dDT\x2dST_BD\x2dRE_WH16NS40_K93F23H1928.device
2min 58.692s dev-disk-by\x2ddiskseq-4.device
2min 58.692s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.device
2min 58.675s sys-devices-platform-serial8250-tty-ttyS11.device
2min 58.675s dev-ttyS11.device
2min 58.675s dev-ttyS10.device
2min 58.675s sys-devices-platform-serial8250-tty-ttyS10.device
2min 58.674s sys-devices-platform-serial8250-tty-ttyS1.device
2min 58.674s dev-ttyS1.device
systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @2min 50.281s
└─multi-user.target @2min 50.281s
└─plymouth-quit-wait.service @5.694s +2min 44.576s
└─systemd-user-sessions.service @5.661s +21ms
└─remote-fs.target @5.649s
└─remote-fs-pre.target @5.649s
└─nfs-client.target @2.618s
└─gssproxy.service @2.591s +26ms
└─network.target @2.581s
└─wpa_supplicant.service @2min 49.191s +9ms
└─dbus-broker.service @2.148s +26ms
└─dbus.socket @2.043s
└─sysinit.target @2.040s
└─systemd-resolved.service @1.936s +104ms
└─systemd-tmpfiles-setup.service @1.870s +48ms
└─import-state.service @1.794s +34ms
└─local-fs.target @1.793s
└─boot-efi.mount @1.778s +14ms
└─boot.mount @1.446s +8ms
└─systemd-fsck@dev-disk-by\x2duuid-49e7acd7\x2d0f9e\x2d4eea\x2d905a\x2d224a26ff22e9.service @1.395s +28ms
└─local-fs-pre.target @1.391s
└─lvm2-monitor.service @723ms +666ms
└─dm-event.socket @704ms
└─system.slice
└─-.slice
I'm out of ideas and I'm hoping someone can assist. I'll be greatly appreciated it!
dreamzboy
(101 rep)
Feb 7, 2023, 08:33 AM
• Last activity: Feb 7, 2023, 09:02 AM
1
votes
1
answers
2214
views
DisplayPort not listed as playback device. How can I add it?
I want to send my audio to the connected monitor on my displayport output. I use KDE on devuan. **I can play manually using `aplay` (see below), the device seems to just not be listed**, so I exclude driver issues. Using pactl I found the port which the monitor is connected (-> `hdmi-output-1`): ```...
I want to send my audio to the connected monitor on my displayport output. I use KDE on devuan.
**I can play manually using
aplay
(see below), the device seems to just not be listed**, so I exclude driver issues.
Using pactl I found the port which the monitor is connected (-> hdmi-output-1
):
$ pactl list cards
...
Card #1
Name: alsa_card.pci-0000_00_1f.3
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 136"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9d71"
device.product.name = "Sunrise Point-LP HD Audio"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: yes)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: yes)
output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: yes)
output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:analog-stereo+input:analog-stereo
Ports:
...
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, available)
Properties:
device.icon_name = "video-display"
device.product.name = "LC49G95T"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
...
I can list and play a test sound using aplay
(-> 0,7
, which is hdmi 1 as found above):
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
...
$ aplay -D plughw:0,7 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
And I do hear the sound coming from the monitor.
So I'm only missing to activate/enable this port to make available in my kde audio manager, how can I do that?
Dionysius
(155 rep)
Jan 24, 2023, 12:58 PM
• Last activity: Jan 24, 2023, 01:55 PM
Showing page 1 of 20 total questions