4

I have a MSI Laptop running on windows 10 and a plug and play Ubuntu 20.04 on a Samsung Portable SSD T5

When using Ubuntu, I am trying to use a second monitor via HDMI however nothing happens when I connect it.

I am new to Linux, What should I do?

Note: When I am using Windows, the HDMI port is working as expected

arnino
  • 190
  • 1
  • 1
  • 8
  • Ubuntu might not support your GPU out of the box. Could you open a terminal and execute `inxi -G`? Copy the output from the terminal into your question (use the [edit](https://askubuntu.com/posts/1394283/edit) link) – kanehekili Feb 22 '22 at 10:14
  • @kanehekili From the self-answer it seems like Ubuntu 20.04 does support the MSI laptop's GPU, but it does not support it out of the box however the proprietary graphics drivers can be installed by running `sudo ubuntu-drivers autoinstall` – karel Feb 22 '22 at 10:17
  • Thanks, I didn't recognize the self-answer. So I'll assume its a nvidia GPU – kanehekili Feb 22 '22 at 11:21

2 Answers2

5

Check if you have the latest drivers

sudo ubuntu-drivers autoinstall

Then check for your additional drivers. Try to go to

  • Software & updates
  • reboot

This resolved my issue, I think because ubuntu did not recognize drivers because of some updates.

Inspired from this: https://askubuntu.com/a/1276794/1573261

arnino
  • 190
  • 1
  • 1
  • 8
  • Please note that `ubuntu-drivers autoinstall` is deprecated. Running `ubuntu-drivers -h` returns some output containing the message "Deprecated, please use 'install' instead" – Peter Bergman Aug 01 '23 at 21:41
1

When I updated to Ubuntu 22.04 I started getting ACPI errors and my HDMI port no longer was working on my newer Samsung laptop. The following hid the ACPI errors and curiously fixed my HDMI output. This was found on linux.org related only to ACPI errors but it worked for the HDMI issue too. I cannot explain why it worked but the errors occurred the same time my HDMI port stopped working.

  1. sudo gedit /etc/default/grub
  2. edit line with GRUB_CMDLINE_LINUX_DEFAULT and add loglevel=3, it should look like GRUB_CMDLINE_LINUX_DEFAULT='quiet splash loglevel=3'
  3. sudo update-grub related
  4. reboot

When I did this everything worked again, hope this helps someone it has been a frustrating problem.

opisthofulax
  • 121
  • 9
Mi E
  • 11
  • 2