Difference between revisions of "Broken Monitor"

From QWiki
(Created page with "With broken monitor.. Some monitors might end up 'dying' or only working in lower refresh rates, they are blinking when setting to high refresh rate, or not showing any pictu...")
 
 
Line 7: Line 7:
 
In Linux, with amdgpu driver,  
 
In Linux, with amdgpu driver,  
  
cd /usr/src/linux/
+
  cd /usr/src/linux/
vim drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+
  vim drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
 
 
 
Change
 
Change
timing_out->pixel_encoding = PIXEL_ENCODING_RGB;
+
  timing_out->pixel_encoding = PIXEL_ENCODING_RGB;
 
to
 
to
timing_out->pixel_encoding = PIXEL_ENCODING_YCBCR422;
+
  timing_out->pixel_encoding = PIXEL_ENCODING_YCBCR422;
  
make oldconfig
+
  make oldconfig
make scripts prepare modules_prepare
+
  make scripts prepare modules_prepare
make -j9 -C . M=drivers/gpu/drm
+
  make -j9 -C . M=drivers/gpu/drm
  
cp ./drivers/gpu/drm/*ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/
+
  cp ./drivers/gpu/drm/*ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/
cp ./drivers/gpu/drm/amd/amdgpu/amdgpu.ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/amd/amdgpu/
+
  cp ./drivers/gpu/drm/amd/amdgpu/amdgpu.ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/amd/amdgpu/
depmod -a
+
  depmod -a
reboot
+
  reboot
  
 
That's all folks, have fun with ASUS VG258QR 165hz with YCBCR420 :-)  
 
That's all folks, have fun with ASUS VG258QR 165hz with YCBCR420 :-)  
  
 
And btw add something like "video=DP-1:1920x1080@165" to the append line of lilo/grub :-)
 
And btw add something like "video=DP-1:1920x1080@165" to the append line of lilo/grub :-)

Latest revision as of 08:55, 30 January 2026

With broken monitor..

Some monitors might end up 'dying' or only working in lower refresh rates, they are blinking when setting to high refresh rate, or not showing any picture at all. Use HDMI, This usual works!

Fixing this might be hard, in windows, go to NVIDIA Control Panel set ColorSpace to YcBcr420. Things should work. Same thing works in Linux. You might wanna use HDMI and DP at the same time to fix the problem.

In Linux, with amdgpu driver,

  cd /usr/src/linux/
  vim drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Change

  timing_out->pixel_encoding = PIXEL_ENCODING_RGB;

to

  timing_out->pixel_encoding = PIXEL_ENCODING_YCBCR422;
  make oldconfig
  make scripts prepare modules_prepare
  make -j9 -C . M=drivers/gpu/drm
  cp ./drivers/gpu/drm/*ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/
  cp ./drivers/gpu/drm/amd/amdgpu/amdgpu.ko /lib/modules/kernel-version/kernel/drivers/gpu/drm/amd/amdgpu/
  depmod -a
  reboot

That's all folks, have fun with ASUS VG258QR 165hz with YCBCR420 :-)

And btw add something like "video=DP-1:1920x1080@165" to the append line of lilo/grub :-)