Backporting the Microsoft Basic Display Adapter driver from Windows 8 Build 7963 to Windows 7

Discussion in 'Windows 7' started by Chuterix, Nov 19, 2022.

  1. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    To confirm, basicrender.sys is also a video driver that basicdisplay.sys may need (see Group section).
    upload_2022-12-19_22-56-43.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    #22 UsefulAGKHelper, Dec 19, 2022
    Last edited: Dec 19, 2022
    Btw, you also need to import hal.dll from windows longhorn under another name to get this to work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    120
    10
    afaik, still no
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    Based on my test, on Windows 7 with Driver Signature Enforcement disabled, the OS prevents the BasicDisplay driver from starting because it causes problems (that's how the error specified what happened) although Dependency Walker found no missing imports in the driver after adding kernel extender in BasicDisplay.sys's dependency files.
    And yes, I used the driver from George's archive.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    #25 UsefulAGKHelper, Dec 26, 2022
    Last edited: Dec 26, 2022
    @Chuterix In virtualbox, through BCD on legacy mode, perhaps this works the same on windows 7, I could boot XP from winload 16497 without display using BasicDisplay driver if the vga/vgapnp drivers are disabled (set to 4), even with original ntldr.

    On safe mode, the BasicDisplay driver originally isn't loaded on windows 7 and older OS, so here's a way to make the BasicDisplay driver boot in safe mode.
    Inside the XP VM, on regedit, make sure that basicdisplay.sys key is present in these locations so it can load in safe mode:
    \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\BasicDisplay.sys
    \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\BasicDisplay.sys
    In the keys, at (Default), at Data value, it should be specified as "Driver".

    This way, BasicDisplay can be supported as a fallback video driver on safe mode from windows xp, vista, and 7 OS.

    NOTE: Because the BasicDisplay driver doesn't work yet on windows 7 and older OS, they may be unable to use the BasicDisplay driver, so maybe that explains the lack of display.
    EDIT: Apparently winload allows windows to boot without vga.sys/vgapnp.sys, without display so perhaps that explains why it works.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. atp156766

    atp156766 MDL Novice

    Oct 2, 2021
    10
    0
    0
    I tried this driver but it says “Windows cannot initialize the driver (error code 37)” (TestSigning on )
     
  7. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    120
    10
    this driver doesn't work (yet)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    The best way to figure out what prevents the driver from working is through windows debug tool such as windbg.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    120
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    Maybe videoprt.sys from Windows 8 should be backported alongside the basic display driver, so the Int 10h dependency in Windows 7 (and earlier Windows OS) is gone. Maybe that's the reason why the Basic Display driver doesn't install.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Chuterix

    Chuterix MDL Senior Member

    Apr 18, 2022
    275
    120
    10
    maybe. let's see
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    375
    230
    10
    You can force a correct installation of the basic display driver by either copying the Enum device manager entry of the Basic Display driver (ensuring that it has the same hardware ID as the target driver) or changing the service in enum entry of installed Standard Vga Graphics Adapter to point to service Basic Display instead of Vga service of vgapnp.

    To edit the entries from the Enum key in registry, change owner and permissions in the Enum Key.

    You can find the Basic Display enum key on HBCD windows 10.
    Obviously do this on the VM, for testing purposes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. kocoman

    kocoman MDL Senior Member

    May 16, 2007
    358
    6
    10
    does anyone know how vbt works in windows? thx
     
  14. Alexandros C. Couloumbis

    Alexandros C. Couloumbis MDL Junior Member

    May 19, 2018
    83
    16
    0
    apparently, this concept is the ONLY way to extend Win7 life on modern times. it offers native UEFI support along with high resolution 3d acceleration without a need of a dedicated driver
     
  15. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,884
    2,775
    120
    Guys any of you know which is the last build capable of using XPDM VGA drivers?

    Would be very interesting to have the ability of using XP drivers in Win8+ for unlucky HW that didn't have a proper WDDM driver.

    And for people who want to use a recent x86 Windows + PAEpatch, but can't because poorly written Nvidia/Intel WDDM drivers (usually XP drivers aren't affected)
     
  16. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    2,444
    1,664
    90
    use windows 7 last build with xpddm support
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    3,884
    2,775
    120
    #38 acer-5100, Jul 16, 2023
    Last edited: Jul 17, 2023
    What about the tap water? Do you already discovered it? :D
     
  18. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    2,444
    1,664
    90
    Why should geeks take fire training?

    Because of firewalls.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. George King

    George King MDL Expert

    Aug 5, 2009
    1,878
    2,239
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...