Ask Your Question

elegos's profile - activity

2019-02-21 08:35:58 -0500 received badge  Famous Question (source)
2018-09-14 06:24:03 -0500 received badge  Notable Question (source)
2018-03-29 15:49:01 -0500 received badge  Popular Question (source)
2017-12-19 06:54:52 -0500 received badge  Notable Question (source)
2017-12-19 06:54:52 -0500 received badge  Popular Question (source)
2017-11-24 08:14:37 -0500 commented question USB C to HDMI plus Power Adapter

@genodeftest: Laptop's = of laptop (genitive). I'm not sure whether my hardware supports the HDMI mode for USB-C, it's part of the question. How can I check it? I thought it was all about the GPU (in this case, the CPU's) and the USB controller

2017-11-08 08:52:57 -0500 asked a question USB C to HDMI plus Power Adapter


I've got an HP ProBook with an Intel i7-7500U (and integrated GPU). I've got a single USB 3 type C port, which I've connected a Lenovo USB-C to HDMI adapter. It was advised as a linux-friendly hardware (no extra drivers needed), but I can't find the way to let it work...

My current display monitors setup is the following: - Laptop's - HDMI - VGA

Desired setup: - Laptop's - HDMI - HDMI via USB type C

I've then disconnected the VGA port and connected the USB-HDMI adapter, connecting then the third monitor.

This is the output of lsusb:

Bus 001 Device 009: ID 17ef:7212 Lenovo


[21050.824692] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[21051.334556] usb 1-2: New USB device found, idVendor=17ef, idProduct=7212
[21051.334565] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21051.334570] usb 1-2: Product: USB C to HDMI plus Power Adapter
[21051.334575] usb 1-2: Manufacturer: Lenovo 
[21051.334579] usb 1-2: SerialNumber: 0000000000000001

xrandr --query:

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
XWAYLAND1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     59.96*+
XWAYLAND2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   1920x1080     59.96*+

The monitor list (in GNOME) shows only the laptop's and the HDMI monitor, but not the one connected via the adapter.

I've tried disconnecting the other HDMI display and connecting only the one with the adapter, but it will still not work.

May you please help me? Is it even possible to use this adapter on my CPU?


2017-05-07 18:43:25 -0500 commented answer Need to launch dracut at each kernel update [NVIDIA driver]

Strange enough. Why isn't this explicitly suggested in the wiki? Now that I've got this setup, how can I do this avoiding any kind of double-installations of any sort? And last but not least: can't you just stop GDM/X11, instead of going init 3?

2017-05-07 18:41:54 -0500 received badge  Supporter (source)
2017-05-07 09:53:35 -0500 received badge  Student (source)
2017-05-07 07:07:58 -0500 asked a question Need to launch dracut at each kernel update [NVIDIA driver]


I've noticed that every time I install a new kernel (and thus a new initramfs), I need to update the initramfs starting dracut. I've even created a simple bash script that does this for me on the latest initramfs image, but I was wondering why I have to do it manually, and if there is already a meta-package that does this for me. If I don't do that, it appears the driver is not loaded, giving me the resolution of 800x640 only (instead of 3440 x 1440).

This is the script which regenerates the initramfs (if anyone interested):

#!/usr/bin/env bash
LAST_INITRAMFS=/boot/`ls /boot -lt|grep initramfs|head -n 1|grep -oP "([^\s]+)$"`

sudo dracut -vf $LAST_INITRAMFS

Honestly I don't remember if I installed akmod-nvidia or followed this guide, because I think I tried both. Thing is I don't have to install the kernel all the times, just launch dracut.

Thank you for all the assistance :)


P.S. As extra bit, not that I'm eager to use Wayland, but even if I select "GNOME" (and not "GNOME with Xorg") in the login screen, loginctl show-session <num> -p Type always shows me Type=X11. Is this some form of fallback? (curently using nVidia drivers 375.39)