Sunday, 29 January 2023

Ubuntu 22.04 External display not detected

I have recently encounter problem in connect external display/monitor in my Ubuntu system.

Here is problem description:

I have recently install 22.04 Ubuntu OS and I lost external monitor connectivity. I have tried few things but stuck.

MSI Laptop with LG monitor
intel + nvidia
OS: Ubuntu 22.04


**xrandr**:

HDMI-1-0 disconnected (normal left inverted right x axis y axis)
    Identifier: 0x202
    Timestamp:  18422
    Subpixel:   unknown
    Clones:   
    CRTCs:      4 5 6 7
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter:
    PRIME Synchronization: 1
        supported: 0, 1
    CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
        0 1
    CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
    BorderDimensions: 4
        supported: 4
    Border: 0 0 0 0
        range: (0, 65535)
    SignalFormat: TMDS
        supported: TMDS
    ConnectorType: HDMI
    ConnectorNumber: 0
    _ConnectorLocation: 0
    non-desktop: 0
        supported: 0, 1

I turn off *wayland* setting and turn on *X11* And whenever I go to *Settings > About* my laptop freeze.

Additionally, I don't see display layout to setup monitor. I have Dell Dock and tried with DP1 and HDMI cables but didn't work.

I tried all possible solution, purge and install nvidia drivers, ubuntu-drivers autoinstall, OS re-install with safe graphics.


**EDIT**

I have multiple drivers from the Additional driver window. I tried green highlighted drivers.
 


**What I did?**

  • Select drivers and install it. Click on restart now button.
  • After restart, open a terminal and run command `sudo ubuntu-drivers autoinstall`. Afterwards, reboot.
  • Go to Settings > Display. No effect. Same window as previous.


SOLUTION:

I have tried multiple tricks to find a solution inside the Linux system. Afterwards, I have tried to find a solution for the Dock driver connector to display my external monitor. And it works, here what I have done:

  • Download external Nvidia drivers https://www.nvidia.com/download/index.aspx
  • Go to terminal and run downloaded file from above link: `sudo ./filename.run` In my case, I did `sudo ./NVIDIA-Linux-x86_64-525.85.05.run`
  • Download Ubuntu drivers for Dell Dock from https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu
  • Open downloaded folder. It has a .run file. In my case, `sudo ./displaylink-driver-5.6.1-59.184.run`
  • sudo reboot
  • Additionally, I had to install `sudo apt-get install evdi-dkms`
  • Afterwards, I got an external display (LG), Dell Dock with MSI laptop.


ImportError: cannot import name 'utils' from 'PyPDF2'

Odoo 15: Traceback (most recent call last):   File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner     self...