Рабочее место и 4k@60Hz

    Good day, dear readers, under the cat tells about the choice of how to connect 4k monitor to a laptop and the pitfalls are not new technologies. Perhaps such a user experience and conclusions will be useful to someone when choosing and buying iron, especially given the fact that its value is steadily increasing relative to the average purchasing power of the population.


    General theses


    My use: there are no high requirements for CPU and RAM (not a developer), there are no high requirements for a GPU (not a gamer), normal use, sometimes you need to render video, work with sound, run virtual machines.


    • Laptop weight is more important than screen size.
      • The consumption of momentary content does not depend on the screen size. In the presence of a normal modern matrix, there will be no significant difference between laptops with 12 or 15 inch screens. Problems arise with the old non-adaptive design of sites and, especially, desktop applications. The same on smartphones.
      • Work and games require a high-quality external screen with a large matrix. Which can not be placed in the body of the laptop, it is 23-27 inches and more.
    • Laptop weight is more important than performance.
      • Mobile video cards in the current realities cannot even compare closely with desktop performance. For work and games, you can use either a powerful desktop PC, or a desktop video card in an external box ( eGPU ), for games or a console (console), or streaming (cloud) gaming services.
      • The rest of the components, like the processor and memory, are about the same as ultrabooks and heavy gaming laptops. The difference in the possibility of an upgrade.

    Hence the conclusion: if you need to carry a laptop with you, you should take the most fresh, lightweight (up to 1.5 kg, you still have to charge and carry adapters), productive (by processor and memory, because you are unlikely to upgrade it) without discrete video card.
    The strangest thing is that ports (USB, HDMI, Ethernet, Card Reader ...), although people very much swear at their absence (but rather out of habit), it is true that the user mass is used less and less, and most often in a stationary workplace. Therefore, it is especially important to have at least one USB-C port with support for the latest standards (at the time of writing the post it is USB 3.2 and Thunderbolt 3 ) and a dock station that is suitable for functionality.


    The last 10-15 years, the normal replacement period for iron was, on average, 2 years, the so-called tick-so strategy was that of Intel processors, that Apple had the usual and S iPhone models. Apparently the companies understood that people got used to it and decided to introduce confusion, especially in the names of products.


    How to figure out 4k @ 60Hz and not break the brain


    Setup


    I have the opportunity to check how everything works on a Dell XPS 13 9360 Core i5-8250U laptop, a Dell D6000 docking station and a Dell P2715Q monitor. For testing, the monitor was connected to the dock with DisplayPort to mini DisplayPort, HDMI to HDMI cables, directly to the laptop with a USB-C to DisplayPort cable, but USB-C to HDMI, unfortunately, was not available.


    What is USB-C?


    USB Type-C or USB-C — USB specification for a universal compact two-way 24-pin connector for USB devices and USB cables.
    Using the USB Type-C connector does not necessarily mean that the device implements the high-speed USB 3.1 Gen1 / Gen2 standard or USB Power Delivery protocol , as the Chinese managed to produce smartphones with a USB-C connector soldered to the USB 2.0 port.


    Note: a connector is a physical entity (plug or socket), a port is a more general concept that includes both a physical component (connector) and electronic (pinout, connection with electronic components on the board) and logical (software implementation of protocols). Often similar in meaning words connector, port, interface, and others are used intermixed, but there is one nuance (s).


    Apple is also, slowly but surely, transferring its products from using proprietary ports like MagSafe (by the way, the Chinese have riveted a bunch of cables with variations on magnetic connectors) and Lightning (showed that you can make a symmetrical connector and not torment users) to a universal USB-C .


    Why so hard?


    For the user, the pain and suffering with USB-C remain the same as with the rest of the USB family - you need to understand a bunch of existing standards and technologies (and the user reads the standards a little more than never), understand what he wants to get at the output, choose equipment and cables that will support these standards.
    Moreover, articles like “The Best USB-C Hubs and Docks”, as well as the description of goods in online stores, do not provide much clarity on this issue. On the same Amazon a lot of angry reviews to the cables and docks, because supported standards and device compatibility are not obvious. Enthusiasts try to make the compatibility table (eg a , like official for the Dell ).

    It often happens that some glands are acquired, beautiful inscriptions on the boxes promise unearthly pleasures and cosmic speeds, by itself it works somehow not very much and begins to brain, but how can you collect candy from this junk.
    You can also notice that the very concept of "4k resolution" can mean different image sizes in pixels , in this case, Ultra HD 4K or UHDTV1 .


    How is the image transmitted via USB-C?


    There are two main ways - DisplayLink and Alternate Mode (Alt Mode).
    Connecting the monitor through the docking station you most often use DisplayLink, connecting the monitor through a small adapter or “straight” cable you use an alternative mode.


    The main types of intermediaries between a laptop and a monitor, just for visualization.



    Displaylink


    The technology and the eponymous company DisplayLink most likely did not meet the majority of users if they did not connect more than two monitors to a computer. In any case, I have such a name for years of interaction with computer technology is not deposited in my head. Nevertheless, the company exists quite a long time ago, it develops hardware (chips, they are also IC, they are also Integrated circuit USB Graphics chips) and software.
    For the user in most cases it looks like this.: special drivers are installed on his PC and a virtual video adapter appears in the operating system, a docking station with a DisplayLink chip is connected to the USB port (2.0 and higher). On a PC, the image is programmatically compressed and transmitted to the dock, where the DisplayLink chip is restored and transmitted to a monitor, TV, projector, or other display device.
    Advantages of the technology: connection up to 6 monitors (operation modes are determined by the capabilities of the chip used and the display device), drivers for all popular platforms, the “stuck and flew” format. The VGC (Virtual Graphics Card) compresses the image change and transfers it to the HRE (Hardware Rendering Engine), i.e. There is optimization, but it helps to max out the resolution, but not the display of movies and games. Some manufacturers of docks even write in the description that "not recommended for games."
    Minus: performance. As written on wikipedia



    DisplayLink Manager, available in the Microsoft Store.



    In case of connection with two cables, display 2 is Alternate Mode via a USB-C to DisplayPort cable, display 3 is DisplayLink via a DisplayPort to mini DisplayPort cable.


    Alternate mode


    Alternative mode allows you to reuse some contacts in the USB-C 3.1 cable to transfer data between the device (the host is a laptop or smartphone) and a peripheral device (the device is a monitor or TV) using an alternative protocol, including at the moment:


    • DisplayPort 1.4
    • MHL (MHL 1.0, 2.0, 3.0 and superMHL 1.0)
    • Thunderbolt 3 - can encapsulate DisplayPort
    • HDMI 1.4b
    • VitualLink 1.0 - not yet standardized, the standard for connecting virtual reality headsets through one cable instead of three, transmitting power, video and data.

    Of the alternative modes, we are primarily interested in DisplayPort and HDMI, because They are most often used in conventional budget monitors and laptops. MHL is still more about mobile devices and TVs, although the HDMI connector on my monitor is marked HDMI (MHL).



    The alternative mode allows for the appearance of additional buns, for example, in HDMI Alt Mode it is 3D video, Ethernet, Dolby 5.1 and other things, but the developer is responsible for the functionality of a specific standard.



    Note: It must be borne in mind that, unlike the HDMI standard, which came from the world of home appliances, the Thunderbolt and DisplayPort standards, born in the computer industry, are developing faster. Their rapid development also contributes to the absence of royalties (payment of royalties for each device produced or, as some say, "for each port"). There is an opinion that when it comes to modes with a resolution higher than 4k and a sweep frequency higher than 60 Hz (especially in game monitors), it becomes clear that HDMI has lost the arms race, so with sufficient budget it’s better not to count on it.


    Alternative mode "directly"


    In my impression, the most predictable and understandable result of pairing devices is provided by the Thunderbolt 3 standard .


    In the case of DisplayPort on devices, you need to check the version of the supported standard. If the devices are modern, there should be no problems.


    With HDMI , the situation is not very clear, the HDMI Alt Mode is supported by the 1.4b specification (maximum 4k @ 30Hz), and the official alternative mode support for the existing parallel 2.0b is not yet announced. At the same time, cable manufacturers on the market claim that their products support 4k @ 60Hz, some write that it will work if your device supports DP Alt Mode. Does it ever work like HDMI Alt Mode or always on top of DisplayPort, is a mystery to me. Due to the lack of a USB-C to HDMI cable, I cannot verify this design.


    Alternative mode through the dock


    Information about the support of the alternative mode and the way it is implemented varies or is silent in the description of the docks. In practice, I found a HyperDrive dock that was fired on Kickstarter using two Thunderbolt 3 ports, alas, compatible only with MacBooks.


    The second option is found in the documentation for the Dell D6000 and in the description of the docks from StarTech.com, it states that Alt-Mode works for HDMI 4k @ 30Hz (3840x2160 @ 30Hz).
    I managed to connect the monitor in this mode, it works very strange. In order to guarantee the reproduction of the behavior, only HDMI and power should be connected to the monitor, switching on the alternative mode is achieved by twisting (sorry) the HDMI cable between the dock and the monitor. At the same time, all ports except HDMI stop working at the dock, only power is supplied to USB ports, for some reason the promised USB 2.0 does not work.
    See below: Alternate Mode does not employ USB 2.0 and USB Power Standards.
    A return to normal mode is achieved by rebooting the dock for power.



    Indeed, 4k @ 30Hz.


    Also, for example, I read information around the compact Targus USB-C DisplayPort Alt-Mode Travel Dock (DOCK411USZ) , which, judging by the description, implements HDMI over DisplayPort Alt-Mode and promises HDMI2.0 up to 4096 x 2160 30Hz 24 bpp monitor connection. See below: (eg, DisplayPort, HDMI, VGA or DVI).
    Wikipedia prompts, and it is quite possible that the Dell D6000 implements it in exactly the same way that this is achieved with the DisplayPort Dual-Mode (DP ++) feature .


    Cables


    There is a division into passive (permissible length up to 0.5 m) and active (with integrated chips) cables. It makes sense to buy only active cables, because Only they are suitable for high currents and alternative mode.
    On marketplaces such as AliExpress and Amazon, you can find available active cables manufactured by Ugreen, QGeeM, uni, etc. In the stores in the Russian Federation, the analogs are 1.5-2, and even more, times more expensive.


    From Wikipedia : Active cables / adapters. There is no need for any additional interface (eg, DisplayPort, HDMI, VGA or DVI).
    Using full-featured USB-C cables for Alternate Mode connections provides some benefits. Alternate Mode doesn’t use USB 2.0 lanes and it may be available . In addition, SuperSpeed ​​Video Display and MHL can be used at the same time as USB 3.1 data.


    findings


    In my case, the dock was chosen to connect a 4k monitor (Power Delivery was discovered during operation and became just a pleasant bonus, as was the Ethernet port) and a large number of USB devices. In fact, it is more interesting to connect and use the monitor directly, and for USB devices one could buy a cheaper and more compact solution.


    Displaylink


    + In addition to the additional ports in the docking station, you get Power Delivery (if this feature is supported by both the dock and the laptop), i.e. charging the laptop over the same cable and reducing the number of wires on the table;

    + The technology allows you to display an image on several external monitors, depending on the chip in the dock and the number of outputs, up to 6 pieces;

    - Although the monitor operates in 4k @ 60Hz mode, heavy video lags, i.e. not having time to work through, and if it is treated with local video using VLC (which is performance, native codecs, decoding algorithms, hardware decoding or quality degradation is the subject of disputes in the network), streaming video continues to suffer.

    - More recycled laptop CPU. When viewing 4k videos on YouTube via DisplayLink, the CPU load was about 40-50%, when viewed through an alternative mode, about 10-20%.


    Alternate mode


    + The image on the monitor displays a laptop video card, so the video does not lag;

    + In this mode, the function "Night Light" is supported. Who is like, and my eyes with her are much easier in the evenings;

    - Instead of one cable between the laptop and the dock, you have to connect three: to the dock, monitor and power supply;

    - If the laptop has one USB-C port, then the dock must be connected to another port, respectively, there must be a free port and the dock connection port must match it. In my situation, this is solved by the built-in USB-C to USB 3.0 adapter on the dock cable and the presence of two more USB 3.0 ports on the laptop.


    Dock Station Tips


    • Check the list of supported standards and modes, it is better to do this on the official website of the manufacturer;
    • Read reviews and reviews on the Internet, there are all sorts of situations, up to the “low data transfer rate”;
    • Update software and / or drivers, including the dock. Many manufacturers have their own special software for comprehensive software updates, for example, Dell has SupportAssist. For Linux, there are drivers too, but most likely everything will work out of the box and without them;
    • If you are using Windows and especially if the dock is stationary, go to the Device Manager, open the properties of USB controllers and devices and uncheck the checkbox “Allow this device to be turned off to save energy”, because devices with this feature can be disconnected at the most inappropriate moment and OSes, for some ridiculous reason, then unable to find and connect them back (it is treated again, forgive me, by twisting the cable, which does not add health to the connected devices).


    Useful comments:
    Nightmare: USB-C and Thunderbolt 3
    Chroma subsampling article


    Also popular now: