> Date: Sun, 27 Oct 2024 14:11:30 +0000 > From: unadvi...@airmail.cc > > I was having some trouble on an old ThinkPad x201i with intel > integrated graphics. So was thinking of trying something as an effort > to fix it.
Can you be any more specific about the trouble you're having? Do you have any dmesg output you can share? > Not so accustomed in building kernel from source, let alone debugging > it. > > I wonder if I'm doing anything wrong or is there any solution to this. > Please help. > > Tried this on NetBSD 10.0 x86_64: > > # ftp https://cdn.NetBSD.org/pub/NetBSD/NetBSD-$(uname > -r)/source/sets/syssrc.tgz > # tar zxvf syssrc.tgz -C / > # cd /usr/src/sys/arch/$(uname -m)/conf/ > # cp GENERIC MYKERNEL > > Uncommented and changed the ident line and uncommented the > "i915drm* at drm?" line on MYKERNEL. If you want to try this -- using the >decade-old, unmaintained, UMS-only, older-generation drivers which we intend to delete at some point -- you will also need to comment out all the newer-generation drmkms drivers: --- GENERIC 2024-08-28 13:50:36.815792202 +0000 +++ LEGACYDRM 2024-10-27 15:56:42.431780926 +0000 @@ -452,7 +452,7 @@ sysbeep0 at pcppi? # DRI legacy drivers -#i915drm* at drm? # Intel i915, i945 DRM driver +i915drm* at drm? # Intel i915, i945 DRM driver #mach64drm* at drm? # mach64 (3D Rage Pro, Rage) DRM driver #mgadrm* at drm? # Matrox G[24]00, G[45]50 DRM driver #r128drm* at drm? # ATI Rage 128 DRM driver @@ -462,20 +462,20 @@ #tdfxdrm* at drm? # 3dfx (voodoo) DRM driver # DRMKMS drivers -i915drmkms* at pci? dev ? function ? -intelfb* at intelfbbus? +#i915drmkms* at pci? dev ? function ? +#intelfb* at intelfbbus? -radeon* at pci? dev ? function ? -radeondrmkmsfb* at radeonfbbus? +#radeon* at pci? dev ? function ? +#radeondrmkmsfb* at radeonfbbus? #amdgpu* at pci? dev ? function ? #amdgpufb* at amdgpufbbus? -nouveau* at pci? dev ? function ? -nouveaufb* at nouveaufbbus? +#nouveau* at pci? dev ? function ? +#nouveaufb* at nouveaufbbus? # DRMUMS drivers -- make them loadable, but not statically linked in -options DRM_LEGACY +#options DRM_LEGACY #viadrmums* at drm? #options DRM_MAX_RESOLUTION_HORIZONTAL=1920 # Limit DRM size in horizontal dimension