[PATCH] wined3d VideoRam registry setting

Roderick Colenbrander thunderbird2k at gmx.net
Sun Oct 16 09:56:21 CDT 2005


> 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
> 

Somewhere in this thread (before the last NV-CONTROL mail) I proposed to use
it too. Nvidia-settings itself is licensed under the GPL some time before I
wrote an alternative NV-CONTROL library which I use in my program (NVClock).
I could simplify it and allow it to be used in Wine but as said in my last
email connecting OpenGL to more lowlevel info is hard as you don't have much
info to 'combine' the two. (for instance the renderer string can't be used
to check for the videocard as the device string is useally different, the
only thing that can be the same is the vendor name ...)

Roderick

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl



More information about the wine-devel mailing list