Solution: Build a kernel for HP Omni 120 based on Linux kernel 6.4.13

Step 1: Download Linux kernel 6.4.13 and extract:
"wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.4.13.tar.xz";
"tar xvf linux-6.4.13.tar.xz"

Step 2: Install additional packages for building a kernel
"sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils 
libssl-dev bc flex libelf-dev bison"

Step 3: Configure Kernel
Navigate to the linux-6.4.13 : "cd inux-6.4.13"
Copy the existing Linux config file: "cp -v /boot/config-$(uname -r) .config"
Make a default configuration file: "make menuconfig" -> Save -> Exit

Step 4: Edit drivers/gpu/drm/drm_edid.c in folder linux-6.4.13 (Visit 
https://gitlab.freedesktop.org/nouvelles/kernel/-/commit/2682768bde745b10ae126a322cdcaf532cf88851
 for more details) 
Remove
        /* Some EDIDs have bogus h/vtotal values */
        if (mode->hsync_end > mode->htotal)
                mode->htotal = mode->hsync_end + 1;
        if (mode->vsync_end > mode->vtotal)
                mode->vtotal = mode->vsync_end + 1;
Add
        /* Some EDIDs have bogus h/vsync_end values */
        if (mode->hsync_end > mode->htotal) {
                drm_dbg_kms(dev, "[CONNECTOR:%d:%s] reducing hsync_end 
%d->%d\n",
                            connector->base.id, connector->name,
                            mode->hsync_end, mode->htotal);
                mode->hsync_end = mode->htotal;
        }
        if (mode->vsync_end > mode->vtotal) {
                drm_dbg_kms(dev, "[CONNECTOR:%d:%s] reducing vsync_end 
%d->%d\n",
                            connector->base.id, connector->name,
                            mode->vsync_end, mode->vtotal);
                mode->vsync_end = mode->vtotal;
        }

Step 5: Start building the kernel. Note: It may take hours to complete.
"scripts/config --disable SYSTEM_TRUSTED_KEYS"
"scripts/config --disable SYSTEM_REVOCATION_KEYS"
"sudo make -j$(nproc)"
Press Enter 2 times to confirm the default options for the generation of new 
certificates.

Step 6: Install the compiled kernel
"sudo make modules_install"
then
"sudo make install"

Reboot and the flickering disappear. This issue has been existing for
over a decade, so I hope anyone suffering from this issue can now fix
it.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-5.11 in Ubuntu.
https://bugs.launchpad.net/bugs/1964916

Title:
  [HP Omni 120-2110il AIO] Flickering white lines on screen

Status in linux-hwe-5.11 package in Ubuntu:
  Confirmed

Bug description:
  https://www.youtube.com/watch?v=GcAXAicoZqY

  this is the video of my error
  i am having this issue on all versions of ubuntu-- i have tried installing 
versions 20.04, 18.04.06, 12.04..
  i have intel pentium g630 processor with intel graphics 2000 (Vram-256M). I 
used Windows 10 on my PC but i thought of switching to ubuntu when this problem 
arose.. The glitch shows up on ubuntu splash screen and remains there until i 
restart my pc with nomodeset parameter...i have reinstalled windows 10 but i 
want this issue to get fixed.. i need to use ubuntu ...pls....

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
  Uname: Linux 5.11.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar 15 14:59:57 2022
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0102] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family 
Integrated Graphics Controller [103c:2ac5]
  InstallationDate: Installed on 2022-03-05 (9 days ago)
  InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
  MachineType: Hewlett-Packard 120-2110il
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic 
root=UUID=54d1c05e-a544-4510-8da7-87e1a7242e0f ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/17/2011
  dmi.bios.release: 4.6
  dmi.bios.vendor: AMI
  dmi.bios.version: LEO_707
  dmi.board.name: 2AC5
  dmi.board.vendor: Quanta
  dmi.board.version: 101
  dmi.chassis.asset.tag: 4CS2040B0F
  dmi.chassis.type: 3
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnAMI:bvrLEO_707:bd11/17/2011:br4.6:svnHewlett-Packard:pn120-2110il:pvr:rvnQuanta:rn2AC5:rvr101:cvnHewlett-Packard:ct3:cvr:
  dmi.product.family: 103C_53316J G=D
  dmi.product.name: 120-2110il
  dmi.product.sku: QF135AA#ACJ
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.105-3~20.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3~20.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1~20.04.2
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.11/+bug/1964916/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to