Jump to content











Photo
- - - - -

nVidia graphics driver in Win7PE_SE

nvidia geforce 590

  • Please log in to reply
24 replies to this topic

#1 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 30 January 2012 - 04:27 PM

So im a noob.. Just to clear things out ..

I have made this usb stick with the above version of windows running live.. It works well .. All my drivers are loaded except for a graphics driver for my nVidia GeForce GTX 590 .. I tried downloading the newest one and just add it as the other drivers, but it wont load as it seems..

Can anyone explain to me how i can do this ? I've searched the forums but i cant figure it out.. Maybe im searching for the wrong things who nows..

~D

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 30 January 2012 - 04:51 PM

If you have Win7PE_SE you can use install drivers from host(computer). Just enable "Driver Package Installer" in your build if you havn't done so already.

This of course works only, if the version of Windows7 installed on that computer, is of the same 32/64 Bit architecture as the PE.

:cheers:

#3 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 30 January 2012 - 04:57 PM

If you have Win7PE_SE you can use install drivers from host(computer). Just enable "Driver Package Installer" in your build if you havn't done so already.

This of course works only, if the version of Windows7 installed on that computer, is of the same 32/64 Bit architecture as the PE.

:cheers:


I can try that .. But is there a way to do it if there is no windows installation on the host computer ? Or if im to use this on a computer that runs another version of windows than the one im using ? Which is btw. WIndows 7 64 bit..

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 30 January 2012 - 05:27 PM

There are of course other ways to do it. But this is the easieest and fastest way to test, if you just didn't include the drivers right or if there is a general problem with Win7PE_SE.

:cheers:

#5 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 31 January 2012 - 08:01 PM

So with the Install drivers from Host, the drivers are installed and working fine.. I would however prefer if the drivers were intergrated .. Is that possible somehow ?

And even though i have selected to include directx 11 some files from earlier directx versions seems to be missing.. anyway to fix that ?

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 31 January 2012 - 08:30 PM

Ok, so it's a problem of how the graphics drivers were included.
How do you supply the other drivers to your PE? Do you use a specific script for that?

About the DirectX script.
I'm fighting with this for months, as far as i can tell, all DirectX 11 files are there. Still it doesn't work 100% right and i havn't found a way to pinpoint the problem.

If you can name the files, that are missing, i will look into it.

:cheers:

#7 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 02 February 2012 - 02:12 PM

Ok, so it's a problem of how the graphics drivers were included.
How do you supply the other drivers to your PE? Do you use a specific script for that?

About the DirectX script.
I'm fighting with this for months, as far as i can tell, all DirectX 11 files are there. Still it doesn't work 100% right and i havn't found a way to pinpoint the problem.

If you can name the files, that are missing, i will look into it.

:cheers:


I just place the drivers in the folder %GlobalTemplates%Drivers_x64 .. Unzipped ofcourse.. Drivers downloaded from driverpacks.net .. Seems to work great, my harddrives are loaded and sound is working and so on ,. Only problem, is the graphics drivers..

But guess i will have to give up on this if earlier versions of DirectX cant be intergrated.. :(

#8 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 02 February 2012 - 02:55 PM

Go to system32\driverstore\filerepository look for a folder with nvidia in it's name. The newest one, should be the one that contains your graphics driver.
Copy that folder to %GlobalTemplates%\Drivers_x64\

As for DirectX9. Thre exists no premade script for it, but you can create one.

Use RegShot to create a snapshot of your system, then install DirectX9.
Take a second snapshot and start gathering all the newly created files.
Now create a script, which copies the files and the registry entries at build time into your PE.

Or simply run each time you need it, DirectXß_redist.exe.

:cheers:

#9 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 02 February 2012 - 03:27 PM

Okay i think it would be the easiest to just run it everytime it starts :P Maybe i could just add the installer to the usb stick and then just make some autorun on it ..

But i have another problem.. Many times when i try to run different installs it claims i dont have administrator rights.. How can that be ?

EDIT : No folder named nvidia in the "system32driverstorefilerepository" folder.. But i found one called nv_disp.inf and some more.. I guess that is the driver so im trying with that :)

Edited by Da9L, 02 February 2012 - 03:33 PM.


#10 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 02 February 2012 - 04:27 PM

But i have another problem.. Many times when i try to run different installs it claims i dont have administrator rights.. How can that be ?

Beats me, I never had that problem, but i also don't use 64Bit build.

:cheers:

#11 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 02 February 2012 - 05:34 PM

Beats me, I never had that problem, but i also don't use 64Bit build.

:cheers:


Maybe i should use 32 bit instead, seems like thats more combatible with stuff around here.. Just a shame it cant use more than 3 gb ram ..

#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 02 February 2012 - 08:08 PM

3GB seems like more than enough for a OS, that can run from RAM with just 512MB RAM.

Can i assume that your driver works now?

:cheers:

#13 cdob

cdob

    Silver Member

  • Expert
  • 803 posts

Posted 02 February 2012 - 10:56 PM

Maybe i should use 32 bit instead, seems like thats more combatible with stuff around here.. Just a shame it cant use more than 3 gb ram ..

A 32 bit processor supports a 36 bit address range since 1995
http://en.wikipedia....dress_Extension

Licensed Memory in 32-Bit Windows Vista
http://www.geoffchap...ense/memory.htm

#14 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 03 February 2012 - 03:02 AM

3GB seems like more than enough for a OS, that can run from RAM with just 512MB RAM.

Can i assume that your driver works now?

:cheers:


Im about to try it out now.. Will report back if it works or not :)

EDIT: Okay it didnt work.. I tried to load all the drivers after boot with the pnp all thingy.. Didnt work either.. Then i tried to install the driver from my OS partition manually by going to "add remove hardware" but this didnt work either..

Go to system32driverstorefilerepository look for a folder with nvidia in it's name. The newest one, should be the one that contains your graphics driver.
Copy that folder to %GlobalTemplates%Drivers_x64

As for DirectX9. Thre exists no premade script for it, but you can create one.

Use RegShot to create a snapshot of your system, then install DirectX9.
Take a second snapshot and start gathering all the newly created files.
Now create a script, which copies the files and the registry entries at build time into your PE.

Or simply run each time you need it, DirectXß_redist.exe.

:cheers:


I assume i can do this regshot thingy in a virtual machine no ? I just have no idea how to do the scripting part..

Edited by Da9L, 03 February 2012 - 03:45 AM.


#15 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 03 February 2012 - 02:53 PM

I think im gonna have to give up with this.. For some reason i cant get administrator rights! I have no idea why..

#16 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 03 February 2012 - 10:20 PM

Yes, you can do the regshot thingy also in a virtual machine. I however suggest that you first find a way to reliably install your driver.

btw. I think, i finally know, what you're doing wrong.
The script you're using to install your drivers, "Driver Integration" isn't meant for use with driver packs.
The pnp util works by installing each and every driver it comes across. This means you can not have any driver in your %GlobalTemplates%\Drivers_x?? that is similar, but not correct for your graphics card. Like a driver for another nVidia card!

Disable "Driver Integration" and use "Driver Package Installer" instead. Put your driver packs into %GlobalTemplates%\DriverPacks_x??.
This should do the trick.

:cheers:

#17 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 03 February 2012 - 10:22 PM

PS: You should best also disable the "original display drivers" script if you have it enabled.

:cheers:

#18 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 04 February 2012 - 02:44 AM

Okay so i've tried what you suggested and moved all the drivers from Drivers_x64 to DriverPacks_x64 instead.. It doesnt change anything actually, other than iam able to install my driver ! Would it be possible to make the driver automaticly load upon boot ?

#19 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 04 February 2012 - 03:19 AM

Okay so i've tried what you suggested and moved all the drivers from Drivers_x64 to DriverPacks_x64 instead.. It doesnt change anything actually, other than iam able to install my driver !

Sounds like a pretty big difference to me.

Would it be possible to make the driver automaticly load upon boot ?

Do you have "Load drivers at startup" enabled?

First of all, if the driverpacks include a driver for your graphics card, it should work now. Check driverpacks.net, if that's the case or not.
Second, try to install your grphics driver by using "Dpinst Gui choose folder". Choose first the main driver packs folder and if that doesn't work, choose the exact folder your driver is in.

:cheers:

#20 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 04 February 2012 - 12:44 PM

Sounds like a pretty big difference to me.

Do you have "Load drivers at startup" enabled?

First of all, if the driverpacks include a driver for your graphics card, it should work now. Check driverpacks.net, if that's the case or not.
Second, try to install your grphics driver by using "Dpinst Gui choose folder". Choose first the main driver packs folder and if that doesn't work, choose the exact folder your driver is in.

:cheers:


Ups i wasnt clear.. What i meant by it is that now iam able to install the driver manually by going to device manager and updating the display driver.. BUT!
I have also enabled the "Load drivers at startup" but after running the "Dpinst Gui choose folder" and choosing this folder "Y:DriverPacks" it works.. It intstalls all the drivers.. :) Would there be a way to do this automaticly ?
Next up is the admin thingy..

#21 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 04 February 2012 - 02:00 PM

Ups i wasnt clear.. What i meant by it is that now iam able to install the driver manually by going to device manager and updating the display driver..

Great so the install is no longer blocked.

BUT!
I have also enabled the "Load drivers at startup" but after running the "Dpinst Gui choose folder" and choosing this folder "Y:\DriverPacks" it works.. It intstalls all the drivers..

Ok, now things get confusing for me.
Enabling "Load drivers at startup" runs Dpinst at start, against Y:\DriverPacks.
Running now "Dpinst Gui choose folder" again against Y:\DriverPacks, can't make any difference. You execute the exact same command both times!

Can it be, that you didn't wait long enough? Dpinst takes a pretty long time, when used with driverpacks.
Plaese check in Taskamanger that it has finished, before checking in Devicemanager if everything works.

Would there be a way to do this automaticly ?

:confused1: "Load drivers at startup" runs Dpinst at start. (automaticly)

:cheers:

#22 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 04 February 2012 - 03:22 PM

Great so the install is no longer blocked.


Ok, now things get confusing for me.
Enabling "Load drivers at startup" runs Dpinst at start, against Y:\DriverPacks.
Running now "Dpinst Gui choose folder" again against Y:\DriverPacks, can't make any difference. You execute the exact same command both times!

Can it be, that you didn't wait long enough? Dpinst takes a pretty long time, when used with driverpacks.
Plaese check in Taskamanger that it has finished, before checking in Devicemanager if everything works.


:confused1: "Load drivers at startup" runs Dpinst at start. (automaticly)

:cheers:


Thats wierd cause thats exactly what happens.. Drivers are not loaded upon startup before i have run the "Dpinst Gui choose folder".. I've tried waiting but nothing seems to happen..

Allthough.. When windows is done booting a message windows appears showing a lot of command line options .. but i cant tell what it says exactly as it dissapears shortly after.. I will try to boot it again and take a screenshot.. But in the meantime heres a screenshot of the settings i chose in winbuilder..

Posted Image

I've selected the "Copy Drivers packages, they needs to be decompressed (*.inf)" as i have unzipped the packages i downloaded from DriverPacks.net .. Could that be the cause ?

EDIT : Heres a screenshot from within the win7pe build .. This is the screen that shows on startup and dissapears quickly after.

Posted Image

Edited by Da9L, 04 February 2012 - 03:29 PM.


#23 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 04 February 2012 - 04:40 PM

Ok, there seems to be a typo in the "Driver Package Installer" script.

Click on the edit icon and go to the source tab.

Use the search button to find: "dpinstL.exe /p #$q%CDDrive%\%pTextRootFolder%#$q /s"

Replace it with: "dpinstL.exe /p:#$q%CDDrive%\%pTextRootFolder%#$q /s"


Appearantly lots of people use the autostart feature! :lol:

:cheers:

#24 Da9L

Da9L

    Newbie

  • Members
  • 12 posts
  •  
    Denmark

Posted 05 February 2012 - 12:03 AM

Ok, there seems to be a typo in the "Driver Package Installer" script.

Click on the edit icon and go to the source tab.

Use the search button to find: "dpinstL.exe /p #$q%CDDrive%%pTextRootFolder%#$q /s"

Replace it with: "dpinstL.exe /p:#$q%CDDrive%%pTextRootFolder%#$q /s"


Appearantly lots of people use the autostart feature! :lol:

:cheers:


Finally ! That did the trick.. :clap:!!! Drivers are now installed upon boot..
So now i only have a few more things ..

How come i dont have administrator rights ? When i try to run DXSETUP i get an error telling me it needs administrator rights
Is there a way to change keyboard layout to danish?
Is there some guide somewhere i can read, how to create a basic script and use it with winbuilder? Like implementing your own apps like skype and so on (directx9)

#25 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 05 February 2012 - 01:21 AM

Finally ! That did the trick.. :clap: !!! Drivers are now installed upon boot..

Great to hear that.

How come i dont have administrator rights ? When i try to run DXSETUP i get an error telling me it needs administrator rights

No idea. Open a new topic for that and don't forget to set a link to one of the programs that makes trouble.

Is there a way to change keyboard layout to danish?

You can change the keyboard in the running PE.
To have danish keyboard right from start, you will need to ask ChrisR to include danish as option in Main Configuration script. What language is your Win7 source?

Is there some guide somewhere i can read, how to create a basic script and use it with winbuilder? Like implementing your own apps like skype and so on (directx9)

Tutorials are available in the WinBuilder/tutorials section of this board.
But Win7PE_SE also comes with a help, which lists and explains the commands.

:cheers:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users