Laptop screen blank (not detected) for 460.73.01 - HP Envy 15-ep0142TX

I have an HP Envy 15-ep0142TX, i7-10750H, GeForce RTX 2060 with Max-Q Design, NVIDIA Drivers 460.73.01. The question is long, but please kindly help me out here.

Preface

I had dual booted my laptop (Windows 10 Home + Xubuntu 20.04) long ago. Initially, I faced an issue of vertical lines in the bottom half of my laptop screen. This did not appear on any external display connected through the HDMI (or thunderbolt ports). To save my laptop’s AMOLED display, I set the system to boot with nomodeset (thinking that it may have been a video driver issue during boot). To accomplish this, in my /etc/default/grub, I set GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" and did sudo update-grub. It caused a different problem altogether (while partially fixing this issue). In the Additional Drivers, I set my graphics card to use nvidia-driver-460 because my work needed NVIDIA drivers.

Main Issue

Boot on Laptop Display only - No Desktop

When I boot my laptop, with no external display connected, I boot into a blank screen (it goes blank after the Starting Light Desktop Manager message at boot). I can enter a console using Ctrl + Alt + F1, but cannot start a desktop. I try to run startx, but the command just freezes without giving an error. I’m guessing that it’s an Xorg issue.
I ran startx -- -logverbose 6 in tty1, it was unsuccessful and got stuck (no error) and then ran sudo nvidia-bug-report.sh in tty2. The generated log is in nvidia-bug-report-nogui.log.gz (log file at the bottom, I renamed the file generated as there are multiple logs attached here).

External Display connected - Desktop

When I boot my laptop with an external display attached to the HDMI port, only the external display functions as the desktop. The laptop display doesn’t even get detected. I even check with the Display app (output below)

Screenshot_2021-05-21_23-56-15

The Samsung 23'' is the external display. I think the laptop display is not getting recognized. If I attach another external display through the thunderbolt port, it too gets recognized and I can use it as I normally would. Only the laptop’s display doesn’t seem work (blank, but the back light seems on).
I booted the computer with the external display attached and ran sudo nvidia-bug-report.sh. The results are in nvidia-bug-report.log.gz (log file at the bottom). I can use the computer through this display, but it makes mobile work very difficult (I can’t access a desktop when using NVIDIA drivers).

Nouveau - Laptop display works (no external display)

When I set the graphics card drivers to xserver-xorg-video-nouveau (in Additional Drivers), the laptop display works well after boot (no vertical lines error). But, the system does not detect any display connected to either of the Thunderbolt ports (they have DisplayPort) or the HDMI. So I cannot use any external display if I want to use my laptop display. Additionally, as I cannot access NVIDIA drivers, I cannot do some parts of my work.

Conclusion

My work would become a lot easier if I could use my laptop display (without half of it showing vertical lines) and an external display. I do not experience this issue on my Windows partition (where both the displays - my laptop and any external ones I attach - work fine).

Another weird thing is that the touchscreen of my laptop display works (even when only the external display is working / showing a desktop). I can actually tap somewhere and the cursor moves there (corresponding location on the external display). So I really do not know why or how would that happen, but it means that the OS knows that the display is there.

Supplementary material

  • Output of sudo lshw -html in lshw.html (attached in the end)

Command outputs

nvidia-smi gives

Sat May 22 00:15:26 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 206...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   44C    P8     9W /  N/A |    198MiB /  5934MiB |      5%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       989      G   /usr/lib/xorg/Xorg                182MiB |
|    0   N/A  N/A      1457      G   xfwm4                               2MiB |
|    0   N/A  N/A      3708      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      3858      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      4047      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      4235      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      5041      G   /usr/lib/firefox/firefox            1MiB |
+-----------------------------------------------------------------------------+

nvidia-smi -L gives

GPU 0: GeForce RTX 2060 with Max-Q Design (UUID: GPU-608b17a0-0b01-ab7d-4e56-2ee5e2734f57)

xrandr gives (when NVIDIA driver is being used, external display connected)

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      70.07    60.00  
   800x600       72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)

This one is particularly surprising, as it doesn’t even list eDP-1

uname -a gives

Linux talos 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a gives

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

Please help me out here. Thanking you in advance.

nvidia-bug-report-nogui.log.gz (245.2 KB)
nvidia-bug-report.log.gz (255.9 KB)
lshw.html (111.4 KB)

1 Like

More information about the vertical lines issue here (where I show pictures of how it looked).

1 Like

I have the same problem on my Dell Precision. Have you made any progress?

Sadly no. I’m just working with my external display. Do you also have version 460.73.01 and a 4K display? I really hope somebody on this forum comes to our aid soon.
There has been a new release, 460.80. However, it seems official channels on Ubuntu haven’t received that update yet. I really hope that it is available soon and that it fixes this issue. Else, this forum is my last hope.
I’ve actually asked the same question on superuser and answered it with a temporary workaround. No answers there so far.

The 460.80 update has been rolled out on the official Ubuntu channels and I have updated. This update did not fix the issue. I have attached the latest output of sudo nvidia-bug-report.sh to this reply.

nvidia-bug-report.log.gz (282.1 KB)

Seems like the problem has been fixed in the latest release. I just upgraded my system. Here is the output of different commands

Output of uname -a

Linux talos 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of xrandr

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  60.01    59.97    59.96    59.93    40.00  
   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-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x720      59.94  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x480       59.94    59.94  
   640x480       75.00    59.94  
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
  1280x1024 (0x52) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1024x768 (0x67) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x76) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x85) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

Output of nvidia-smi

Thu Jul  1 13:46:15 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.80       Driver Version: 460.80       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 206...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   39C    P8     7W /  N/A |     46MiB /  5934MiB |     28%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1097      G   /usr/lib/xorg/Xorg                 45MiB |
+-----------------------------------------------------------------------------+

Output of nvidia-smi -L

GPU 0: GeForce RTX 2060 with Max-Q Design (UUID: GPU-608b17a0-0b01-ab7d-4e56-2ee5e2734f57)

What I did

After the upgrade

  1. In /etc/default/grub, I changed the GRUB_CMDLINE_LINUX_DEFAULT value to quiet splash. So the line became

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    

    I then ran sudo update-grub

  2. I ran the following command

    sudo ubuntu-drivers autoinstall
    sudo nvidia-xconfig
    reboot
    

    After reboot, the display was no longer tearing in the middle. But, the problem still wasn’t fully solved (I was getting an error line and the laptop display wasn’t getting recognized) so I ran the following (removed the file).

    cd /etc/X11
    sudo mv xorg.conf xorg.conf.bak
    

After a reboot, the problem seems to have fixed itself. I can now use both my laptop display (seen as eDP) and external HDMI displays. Putting this out in the community for help. I’m also including the file generated by running

sudo nvidia-bug-report.sh

nvidia-bug-report.log.gz (283.5 KB)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.