How does wine "detect" graphicscard-hardware

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
PatricF
Level 1
Level 1
Posts: 5
Joined: Mon Sep 26, 2011 1:56 pm

How does wine "detect" graphicscard-hardware

Post by PatricF »

Hi,

To clarify, when I run World of Warcraft and go into Options to change the graphics settings I get this message on some options: "Unsupported for graphics related reasons".

So I was wondering if wine "detects" the graphics hardware and make some kind of registry entry with that information of some sort? Or how does that work?

Is it possible to change that information so that I can change those settings or maybe it's just that wine can't handle those settings?

I've actually manage to change the settings in the config file and it shows that I use one option on a setting that is greyd out and it works fine..

So is it possible to "trick" wine into thinking it can handle those settings somehow?


Thanks,
-Patric
Soulcage
Level 3
Level 3
Posts: 67
Joined: Tue Jun 16, 2009 4:02 am

Post by Soulcage »

Scan for "VideoMemorySize" on this page should help and answer your question too. http://wiki.winehq.org/UsefulRegistryKeys
PatricF
Level 1
Level 1
Posts: 5
Joined: Mon Sep 26, 2011 1:56 pm

Post by PatricF »

Thanks! I've already tried that and set it to 1024 which is my video RAM but it doesn't change anything. Is there someway to check how much memory Wine recognizes?

I have an Nvidia GTX 560 and running the latest propitiatory drivers from Nvidia and I checked lspci what it said about it and I get this:

Code: Select all

03:00.0 VGA compatible controller: nVidia Corporation Device 1201 (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 83b4
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f6000000 (32-bit, non-prefetchable) [size=32M]
        Memory at e0000000 (64-bit, prefetchable) [size=128M]
        Memory at ec000000 (64-bit, prefetchable) [size=64M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at e8000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia
Is says something about 32MB, 128MB and 64MB. I don't know what that means, if it doesn't recognize all the memory or if it's just something else.

If I check nvidia-settings it says that I have 1024MB video memory so..

Is there some kind of information on what graphicscard you have when running wine? Maybe thats how WoW checks if you can use the settings!?
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

How does wine "detect" graphicscard-hardware

Post by dardack »

If your talking about sunshafts/Liquid Detail/Shadow Quality or um
forget the other one,they may not be supported under dx9/OpenGL. And
wine doesn't support DX11 at this time. And if they aren't, even tho
you think your tricking wine, I bet it just defaults to what it
believes is supported. Wine has always detected my card fine for dx
games, in ME2 under system scan, says NVDIA 260 GTX, lists the DX
version (9c). Anything I can't set is usually related to OpenGL or
DX9 not supporting it.

On Tue, Sep 27, 2011 at 6:26 AM, PatricF <[email protected]> wrote:
Thanks! I've already tried that and set it to 1024 which is my video RAM but it doesn't change anything. Is there someway to check how much memory Wine recognizes?

I have an Nvidia GTX 560 and running the latest propitiatory drivers from Nvidia and I checked lspci what it said about it and I get this:


Code:
03:00.0 VGA compatible controller: nVidia Corporation Device 1201 (rev a1) (prog-if 00 [VGA controller])
       Subsystem: ASUSTeK Computer Inc. Device 83b4
       Flags: bus master, fast devsel, latency 0, IRQ 16
       Memory at f6000000 (32-bit, non-prefetchable)
       Memory at e0000000 (64-bit, prefetchable)
       Memory at ec000000 (64-bit, prefetchable)
       I/O ports at df00
       [virtual] Expansion ROM at e8000000 [disabled]
       Capabilities: [60] Power Management version 3
       Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
       Capabilities: [78] Express Endpoint, MSI 00
       Capabilities: [b4] Vendor Specific Information: Len=14 <?>
       Capabilities: [100] Virtual Channel
       Capabilities: [128] Power Budgeting <?>
       Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
       Kernel driver in use: nvidia



Is says something about 32MB, 128MB and 64MB. I don't know what that means, if it doesn't recognize all the memory or if it's just something else.

If I check nvidia-settings it says that I have 1024MB video memory so..

Is there some kind of information on what graphicscard you have when running wine? Maybe thats how WoW checks if you can use the settings!?







--
Sincerely,

MacNean C. Tyrrell
tparker
Level 5
Level 5
Posts: 354
Joined: Tue Feb 24, 2009 3:06 pm

How does wine "detect" graphicscard-hardware

Post by tparker »

On 09/27/2011 01:37 PM, MacNean Tyrrell wrote:
If your talking about sunshafts/Liquid Detail/Shadow Quality or um
forget the other one,they may not be supported under dx9/OpenGL.
Yes, that is the case. You will only get the options and settings that
are available for dx9. Several of the WoW graphics options require dx 10
or 11 and so will not be available for us until Wine gets those
implemented.
User avatar
blaiseg07
Level 2
Level 2
Posts: 31
Joined: Mon Sep 26, 2011 4:08 pm

Re: How does wine "detect" graphicscard-hardware

Post by blaiseg07 »

PatricF wrote:Hi,

To clarify, when I run World of Warcraft and go into Options to change the graphics settings I get this message on some options: "Unsupported for graphics related reasons".

So I was wondering if wine "detects" the graphics hardware and make some kind of registry entry with that information of some sort? Or how does that work?

Is it possible to change that information so that I can change those settings or maybe it's just that wine can't handle those settings?

I've actually manage to change the settings in the config file and it shows that I use one option on a setting that is greyd out and it works fine..

So is it possible to "trick" wine into thinking it can handle those settings somehow?


Thanks,
-Patric
If you haven't created the Direct3D key in regedit it might be a good time to.
http://wiki.winehq.org/UsefulRegistryKeys
PatricF
Level 1
Level 1
Posts: 5
Joined: Mon Sep 26, 2011 1:56 pm

Post by PatricF »

ah thanks for clarifying that! I guess that's the reason. Oh well, it runs freakin awesome already so I thought that I could get a little more nicer graphics out of it but whatever :)
Locked