For Nvidia systems at least, the script would probably be unnecessary, as 'nvidia-settings -q VideoRam | grep 0.0 | tail --bytes=8' *should* return the amount of videoram. Would it make more sense to check at runtime if the 'nvidia' driver is loaded and then pass the output from the line above into the registry, only reverting to the script if the system is non-Nvidia?
Just figured I'd throw this out there, I didn't see where anyone had mentioned it as an option yet.
Randall Walls
Stefan Dösinger wrote:
Hello,
This should fix that problem.
Works nice
Another thing: Would it be better to determine the amount of videoRam when installing wine and storing it in the registry or checking at runtime when GetAvailableTextureMem is called?
I'd suggest to determine it in IWineD3D::CreateDevice and store it in the IWineD3DDeviceImpl class.
How does this script work with multiple graphics cards?
Stefan