0

There is a problem with my display ouput.

The Asus ZenScreen monitor cannot detect a signal after switching off and on again. I will have to hibernate the machine before the display can work again.

Apparently, the system is unable to detect the xrandr connection type for my display:

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080     77.00* 
  1920x1080_60.00 (0x55a) 173.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz

possibly due to a lack of driver for my graphics card:

inxi -G
Graphics:
  Device-1: Intel UHD Graphics driver: N/A 
  Display: x11 server: X.Org 1.20.11 driver: fbdev 
  unloaded: modesetting,vesa resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) 
  v: 4.5 Mesa 21.0.3 

It says here that a kernel upgrade is needed,

intel_gpu_top
Failed to detect engines! (No such file or directory)
(Kernel 4.16 or newer is required for i915 PMU support.)

But my kernel version is clearly newer than the 4.16 requirement.

uname -r
5.11.0-27-generic

Assuming the driver is already installed with the kernel, though I can select intel as my driver,

prime-select query
intel

it is apparent the Intel UHD Graphics card cannot detect any compatible driver in the kernel. (No Kernel driver in use in the output below.)

lspci -k
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
    DeviceName:  GPU
    Subsystem: Intel Corporation UHD Graphics
    Kernel modules: i915

Can someone diagnose what's the issue over here?

The xrandr command had been working properly with the same setup before.

Sati
  • 59

1 Answers1

-1

I've found out what's wrong. Here's what I did:

sudo nvim /etc/default/grub

Change this line:

GRUB_CMDLINE_LINUX="nomodeset"

to this:

GRUB_CMDLINE_LINUX=""

Then:

sudo update-grub

And the display is working properly again.

inxi -G
Graphics:  Device-1: Intel UHD Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.11 driver: fbdev unloaded: modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.0.3 
lspci -k
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
    DeviceName:  GPU
    Subsystem: Intel Corporation UHD Graphics
    Kernel driver in use: i915
    Kernel modules: i915
Sati
  • 59