9

I have a fresh install of Ubuntu 22.04 on a new laptop, with no other OS installed. When I connect to my monitor with the laptop open (so that the built-in display is active) everything freezes - I can't even move my mouse pointer. If I close the lid, the monitor works (the system responds and I can continue). How can I use both screens at the same time?

More information:

  • I have a Framework laptop and have followed Framework's Ubuntu 22.04 installation guide, installing the 22.04 LTS ISO using balenaEtcher
  • Laptop screen resolution is 2256 x 1504 (3:2)
  • My monitor is an ASUS ProArt Display PA278QV
  • Monitor resolution is 2560 x 1440 (16:9)
  • I'm connecting mini-DP (monitor-end) to DP (laptop-end) via a Framework-specific DisplayPort expansion card
  • The monitor works as one of multiple displays when connected to my Windows desktop PC
  • I have my laptop display set up to use 100% scale, but after connecting the monitor it reverts to 200%
  • After connecting via display port, my desktop background is displayed on the external monitor, so clearly Ubuntu starts to send some display data to it before things go wrong.
  • Sometimes some of the windows I have open on my desktop are displayed on the monitor, sometimes they remain on my laptop screen

Happy to share more information and diagnostics on request (wasn't sure what other information would be helpful). Thanks in advance for any answers or hints!

Update 1

When using x11 (enabled via instructions from linuxconfig.org), the monitor is not detected when plugged in.

The output from sudo lshw -c video is

  *-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: 01
       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=2256x1504 resolution=2256,1504 visual=truecolor xres=2256 yres=1504
       resources: iomemory:600-5ff iomemory:400-3ff irq:190 memory:605c000000-605cffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff

Update 2

ubuntu-drivers list returns nothing.

The Additional Drivers tab of the Software & Updates application shows "No additional drivers available" - see screenshot of Additional Drivers tab of Software & Updates app (I don't have the reputation to embed images into posts). This is despite having the main, universe, restricted and multiverse package repositories enabled and a working internet connection. This happens with various choices of server.

Update 3

Reinstalling hasn't helped. Interestingly, when I run "Try Ubuntu" from the bootable USB device, I can connect the monitor and have Ubuntu working on both screens. It seems that, somehow, the problem is with the installed OS, rather than the OS itself.

Update 4

I've installed Ubuntu 20.04.4 and the laptop screen and monitor work together.

mattg
  • 111
  • Kindly check what graphic driver your laptop is running. Sometimes the driver and/or the graphic card aren't able to handle the higher resolution monitor with build-in display running at the same time. Or if you are using wayland, switching to x11 to do the testing will make it easier to do testing since wayland is still glitchy. The first thing i'd do is login with x11, next go into setting and use the display GUI and work from there. Last on the list is switching between different drivers. – ManOnTheMoon May 09 '22 at 21:14
  • Thanks @ManOnTheMoon. I've updated my answer with some information.

    Where can I find alternative drivers and how do I know which are suitable?

    – mattg May 09 '22 at 21:46
  • you can find the drivers selection using the software & update GUI in the show application shortcut. Then click the Additional drivers tab. As for which is/are suitable, you should be able to find the details on the vendors' site. However, with the new 22.04, you'd probably have to trial and error them all. Before switching between drivers, remember to work with the display GUI. For example using your current driver, try all the options in the display GUI then switch driver and try all the options in the display GUI. rinse and repeat. – ManOnTheMoon May 10 '22 at 09:09
  • Personally, I'd try the Nouveau display driver(open source) first and tweak the display GUI. If it works, it confirms it's a driver issue. And all it left to do is finding the most to date and driver that works. – ManOnTheMoon May 10 '22 at 09:15
  • Makes sense @ManOnTheMoon, but unfortunately I see "No additional drivers available" under the Additional Drivers tab of Software & Updates. – mattg May 10 '22 at 10:26
  • by default you should have at least the Nouveau driver. Could you open the terminal and paste ubuntu-drivers list and post the result and also do a screenshot of the Additional Drivers GUI. – ManOnTheMoon May 10 '22 at 10:37
  • @ManOnTheMoon answer updated as requested. – mattg May 10 '22 at 10:54
  • kindly use the solutions here, and you should have a list of drivers made available to you after update is done. – ManOnTheMoon May 10 '22 at 10:59
  • @ManOnTheMoon I have tried those solutions and the Additional Drivers tab still shows "No additional drivers available." – mattg May 10 '22 at 11:10
  • they are checked as such and you have internet connected on the laptop(assuming you are replying with another machine). If all those fail to work, another way is manually doing it with the terminal, however, since it's the graphic driver, there is a high chance of bricking your machine if something goes sideways. You can read it here . backup & prepare re-installation before trying. – ManOnTheMoon May 10 '22 at 11:28
  • in the unfortunate event that requires re-installation, it'd probably be easier to use the default settings. Having an empty list in the Additional Drivers tab isn't common. Forgot to mention, try switching servers in the "Download from" scroller under the Ubuntu Software tab, sometimes some servers won't pull the necessary updates(which happened to my machine a couple of times). – ManOnTheMoon May 10 '22 at 11:31
  • here's a post regarding intel driver. Hopefully this will be helpful – ManOnTheMoon May 10 '22 at 11:43
  • 1
    @ManOnTheMoon

    Yes, I have main, universe, restricted and multiverse package repositories selected. Yes, I have internet connection from the laptop (it's the device I'm using Ask Ubuntu from).

    I have reinstalled - first time I used default settings, second time I checked the enable third-party software box, thinking that that might resolve the issue. It didn't.

    Switching servers doesn't seem to have helped either.

    Thanks for your help so far, it's much appreciated :)

    – mattg May 10 '22 at 12:55
  • sorry none of those work. I used them to troubleshoot my machine in the past for 22.04 and prior versions. Hopefully somebody will be able add other solutions that'd solve your issues. – ManOnTheMoon May 10 '22 at 13:58
  • @ManOnTheMoon no problem :) I've downgraded to Ubuntu 20.04.4 for now and the two screens work fine. I don't need to be on 22.04 just yet. – mattg May 10 '22 at 15:43
  • in 20.04, the drivers are also missing? – ManOnTheMoon May 10 '22 at 16:23
  • Yes, and in 21.10 (which I've upgraded to) – mattg May 12 '22 at 12:24
  • 1
    Same experience with a Dell XPS 13 (9380) with an external dock TB16. It works with Ubuntu 20 but doesn't work with Ubuntu 22. It is not related with DisplayPort since DisplayPort works fine if I don't use a second monitor via HDMI. I can only choose one external monitor (HDMI xor DisplayPort) to make it usable. I also tried updating to the latest DisplayPort drivers (something I never did with Ubuntu 20 and it worked fine). – sw. May 15 '22 at 17:36
  • I also tried with VGA since the TB16 has four video outputs and it also freezes when any combination of two video outputs is used. – sw. May 15 '22 at 18:15
  • Is this solved in the new Ubuntu 22.10 Kinetic Kudu? – sw. Oct 22 '22 at 11:01
  • @sw, see my answer below: https://askubuntu.com/a/1416750. The issue was the DP adapter I was using, not the monitor/laptop combination – mattg Oct 23 '22 at 20:11

3 Answers3

3

I had a similar issue (second monitor unresponsive) and it was resolved by selecting the nvidia driver in software and updates app.

screenshot

  • In the comments I said the problem also happens if no GPU is available (except the Intel integrated graphics) so the problem is more generic and I think the solution should be so. – sw. May 25 '22 at 15:45
  • in my case exactly the same driver is selected, but Ubuntu 22.04 freezes anyway if external monitor is attached – vak Jun 10 '22 at 08:40
  • Thanks Ashish, unfortunately I don't have any other drivers shown under additional drivers (I use integrated Intel graphics) – mattg Jun 10 '22 at 09:18
  • This worked for me – financial_physician Jun 20 '22 at 01:55
  • 1
    It worked for me but for an old nvidia driver 470, 525 did not work. Hope it helps somebody. – 2xMax Jul 26 '23 at 06:29
3

I ran into a similar issue using Ubuntu 22.04 on a dual booted machine with an Intel Skylake GT2 [HD Graphics 520] card. Disabling Wayland before logging in as shown here solved the issue for me.

KT12
  • 235
0

It turns out that the DisplayPort expansion card I was using was defective. After using a new expansion card, my laptop and monitor work together without any problems.

mattg
  • 111