How to add video driver to WinPE 3.0?
Posted 10 September 2012 - 01:39 PM
Posted 11 September 2012 - 07:49 AM
Posted 11 September 2012 - 09:14 AM
and as already default applied in Make_PE3 where portable 7pe_x86_E.iso is booting from Grub4dos menu
and will auto search for folder drv to Install the Video driver
This post has been edited by wimb: 11 September 2012 - 09:16 AM
Posted 11 September 2012 - 12:34 PM
wimb, thanks also. As I infer, I should run the Registry file on WinPE after placing the listed files into the System32 folder, then use drvload to install the video driver. Is this correct? I noticed that the author stated that the nVidia drivers required a Restart. Probably Catalyst also? I would like to use the injected driver but it sounds like this is not possible.
Thanks to both and enjoy, John.
Posted 11 September 2012 - 03:03 PM
EDIT: In my Registry the key in the link (HKEY_LOCAL_MACHINE\PE3-SYSTEM\ControlSet001\services\DXGKrnl), without the PE3-, has a sub key, Enum:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\DXGKrnl\Enum] "0"="Root\\LEGACY_DXGKRNL\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001Do I need this?
This post has been edited by johnhc: 11 September 2012 - 06:33 PM
Posted 12 September 2012 - 02:20 AM
The out of space error could mean you don't have enough space on systemdrive to copy the very big ati drivers.
Try to increase WinPECacheThreshold.
Posted 12 September 2012 - 08:45 AM
Posted 12 September 2012 - 09:03 AM
Posted 12 September 2012 - 09:24 AM
Posted 12 September 2012 - 12:33 PM
If every PC you want to boot this WinPE has 2GB RAM, you can set WinPECacheThreshold to the maximum of 512MB.
Sometimes driverinstall copies the uncompressed drivers twice,
but 512MB freespace on systemdrive should be enough to install the driver.
if still not enough, I've reduced the driver package to ~ 10MB ATI_12.8_x64.7z
driver integration will not add the complete package, dism parses the .inf files and copies only the result.
This post has been edited by JFX: 12 September 2012 - 12:34 PM
Posted 12 September 2012 - 05:32 PM
EDIT: Injecting the driver did not result in seeing the driver in use when I booted WinPE. I can see the driver in the System32\FileRepository folder. I use drvload to load the driver and again can see it in DriverView and DevCon but the screen is still in low resolution so I am not sure if the Catalyst driver is really being used. No reboot was requested. But I see a Videoprt.sys (Video Port) in DriverView. I took a quick shot at installing the Catalyst Control Center, but the installer is a 32 bit PE. Is there a way to try to change the resolution? I am using an Unattend.xml file with the resolution set to 1920:1080.
This post has been edited by johnhc: 12 September 2012 - 06:18 PM
Posted 13 September 2012 - 08:36 AM
I use a third party app. Here is 64bit app to change resolution (does not work in WinPE 4)
And for 32bit, look for a program called Setres.exe.
Posted 13 September 2012 - 12:18 PM
This post has been edited by johnhc: 14 September 2012 - 01:35 PM
Posted 15 September 2012 - 12:19 PM
MsgBox (1,"Resolution",@DesktopWidth&":"&@DesktopHeight&":"&@DesktopDepth&":"&@DesktopRefresh)During searching I found qres and ran it on my VM. It looked neat, so I tried it on WinPE 3.0 32 bit and it works fine. I tried 'qres /L' to see what valid resolutions were available but it showed nothing. Changing the unattend.xml file to reflect a resolution of 1024:768 worked also. I searched for a 64 bit version of qres with no luck, but the link (above) has the source. Maybe some enterprising programmer can compile qrez for x64. There is a readme-build.txt file with instructions. I am not a programmer.
The real purpose of all this was to test the Catalyst driver. I have been unable to convince myself that after installing the Catalyst driver that it is actually controlling the video card. Using
devcon stack "PCI\VEN_1002&DEV_6738"I see the card and a line that shows the controlling service as amdkmdap. This is the same as on W7. I can also see the driver files in 'devcon driverfiles' and 'devcon drivernodes'. I expected to be able to set my display resolution to 1920:1080 (actual screen size) but could only set 800:600 and 1024:768. Perhaps this is a WinPE 3.0 restriction. Can anyone tell me how to determine for sure that the Catalyst driver is controlling the video card? Thanks and enjoy, John.
EDIT: I just learned that the source pointed to above is not for the QRes by Anders Kjersem and does not seem to work at all.
This post has been edited by johnhc: 19 September 2012 - 03:06 PM
Posted 15 September 2012 - 03:34 PM
Set Screen Resolution is working in Make_PE3 builds .....
See WIN7_add_explor.txt in Make_PE3\PE3_mod\WIN7_add\amd64
// Screen Resolution and Personalize Desktop Background + some extra files // Added July 16, 2010 dwmcore.dll \windows\system32\alttab.dll \windows\system32\cscdll.dll \windows\system32\cscui.dll \windows\system32\msfeeds.dll \windows\system32\mydocs.dll \windows\system32\photometadatahandler.dll \windows\system32\provsvc.dll \windows\system32\searchfolder.dll \windows\system32\shacct.dll \windows\system32\shgina.dll \windows\system32\structuredquery.dll \windows\system32\themeui.dll \windows\system32\dwmcore.dll \windows\system32\en-US\alttab.dll.mui \windows\system32\en-US\cscui.dll.mui \windows\system32\en-US\mydocs.dll.mui \windows\system32\en-US\provsvc.dll.mui \windows\system32\en-US\searchfolder.dll.mui \windows\system32\en-US\shacct.dll.mui \windows\system32\en-US\shgina.dll.mui \windows\system32\en-US\themeui.dll.mui \windows\system32\en-US\dwmcore.dll.mui \Windows\Web\Wallpaper\Windows\*.*
This post has been edited by wimb: 15 September 2012 - 03:36 PM
Posted 17 September 2012 - 12:59 PM