Usb to hdmi adapter linux

HDMI to USB-C adaptor does not works on ubuntu

I bought the adaptor CHOETECH HUB-H12 and it does not display video when connecting the HDMI cable, i have also tested with other adapters (dell) and it does not work. System info:

System: Kernel: 5.17.3-051703-generic x86_64 bits: 64 compiler: N/A Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.4 LTS (Focal Fossa) Machine: Type: Laptop System: LENOVO product: 80YH v: Lenovo ideapad 320-15IKB serial: Mobo: LENOVO model: Cairo 5A v: SDK0J40688 WIN serial: UEFI [Legacy]: LENOVO v: 4WCN26WW date: 05/26/2017 CPU: Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP arch: Amber Lake rev: 9 L2 cache: 4096 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 23199 Speed: 800 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 1187 2: 1200 3: 1187 4: 1200 Graphics: Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Lenovo driver: nouveau v: kernel bus ID: 01:00.0 Display: x11 server: X.Org 1.20.13 driver: modesetting,nouveau,nvidia unloaded: fbdev,vesa tty: N/A OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.6 direct render: Yes Info: Processes: 251 Uptime: 23m Memory: 11.48 GiB used: 2.61 GiB (22.7%) Init: systemd runlevel: 5 Compilers: gcc: 9.4.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 174f:116a Syntek EasyCamera Bus 001 Device 003: ID 0cf3:e500 Qualcomm Atheros Communications Bus 001 Device 002: ID 046d:c539 Logitech, Inc. USB Receiver Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

Источник

Connect a Second Monitor to Linux Mint with a USB to HDMI Adapter

Unix etc.

Unix etc.

Having a second or even a third monitor attached to your PC gives a helpful increase in screen space. Being able to have more windows and applications visible at once improves productivity and can reduce the stress of computer usage.

Generally, the number of screens is limited by the number of PC interfaces. Especially for laptops, which often have fewer ports than desktop/tower systems. Fortunately, the number of monitor ports can be increased by the addition of a simple adapter. For Windows users it’s easy. For Linux users, well it is quite easy too, as this article explains.

USB to HDMI Adapter

An adapter can “change” a spare USB port into HDMI port. I bought this Cable Matters USB 3.0 to HDMI Adapter from Amazon for £51. Although it is entitled “…for Windows“, it operates fine with Linux. I got it working as detailed below. By the way, I am using Linux Mint 21.1 MATE on a laptop made by MSI, model cx61.

The adapter model number is 103046.

Physical Installation

Start by physically installing the adapter. Disconnect your monitor from the HDMI port, if connected, and reconnected it to a USB 3 port, via the interface adapter.

Читайте также:  Узнать версию питона linux

Download the Displaylink (who make the adapter’s chipset) driver from here:
https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu. Under “Latest Official Driver“, click the “Download” button, then “Accept” to accept the license agreement and save the file, which will be saved as “‘DisplayLink USB Graphics Software for Ubuntu5.6.1-EXE.zip‘” or similar. Note: By the time you read this article, which was last updated January 2023, the version and name of the file might have changed slightly, as might the download URL. If so, it should be quite easy to find it with a Google search of “Linux driver for Displaylink HDMI adapter”.

Driver Installation

Unpack the zip file to reveal a single runnable file. Run it. Example commands:

# unzip "DisplayLink USB Graphics Software for Ubuntu5.3.1-EXE.zip" # ./displaylink-driver-5.3.1.34.run Verifying archive integrity… 100% All good. Uncompressing DisplayLink Linux Driver 5.3.1.34 100% DisplayLink Linux Software 5.3.1.34 install script called: Distribution discovered: Linux Mint 20.1 .

Enter “y” in answer to the question “Do you want to continue? [Y/n]”

Much more stuff is printed at this point. Packages are installed from standard repositories, including dkms and libdrm-dev. A kernel module is built (evdi.ko). Finally a message appears:

Reboot your system to make sure the driver is properly picked up.

Troubleshooting

If errors happen with the installation, please make sure you downloaded the latest version of the driver. For example, I initially tried to install driver version 5.3.1 which failed with various compilation errors on Mint 21.1 (based on Ubuntu 22.04), although it had worked perfectly on Mint 20 (Ubuntu 20.04). Downloading the latest version fixed the problem.

Configure Monitors

If you have more than one monitor connected, it will probably be necessary to configure the layout. I am running Linux 21.1 “MATE” version. So I used the “Monitors” graphical application to arrange my monitors and desktop as desired. If you are using Mint Cinnamon, or even another distribution altogether, there will be an equivalent app, but I am not sure what it is called.

Performance Testing

An HP Pavillion 23 XI monitor was connected over the adapter, at a resolution of 1920×1080. There was no noticeable decline in performance versus a direct HDMI connection. I’m not a gamer and use the monitor for normal desktop work, such as web surfing and business applications.

Little CPU load was imposed by the adapter. For example, watching an HD video on the relevant screen, or just moving a window backwards and forwards (fully rendered), brought a “DisplayLinkManager” application to use 140% of CPU. On my powerful but ageing laptop (CPU: i7-4702 MQ, a fourth generation i7 with 4 cores/8 threads), that is engaging less than 1.5 out of 8 available cores. In fact watching the HD video usually imposed about 60% of one CPU.

I then switched the adapter to a new Dell U2719D 27″ Widescreen monitor, at a resolution of 2560 x 1440. That’s 2K, and the maximum resolution of the USB adapter. Again, there was no noticeable degradation in performance in normal “office” use. And watching this test 2K video stressed the CPU to, again, about 140% of one thread or less.

Not sure what difference it makes, but the laptop graphics card is an Nvidia GeForce GT 740M.

Читайте также:  Разделы монтирования linux при установке

Performance should therefore not be an issue, except perhaps in base model PCs with 2 threads or less.

New Kernels

It might be expected that the driver would need to be rebuilt with every new kernel installed on the PC. This appeared not to be the case. A kernel install did not appear to trigger a rebuild.

Other Linux Variants

This DisaplayLink driver is likely to work on other Debian based distros, for example Ubuntu. Red Hat/Fedora based systems might need a slightly different approach.

Sound Issue

After installing the driver on Linux Mint 20 (and 21) MATE, there was an issue with no sound being produced from Youtube videos and applications like VLC.

Under MATE sound preferences -> “Output” tab, a new output had appeared, “USB3.0 to HDMI Adapter Digital Stereo (IEC958)”. It was activated, presumably directing all sound output to an imaginary audio device provided, somehow, by the adapter. Perhaps intended for monitors with built in speakers.

I clicked the radio button for “Built-in Analogue Stereo” instead. Sound started. Problem fixed. However, it reverted after a reboot. A permanent fix was to disable the “ghost” USB adapter sound device: Sound Preferences -> Hardware tab -> scroll down to “USB3.0 to HDMI Adapter”, highlight it, then click “Profile” followed by “Off”. Fixed.

Conclusion

Being able to connect a monitor via USB obviously increases the number of monitors you can have, and provides a useful upgrade path where existing ports are limited. By adding a USB 3 hub, and more adapters, it should be possible to connect many screens to a single laptop.

I didn’t use a hub, but had three monitors connected and running fine: one via the USB to HDMI adapter, another directly to the laptop’s HDMI port, and third, older monitor to the VGA port. All were different resolutions, and it all worked.

Disclaimer

This article is simply a record of a procedure carried out on my laptop. No guarantee or assurance of any kind is provided that the same procedure will work for you.

Источник

USB to HDMI adapter that works with 20.04

I am fairly new to Ubuntu, and am running 20.04. When I was using Windows I had a Startech USB to VGA adapter (https://www.startech.com/en-us/audio-video-products/usb2vgae3) to add 2 external monitors to my laptop. When I switched to Ubuntu, the adapter no longer worked, and there doesn’t appear to be an Ubuntu driver for it. I was looking on Amazon and there are some that are only 10 dollars, but the ones that specifically mark they are for Ubuntu are about $50 or more. I don’t mind spending that much but if I could get one for less I’d much rather do that. Does anyone know of any relatively cheap USB to HDMI adapters that work with Ubuntu? Any help would be greatly appreciated, thank you!

Please refer to askubuntu.com/help/on-topic where you’ll note «Shopping or Hardware Recommendations» are off-topic. Ubuntu Forums allows those sort of opinion based questions.

1 Answer 1

I have heard that USB-to-video adapters using DisplayLink GPUs have Linux drivers and work well enough. I say «well enough» because USB was not built to support computer displays, it’s something of a hack to use USB for this.

Читайте также:  Браузер для линукс для слабых компьютеров

If your laptop has a DisplayPort or HDMI output, and I suspect it does as not having a video output on a laptop is rare, then getting an adapter for one of those to VGA should be more stable, give better performance, and not need driver updates with each new OS upgrade. Avoiding the use of VGA would also be wise but I can understand the need to keep using it in some cases. I’ve used DisplayPort to VGA adapters before and found them inexpensive and «there is no step three» simple to use.

Yeah, HDMI to VGA adapters are super cheap and they always work with Ubuntu because there’s no driver involved.

Источник

is there any Ubuntu 15.10 USB 3 or USB-C to HDMI adapter that works [closed]

This question was closed because the problem as described can’t be reproduced. It is not currently accepting answers.

This describes a problem that can’t be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It’s off-topic as it’s unlikely to help future readers.

  • Display Link has some drivers for Ubuntu 14.04 http://www.displaylink.com/downloads/ubuntu.php but the problem is that they are ment for kernel 3.x so unless I backport older kernel (as I’m ubuntu 15.10) and do some changes in the instalation file it doesn’t work
  • brand V.Top has USB 3 to hdmi that they say it work with Ubuntu but it doesn’t (bought one and it doesn’t work. long story short, they pointed me to «try to» install Displaylink drivers, doesn’t work)

so I’m ok with installing drivers and stuff but anyone know about any adapter that has less hustle in order to get it working ?

You are looking at it from a windows point of view: «installing drivers». That is a bad way when looking from Linux. Linux will rebuild the devices system on every reboot. So when new hardware is added so are the -generic- drivers loaded for that new hardware. You need to use the normal tools to investigate this. For instance: some devices only activate the HDMI input when the specified HDMI port is also selected as source. If so that is not an OS issue. Start with lsusb and see if you can track the hardware.Track down the device and then you can make educated assumptions on what to do next.

displaylink.com/for-business/common_questions.php «DisplayLink has not created drivers for other packages, however the Ubuntu driver contains an open source component which is designed to be modified to enable the Ubuntu driver to be repackaged for any other Linux distro by the user community. Support for DL-1×5 and DL-1×0 devices is provided by the open source udl driver.»

Are you sure you have USB-C and not Thunderbolt 3? I have an XPS 13 (9350) and it does have Thunderbolt 3.

good question, yes it’s USB-C . Late 2015 Dell XPS 13 comes with USB-C notebookcheck.net/fileadmin/Notebooks/Dell/Dell_XPS_13_End_2015/… . college of mine has Dell XP 13 from earlier 2015 and he has Tunderbolt

Sorry but the question is about the adapter (so the thing you plug to USB-C) Alhough I can confirm I have Dell XPS 13 late 2015 model and yes it had USB-C

Источник

Оцените статью
Adblock
detector