Ubuntu 19.04 doesn't detect my HDMI display

Also the internal screen is driven by the amdgpu.
ASUS built this notebook series in many different flavours, some have all external connectors wired to the amd gpu, some have all wired to the nvidia gpu and yours is a mixed one.

Running benchmarks on a hybrid gpu system is always tricky. If the benchmark runs at high fps, the dgpu will be slower because there’s a lot of overhead from copying the pixmaps from dgpu to igpu. You should use a fullscreen heavy benchmark like an Unigine demo to get the correct results.

Looks like the gpu-manager is hard-disabling the nvidia modules by aliasing them to ‘off’. So you would have to also find the alias/blacklist file in either /etc/modprobe.d/* or /lib/modprobe.d/* and delete it before modprobing.

great insights!

I am wondering if nvidia’s driver supports DP data “pass-through” to the amdgpu like the HDMI-port pass-through done by the amd driver? I know you already said “No way around it”, but just want to check.

I am not a gamer, but a cuda developer, so, ideally, I would like to let the amd gpu take care of the graphics so I can run cuda codes on the 2060 without the watchdog time limit, but do want to use both of my external monitors (they are both 1080p 60hz monitors, so it is not a big load to either of the gpus).

No, that’s not possible.

Hello! I’m also facing problem with detection of HDMI display. Could you please help me finding solution?

nvidia-bug-report.log (1.0 MB)

You have a very new AMD/Nvidia combo, Please see this:
Otherwise, it’s the same model as @FangQ

To help people having the same problem, here are the steps I did following @generix’s pointers.

My laptop has an AMD Ryzen 4800H (with an iGPU) with NVIDIA RTX2060 dGPU. I installed Xubuntu 18.04.4. Initially, I could not get to the login window, after installing the nvidia-driver-440, select nvidia from prime-select, and backlist the nouveau kernel module, I was able to login but I can only see 1 (connect to DP) out of the 3 screens.

Here are the steps to fixes (I am retracing my steps, but if any of these are unneeded, let me know)

  1. according to @generix, Ubuntu 20.04 may work better but I managed to get 18.04 to work, so either will apply
  2. after a fresh installation and reboot, system won’t show the login window, press ctrl+alt+F2 to get a tty terminal, login with your account, and run
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-driver-440
  1. blacklist nouveau module by typing sudo nano /etc/modprobe.d/disable-nouveau.conf and add
blacklist nouveau
alias nouveau off
alias lbm-nouveau off
options nouveau modeset=0
  1. now if you do a reboot, you should be able to see the log-in window (only 1 display is on), but the below steps can still be completed in a terminal window in case graphics is still not working.
  2. go to this post by @generix (GeForce GTX 1650 Ti and Linux Mint 19.3), and download the kernel 5.6 linux kernel deb files, and install them by
sudo dpkg -i linux-*.deb
  1. not sure it is needed, but I did a reboot, and then reinstalled nvidia driver by
sudo apt-get install --reinstall nvidia-driver-440
  1. type
sudo prime-select nvidia

in the command line to set nvidia as the primary gpu
8. type sudo nano /usr/share/X11/xorg.conf.d/10-amdgpu.conf, replacing Driver "amdgpu" by Driver "modesetting"
9. type sudo nano /usr/share/X11/xorg.conf.d/10-nvidia.conf, insert

Option "PrimaryGPU" "Yes"

inside the OutputClass section (the only section).
10. create optimus.desktop file by

sudo nano /etc/xdg/autostart/optimus.desktop

and insert the below content

[Desktop Entry]
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
  1. copy optimus.desktop to /usr/share/gdm/greeter/autostart/ by
sudo cp  /etc/xdg/autostart/optimus.desktop /usr/share/gdm/greeter/autostart/
  1. see @generix’s post above, go to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu and download all .bin files starting with “renoir”, and then in the terminal,
sudo cp -a renoir*.bin /lib/firmware/amdgpu
  1. type sudo update-initramfs -u to add the new renoir module
  2. now do a reboot, you should now see all screens,
    xrandr -q should also list all screens
    nvidia-smi should show the gpu info
    glmark2 should print the nvidia opengl driver is in use

if I miss any steps, or the orders of these are misplaced, please feel free to let me know and I can edit.

nvidia-bug-report.log (486.3 KB)
Hi. My monitor doesn’t work on max 1280x1024 resolution. Ubuntu 18.04.4 LTS What can be done?
Screen 0: minimum 8 x 8, current 1280 x 720, maximum 8192 x 8192
DVI-I-0 connected primary 1280x720+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00 +
1600x900 59.82
1400x900 59.88
1368x768 59.88 59.85
1360x768 59.96 59.80
1280x800 59.91 59.81
1280x720 59.86* 59.74

Everything reports it’s set to 1280x720
primary 1280x720
1280x720 59.86* 59.74
or do you get a black screen at that resolution?

Furthermore, the EDID checksum of the monitor is broken. Please set

Option "IgnoreEDIDChecksum" "DVI-I-0"

in the device section of /etc/X11/xorg.conf
to override.

Thank you for helping.

'or do you get a black screen at that resolution?"
I have 1280x1024 on windows and on Ubuntu from Ubuntu 16. After update or reinstall (several months ago) I am unable to switch to a normal mode. It is locked to 16:9 proportion instead of old 4:3. There is no this resolution in the dropdown menu.
Should I restart to apply changes?

Yes. Please create a new nvidia-bug-report.log afterwards.

nvidia-bug-report.log (444.4 KB)
Now it is working. Thank you.

hello ,

i have the same issue my nvidia driver dose not and graphics , please help me nvidia coportion is unknown in additional drivers[nvidia-bug-report.log|attachment]
nvidia-bug-report.log (2.4 MB)

hello ,

i have the same issue my nvidia driver dose not and graphics , please help me nvidia coportion is unknown in additional drivers

You attached a nvidia-bug-report.log from May 11th, everything seemed to be working then. Did you choose the wrong file or is your clock set to the wrong date?

am sorry i found it in recent and attached it, how can i generate log file for you >?

sudo nvidia-bug-report.sh
and it will create a new one. Delete the old one beforehand.

i did it, it didnt generate any thing

nvidia-bug-report.sh will now collect information about your
system and create the file 'nvidia-bug-report.log.gz' in the current
directory. It may take several seconds to run. In some
cases, it may hang trying to capture data generated dynamically
by the Linux kernel and/or the NVIDIA kernel module. While
the bug report log file will be incomplete if this happens, it
may still contain enough data to diagnose your problem.

If nvidia-bug-report.sh hangs, consider running with the --safe-mode
and --extra-system-data command line arguments.

Please include the 'nvidia-bug-report.log.gz' log file when reporting
your bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to 'linux-bugs@nvidia.com'.

By delivering 'nvidia-bug-report.log.gz' to NVIDIA, you acknowledge
and agree that personal information may inadvertently be included in
the output. Notwithstanding the foregoing, NVIDIA will use the
output only for the purpose of investigating your reported issue.

Running nvidia-bug-report.sh… complete.

Running nvidia-bug-report.sh… complete.

tells me that it did create it. Look for it in your home directory.

please find this one

nvidia-bug-report.log (1.8 MB)