Second Monitor on HDMI blank screen/blink screen with Nvidia + Intel & Ubuntu 20.04? (ASUS Laptop)

Bug #1871721 reported by Noctis Bennington
116
This bug affects 23 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

I installed Ubuntu 20.04 on my ASUS laptop with Intel+Nvidia with propietary drivers of Nvidia (I have 440.64 rn) and I connected a second monitor to use it, but I saw that I cannot use it, I just see a blank screen. I tried with a TV of my room and same. The funny part is when I start the laptop to work, I can see the logo of my BIOS and the ASUS logo in the second monitor, even the grub, but after that I can't see nothing.
When I reduce the resolution of the second monitor (800x600) then works, but even with that sometimes blinks to black again.
On W10 for example it works perfectly, so I deduce it's not 'cause my HDMI.

I tried with nouveau drivers and I have the same results btw.

Laptop Asus with:
Graphic card ---- Nvidia GTX960M
Processor -------- Intel i5 6300

I tried with Nvidia Prime to Nvidia, Intel and On-demand. None of them works. All of them with Xorg.

I have this with xrandr:

Screen 0: minimum 8 x 8, current 2720 x 1080, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080 60.00*+ 59.97 59.96 59.93
   1680x1050 59.95 59.88
   1600x1024 60.17
   1400x1050 59.98
   1600x900 59.99 59.94 59.95 59.82
   1280x1024 60.02
   1440x900 59.89
   1400x900 59.96 59.88
   1280x960 60.00
   1440x810 60.00 59.97
   1368x768 59.88 59.85
   1360x768 59.80 59.96
   1280x800 59.99 59.97 59.81 59.91
   1152x864 60.00
   1280x720 60.00 59.99 59.86 59.74
   1024x768 60.04 60.00
   960x720 60.00
   928x696 60.05
   896x672 60.01
   1024x576 59.95 59.96 59.90 59.82
   960x600 59.93 60.00
   960x540 59.96 59.99 59.63 59.82
   800x600 60.00 60.32 56.25
   840x525 60.01 59.88
   864x486 59.92 59.57
   800x512 60.17
   700x525 59.98
   800x450 59.95 59.82
   640x512 60.02
   720x450 59.89
   700x450 59.96 59.88
   640x480 60.00 59.94
   720x405 59.51 58.99
   684x384 59.88 59.85
   680x384 59.80 59.96
   640x400 59.88 59.98
   576x432 60.06
   640x360 59.86 59.83 59.84 59.32
   512x384 60.00
   512x288 60.00 59.92
   480x270 59.63 59.82
   400x300 60.32 56.34
   432x243 59.92 59.57
   320x240 60.05
   360x202 59.51 59.13
   320x180 59.84 59.32
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 800x600+1920+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080 60.00 + 50.00 59.94 30.00 25.00 24.00 29.97 23.98
   1920x1080i 60.00 50.00 59.94
   1280x1024 60.02
   1360x768 60.02
   1152x864 59.97
   1280x720 59.81 60.00 50.00 59.94
   1024x768 60.00
   800x600 60.32*
   720x576 50.00
   720x576i 50.00
   720x480 60.00 59.94
   640x480 60.00 59.94
   720x400 70.08
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-3 disconnected (normal left inverted right x axis y axis)

PD: When you select a specific resolution, the second monitor "works", but it blinks, the image showed via HDMI on the second monitor blinks. So is impossible to work with it. Since all this time I was searching about this and I'm almost sure this is a problem of the GPU's Intel. But I saw this problem on askubuntu just with laptops with hybrid graphics. Always with Nvidia+Intel. (Maybe AMD+Nvidia too, but I'm not sure if they have the same problem here).

WORKAROUND: I installed the 4.15 kernel, so at the moment I can work with this. Higher than 4.15 the second monitor doesn't work. Tested until 5.8 and without good results. Just with 4.15.

---
ProblemType: Bug
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Es un directorio: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.100 Fri May 29 08:45:51 UTC 2020
 GCC version:
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CompositorRunning: None
DistUpgraded: Fresh install
DistroCodename: focal
DistroRelease: Ubuntu 20.04
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. HD Graphics 530 [1043:1c5d]
   Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX 960M] [1043:1c5d]
InstallationDate: Installed on 2020-06-19 (20 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: ASUSTeK COMPUTER INC. GL552VW
NonfreeKernelModules: nvidia_modeset nvidia
Package: xserver-xorg-video-intel 2:2.99.917+git20200226-1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-40-generic root=UUID=cf568657-da1a-41b6-8375-2d74050df2ce ro quiet splash i915.enable_rc6=0 vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Tags: focal ubuntu third-party-packages ubuntu
Uname: Linux 5.4.0-40-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 04/25/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GL552VW.304
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: GL552VW
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrGL552VW.304:bd04/25/2019:svnASUSTeKCOMPUTERINC.:pnGL552VW:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnGL552VW:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: GL
dmi.product.name: GL552VW
dmi.product.sku: ASUS-NotebookSKU
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102+git2006181830.f44908~oibaf~f
version.libgl1-mesa-dri: libgl1-mesa-dri 20.2~git2007090730.02a578~oibaf~f
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1871721/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → nvidia-graphics-drivers-440 (Ubuntu)
no longer affects: focal (Ubuntu)
Revision history for this message
Noctis Bennington (noctis13) wrote :

I changed to nouveau drivers and the second monitor still doesn't work. I don't think it's because propietary drivers of Nvidia.

Revision history for this message
Noctis Bennington (noctis13) wrote :

I can confirm that with nomodeset the second monitor works.

Revision history for this message
Sindile XJ Bidla (sindilexjb) wrote :

I am also unable to get my second monitor to work with the upgrade from 18.04 to 20.04

I did try to include nomodeset in grub but the graphics become very sluggish

Any ideas on how I could address this?

Revision history for this message
Noctis Bennington (noctis13) wrote :

#4 I don't know some workaround to make work this. If anyone knows, please write here.

PD: Click on "this bugs affects me too".

Revision history for this message
Sindile XJ Bidla (sindilexjb) wrote :

I am also unable to get my second monitor to work with the upgrade from 18.04 to 20.04

It used to work with 18.04 using the nouveau drivers

I did try to include nomodeset in grub but the graphics became very sluggish

Any ideas on how I could address this?

I am using Acer Aspire V 17 Nitro
Graphic card ---- Nvidia GTX960M & Intel HD Graphics 530

What is not clear as well is it recommended to use nouveau drivers or proprietary drivers?

Revision history for this message
Noctis Bennington (noctis13) wrote :

Is recommended use propietary drivers, but it doesn't work neither, it was since 19.10 (maybe the kernel?)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kernel-package (Ubuntu):
status: New → Confirmed
Changed in nouveau-firmware (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Confirmed
2 comments hidden view all 143 comments
Revision history for this message
Mohammed AbdelAal (mabdelaal86) wrote :

I managed to solve it on my laptop by:

1- in this file */usr/share/X11/xorg.conf.d/10-nvidia.conf*, I added this line:
`Option "PrimaryGPU" "Yes"`

2- in this file */usr/share/X11/xorg.conf.d/10-amdgpu.conf*, I changed this line
`Driver "amdgpu"`
to
`Driver "modesetting"`

I found this solution here:
https://forums.linuxmint.com/viewtopic.php?p=1804429#p1804429

Revision history for this message
Noctis Bennington (noctis13) wrote :

I tried it. At the moment, it still without working.

summary: - Second Monitor doesn't work as it should do with Nvidia & Ubuntu 20.04?
+ Second Monitor on HDMI doesn't work as it should do with Nvidia & Ubuntu
+ 20.04?
description: updated
summary: - Second Monitor on HDMI doesn't work as it should do with Nvidia & Ubuntu
- 20.04?
+ Second Monitor on HDMI blank screen with Nvidia & Ubuntu 20.04? (ASUS
+ Laptop)
Revision history for this message
Noctis Bennington (noctis13) wrote : Re: Second Monitor on HDMI blank screen with Nvidia & Ubuntu 20.04? (ASUS Laptop)

Talked about this topic on https://forums.developer.nvidia.com/t/ubuntu-20-04-second-monitor-doesnt-work-ubuntu-and-nvidia-settings-detects-it/124380/13

generix said maybe's a problem with the Intel GPU Firmware.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Update: If I adjust the minimum resolution, sometimes appears the second desktop, but instantly disappear then.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Let's suppose it doesn't use reverse prime, please test latest drm-tip kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/current/

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Oh and it can be a bug in X, please give Wayland a try.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi there, IT's not a bug in X apparently, because I tried with Intel GPU on the laptop with Wayland and nothing works. Don't know if it's because it's working with XWayland (maybe? and how can I try with Wayland native?)

I tried with the last kernel (4.16), but nothing works. I'll try with 4.17.

Revision history for this message
Nhlaluko (ngjmasingi) wrote :

I've been struggling with this all day. My solution (on Ubuntu 20.04) is to downgrade to nvidia driver 435.
Change gdm3 to lightdm.

In that exact order

apt install nvidia-driver-435
apt install --reinstall lightdm ubuntu-desktop

The bug is in driver 440. Also confirmed this in Arch Linux as well.
gdm still doesn't allow HDMI output even in 435.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Update: Nope, it's still without working. :(

Revision history for this message
Nhlaluko (ngjmasingi) wrote :

In my case I had to sacrifice battery life.

Is your NVIDIA card the default, not ondemand. It must be the default one.

My HDMI is wired through the nvidia gpu, so if it's off or low powered it doesn't show on second display.

If your nvidia is the default and is up and running, then i'm out. and No I'm not using wayland.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Tried with Lightdm and 435 driver. Tried with Nvidia only and setting as "maximum performance".

Nothing.

Also I tried with only Intel and Wayland and it doesn't work neither. Seems a problem with Intel, I'm not sure. Nvidia detects the second monitor, it's just in blank screen.

I reinstalled from zero Ubuntu 20.04 and the second monitor is blank screen, tried with 3 monitors. Same result.

I'll back to 18.04 atm, over that version's working perfectly (except on-demand, because there's no option for that 'cause the version of Xorg on 18.04).

I hope find a workaround or at least a fix to this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Changed in mesa-utils (Ubuntu):
status: New → Confirmed
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
tags: added: focal
tags: added: amd64
tags: added: asus intel nvidia
no longer affects: focal (Ubuntu)
2 comments hidden view all 143 comments
Revision history for this message
Noctis Bennington (noctis13) wrote :

Apparently this happens to Ubuntu 18.04.4 and 19.10 (and obviously on 20.04). But on 18.04.1 the second monitor works perfectly. Windows 10 too.

This seems like a mistake or bug on the Mesa/Kernel.

At the moment, I'll be on 18.04.1 but updated.

Revision history for this message
Oscar (oz0no) wrote :

Same behaviour happens to me. The second monitor works as expected on Ubuntu 18.04.1 (upgraded up to 18.04.4 works fine) but does not works with a fresh install of 18.04.4

Asus Laptop
Intel Core i7-6700HQ
nvidia GeForce GTX 960M

With a fresh install of Ubuntu 20.04 the second monitor keeps black and indicates "no source detected" however this is the output of xrandr command:

Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080 60.05*+ 60.01 59.97 59.96 59.93
   ...
   ...
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm <--
   1920x1080 60.00*+
   ...
   ...
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-3 disconnected (normal left inverted right x axis y axis)

Could anybody help with this issue?

Thanks in advance.

description: updated
Revision history for this message
slovic (slovic-r) wrote :

Same here:

Ubuntu 20.04
Asus ROG GL552V
Intel Core i7-6700HQ
nvidia GeForce GTX 960M / driver version: 435.21

Monitor shows Asus splashscreen properly (before os starts)
Monitor stays black (but is detected by system)
It seams to not be detected by graphics card (but not sure now)

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi slovic.

If you see the nvidia-settings you probably can see the second monitor is detected by the Nvidia card. I think this is a problem of Intel, 'cause the second monitor's connected via HDMI, which is connected to Intel GPU.

Please click on "this bug affects me too" so we can make see it to more people.

Revision history for this message
slovic (slovic-r) wrote :

Ok... Problem is solved by ... puling out POWER from monitor! It is weird but for some reason when i unplugged monitor from power and pulled it again it start showing my screen. It is weird but to be honest I've tried sooooo many things before and nothing helped... I've changed drivers few times... so many restarts... I've even changed hdmi cabel.

I assume that monitor is OK because it showed grub/spash screen and when I tried run older linux kernel it showd text on second screen. Not sure what went wrong... maybe something with strength of hdmi signal?

Screen still turns black every few minutes for ~second but at least it works.
Thanks :)

Revision history for this message
slovic (slovic-r) wrote :

* When I pulled monitor from power and plugged it again it start showing my screen.
(I should read it before i clicked POST. ... yea. There is no 'edit' here... I have to remember that)

Revision history for this message
Manpreet Singh (prohosterz) wrote :

Hi,

I tried power on and off the monitor multiple times, but nothing helped, still blank screen.

Revision history for this message
slovic (slovic-r) wrote :

Yea... I've turn it on and off using monitor switch button many times without luck... but in my case I had to PULL OUT THE POWER PLUG. I know how it sounds and how weird it is but just after that it was fixed and it didn't work before. I really don't know why, but it helped me.

Revision history for this message
Darren Kingham (darren.kgm) wrote :

This only started for me yesterday. I'm on 20.04 and don't remember running any updates. Tried most of the above and nothing works for me.

summary: - Second Monitor on HDMI blank screen with Nvidia & Ubuntu 20.04? (ASUS
- Laptop)
+ Second Monitor on HDMI blank screen with Nvidia+Intel & Ubuntu 20.04?
+ (ASUS Laptop)
no longer affects: mesa-utils (Ubuntu)
summary: - Second Monitor on HDMI blank screen with Nvidia+Intel & Ubuntu 20.04?
+ Second Monitor on HDMI blank screen with Nvidia + Intel & Ubuntu 20.04?
(ASUS Laptop)
summary: - Second Monitor on HDMI blank screen with Nvidia + Intel & Ubuntu 20.04?
- (ASUS Laptop)
+ Second Monitor on HDMI blank screen/blink screen with Nvidia + Intel &
+ Ubuntu 20.04? (ASUS Laptop)
description: updated
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please remove "quiet splash" from GRUB boot command line and see if it helps.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Same result Kai-Heng. :(

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Which graphics does the HDMI connect to? Intel or Nvidia?

Revision history for this message
Noctis Bennington (noctis13) wrote :

I'm sure around 99% it's Intel.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Well, let's start from `apport-collect 1871721`.

Revision history for this message
Noctis Bennington (noctis13) wrote : .proc.driver.nvidia.params.txt

apport information

tags: added: apport-collected third-party-packages ubuntu
description: updated
Revision history for this message
Noctis Bennington (noctis13) wrote : BootLog.txt

apport information

no longer affects: nouveau-firmware (Ubuntu)
no longer affects: mesa (Ubuntu)
no longer affects: nvidia-graphics-drivers-440 (Ubuntu)
affects: kernel-package (Ubuntu) → linux (Ubuntu)
no longer affects: xserver-xorg-video-intel (Ubuntu)
description: updated
63 comments hidden view all 143 comments
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

https://people.canonical.com/~khfeng/lp1871721/8

The suffix number doesn't always get bumped.

Revision history for this message
Noctis Bennington (noctis13) wrote :

This one doesn't work the second monitor.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Noctis Bennington (noctis13) wrote :

With this one, the second monitor doesn't work neither.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Noctis Bennington (noctis13) wrote :

With this one, the second monitor is working.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

0519c102f5285476d7868a387bdb6c58385e4074 is the first bad commit
commit 0519c102f5285476d7868a387bdb6c58385e4074
Author: Ville Syrjälä <email address hidden>
Date: Mon Jan 22 19:41:31 2018 +0200

    drm/i915: Implement display w/a #1143

    Apparently SKL/KBL/CFL need some manual help to get the
    programmed HDMI vswing to stick. Implement the relevant
    workaround (display w/a #1143).

    Note that the relevant chicken bits live in a transcoder register
    even though the bits affect a specific DDI port rather than a
    specific transcoder. Hence we must pick the correct transcoder
    register instance based on the port rather than based on the
    cpu_transcoder.

    Also note that for completeness I included support for DDI A/E
    in the code even though we never have HDMI on those ports.

    v2: CFL needs the w/a as well (Rodrigo and Art)

    Cc: Rodrigo Vivi <email address hidden>
    Cc: Art Runyan <email address hidden>
    Signed-off-by: Ville Syrjälä <email address hidden>
    Link: https://patchwork.<email address hidden>
    Reviewed-by: Rodrigo Vivi <email address hidden>

Revision history for this message
Noctis Bennington (noctis13) wrote :

Oh, bingo. So finally we have the first bad commit. Thank you so much for your help Kai-Heng.

How we proceed with this?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

https://<email address hidden>/T/#u

Revision history for this message
Oleg B (f00bar) wrote :

I just want to add that I have the same problem on my Asus N552VW. I have managed to make it work from day 1, so hopefully this can help someone until the proper bug fix is provided.

I have a laptop and an external monitor plugged via HDMI, everything is turned off. Simply turn on the laptop and load the OS, input your login/pass and get into system. Now close the laptop lid, then turn of the monitor.

This are the only steps I can make an external monitor work with 20.04, kernel 5.4.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Tried that "workaround". Still without working as it should the second monitor. :( I guess I have to wait until the bug fix comes...

Revision history for this message
Santiago Fernández Núñez (santiagofn) wrote :

Hi! ~kaihengfeng, I'm having the same issue (HDMI not working) after upgrading from Ubuntu 18.04 to 20.04 using a Dell ThinkPad. Do you think it's possible that the regression affects this model as well? Thanks!

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi Santiago,

I read a lot of reports about that model, for sure it's a bug. Where I read it, the HDMI doesn't work but some people made it works with some "workarounds". In my case, thoses aren't the same problem as I have. Maybe you wanna search about it on Launchpad.

If you have the problems I described up, you can click on "this bugs affects me too".

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Noctis Bennington,

Please install "intel-gpu-tools", then boot with kernel parameter "blacklist=i915,snd_hda_intel modprobe.blacklist=i915,snd_hda_intel 3".

You might need to switch to other tty to see the login prompt.

Then read the register via the following command:
intel_reg read --count 20 0x64E00 0x64E60 0x64EC0 0x64F20 0x64F80
intel_reg read 0x64000 0x64100 0x64200 0x64300 0x64400 0x6C00C

Reply from Intel GFX devs:
https://<email address hidden>/

Revision history for this message
Noctis Bennington (noctis13) wrote :

Oh, okey, I'll do it later.

I presume I have to do it with the actual kernel of 20.04? (5.4.0) Or with the last kernel or...?

Revision history for this message
Noctis Bennington (noctis13) wrote :

Okey, I did it. Tested with the last kernel (5.8.3).

Here are the results.

Revision history for this message
Noctis Bennington (noctis13) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Noctis, new request from intel devs::
https://<email address hidden>/

Revision history for this message
Noctis Bennington (noctis13) wrote :

"Looks like it's using the 400mV/0dB setting. Can we get the same dumps
with the driver loaded just to confirm whether we're using different
settings? "

What does that means? The 400mV/0dB setting. And how can I know/proceed if I get the same dumps with the driver loaded? After introduce thoses parameters (blacklist=i915,snd_hda_intel modprobe.blacklist=i915,snd_hda_intel 3) I only can see the TTY.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

1) Please remove "blacklist=i915,snd_hda_intel modprobe.blacklist=i915,snd_hda_intel 3" and run commands in comment #117 again.

2) Attach "/sys/kernel/debug/dri/0/i915_vbt" here.

Revision history for this message
Noctis Bennington (noctis13) wrote :

The first command (intel_reg read --count 20 0x64E00 0x64E60 0x64EC0 0x64F20 0x64F80)

Revision history for this message
Noctis Bennington (noctis13) wrote :

The second ( intel_reg read 0x64000 0x64100 0x64200 0x64300 0x64400 0x6C00C )

Revision history for this message
Noctis Bennington (noctis13) wrote :

And the i915_vbt file.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi there.

We know something Kai-Heng?

Revision history for this message
Hrvoje Lucic (lucich) wrote :

I started to have same problem when upgraded today to Ubuntu 20.04 LTS on my docking station with VGA port.
HP EliteBook 930p laptop
Samsung SyncMaster 2043"
Port: VGA

"lspci" output: 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

It worked on 18.04.1

Occasionaly I managed to get it work with "xrandr" setting mode to 1680x1050.

VGA-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 459mm x 296mm
   1680x1050 59.88*+
   1280x1024 75.02 60.02
   1280x960 60.00
   1152x864 75.00
   1024x768 75.03 70.07 60.00
   832x624 74.55
   800x600 72.19 75.00 60.32 56.25
   640x480 75.00 72.81 66.67 59.94
   720x400 70.08
   1680x1050_56.00 55.96

But when I reboot, again it does not work.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Noctis, not yet.

I just pinged the upstream devs.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Oh, okey. Thanks Kai-Heng. I'll be attentive.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Noctis Bennington (noctis13) wrote :

I read the emails. Thank you so much for your help Kai-Heng, you even told them the issue was opened two months ago on freedesktop's gitlab.

I'll try the hacks later and I'll be posting about this discussion there.

Let's see if this works.

Revision history for this message
Justin Silverman (jsilve24) wrote :

I think I may be having a related issue.

Lenovo P1 Gen 2
Ubuntu 20.04
I am trying to connect 2 external monitors both connected via USB-C

All was well for the first 2 hours. Then I unplugged my laptop worked off of battery for about an hour. Tried to plug back into the monitors and thats when the problem showed up. Now I can get 1 external monitor to show up, But when I try to connect both external monitors, both are just black (both are recognized both by ubuntu (under displays) and by nvidia-settings.

Any ideas?

Revision history for this message
Ahmad Ammari (anammari) wrote :

Any update on how to fix this bug?

I am having the same problem when trying to connect a second monitor to the second GPU (Nvidia GTX 1080). Only an X cursor can be displayed and the rest is a black screen. Nvidia X Server Settings detects 2 screens. Ubuntu 20.04 LTS Screen Display detects only 1 screen. Nvidia driver 460 with CUDA 11.2

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Noctis, have you tried the branch?

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi there.

Months ago I tried this branch: https://github.com/vsyrjala/linux/tree/skl_vswing_wa_hacks

But the second monitor doesn't work. There's a discussion on https://gitlab.freedesktop.org/drm/intel/-/issues/2181

And no, at the moment there's no a solution. I just found a little fact so interesting. On some monitors, if you set the resolution to 30Hz, the second monitor works. Just on some monitors (the only one was a recent and modern monitor I bought two months ago). Apparently, taking off some Hz it. Never on 60Hz.

Revision history for this message
AKASH KUMAR DUTTA (akash333) wrote :

Hi all.

I am also affected by this bug. Just to be clear, Ubuntu 20.04 works with a previous version of Linux Kernel right ( <= 4.15)? I can use a downgraded version of the kernel for now if thats the only thing that can be done atm.

Regards,
Akash

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi Akash.

Yeah, that's right. Definitely you have the same problem described here. Do you have an Asus too? Laptop?

Atm the only thing you can do is run 4.15 ver. Some monitors on 30Hz works too (don't know why).

Revision history for this message
Frederic (meunierf) wrote :

I'm just facing this same issue since today after upgrading 20.04 kernel from 5.8.x to 5.12.6-051206-generic.

Second screen is detected by Nvidia, but black. When I change down the resolution from 1920x1080 to 1280x1024 the 2nd screen reappear. Then if I put back 1920x1080, the screen keeps alive but the refresh rate appears to 59hz in display settings, so screen is blinking. If I manually put the refresh rate to 60hz, the screen works fine until the next reboot. Then I have to start over.

GPU is Nvidia GTX1060 and driver is Nouveau. Proprietary drivers didn't detects the 2nd screen at all.

Revision history for this message
Noctis Bennington (noctis13) wrote :

Hi there Frederic.
I think that's a different bug, probably a Nvidia problem. I reported here a problem where depends of Intel.

Revision history for this message
Edward Hildum (ehildum) wrote :

I am seeing the same problem on a Dell Precision 7750.

Ubuntu 20.04LTS
kernel: 5.11.0-27-generic #29~20.04.1-Ubuntu SMP

graphics: VGA compatible controller: NVIDIA Corporation TU106GLM [Quadro RTX 3000 Mobile / Max-Q] (rev a1)
plus Intel i915
processor: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz

With nvidia-prime installed, running nvidia-settings presents three options:
NVIDIA (Performance Mode), NVIDIA On-Demand, Power Save
In Performance Mode, only the external HDMI port is active. Booting with no external monitor produces a blank laptop LCD display, but the external monitor is active. Using System Settings / Display, only the external monitor is detected. The keyboard secondary function key Fn F8 has no effect. Laptop screen is blank if booted without an external monitor connected.

In On-Demand mode, only the laptop display is active and the external monitor has no output. System Settings / Display detects both monitors. The Fn F8 key pops up a display mode selection tool to select how the screens will be configured, if the external-monitor-only mode is selected, the laptop screen is blank, and there is no display on the external monitor. All other selections have no effect.

In Power Save mode, only the laptop display is active and the external monitor has no output. System Settings / Display detects only the laptop monitor. The keyboard secondary function key Fn F8 has no effect.

Revision history for this message
jonas30209 (jonas870103) wrote :

I have the same problem on my laptop

Asus GL552VW, with i5-6300HQ
GTX 960M, with NVIDIA driver 470.57
Ubuntu 21.04

My second HDMI monitor has blink screen every 30~60 seconds, and #136's solution works for me
I changed the refresh rate of screen from 60Hz(default) to 74.91Hz
After that, blink screen never happen again for now

Revision history for this message
Stefan Zwahlen (stefan-zwahlen) wrote :

Same problem here with a Dell XPS 9130 runnting Ubuntu 20.04.3. My laptop only has a Intel Iris graphics card.

As for others, changing the frequency from 60Hz to 30Hz "solved" the problem.

Displaying first 40 and last 40 comments. View all 143 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.