You are not logged in.

#1 2014-11-30 13:24:25

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

HD 4000 and gaming through wine, how much video memory?

when xorg starts, it seems to allocate at most 256MB of video memory (that's how much wine say)
Is there a way to make it higher?

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

Option videoram in xorg.conf is just ignored.

Thanks.

-EDIT-
I'm trying to get more fps out from Divinity:original sin through wine ; by now i get about 15fps at 1366x786 without so much effects on a i3-3110M CPU @ 2.40GHz.
I already tried csmt patches, but they don't seem to help at all, they seems to make the game just "jumpy" and fills the log with something like:
fixme:d3d_texture:wined3d_texture_cleanup Waiting for cs.

Last edited by kokoko3k (2014-11-30 13:28:51)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Online

#2 2014-11-30 14:07:11

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: HD 4000 and gaming through wine, how much video memory?

The Wine tweaks I use, to increase performance & smoothness, are:

* BFS scheduler, for smoothness
* wine-rt-101107.patch from wine-rt

There's also a variety of patches in wine-staging.

Offline

#3 2014-11-30 15:53:43

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: HD 4000 and gaming through wine, how much video memory?

Thanks for the advice brebs.
Isn't wine-rt only useful for realtime apps like audio productions?
What kind of performance increase would you expect from BFS+wine-staging? (I'm asking because i tried BFS with ck in the past and the laptop battery wasn't that happy...)

Also,i would really like to know if it is possible to map more than 256MB into the graphic mem.

Thanks again.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Online

#4 2014-11-30 16:24:00

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: HD 4000 and gaming through wine, how much video memory?

Don't know what exact number you're looking at, but I'm *very* sure it's not authoritative. Video memory on Intel GPUs is allocated dynamically, on Ivy Bridge up to 1720MB.

Do you think you aren't getting the full performance your GPU should be giving you? And what makes you think that (other than a more or less random number you saw somewhere)?

Offline

#5 2014-11-30 16:51:17

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: HD 4000 and gaming through wine, how much video memory?

Gaming is *more* of a stress test than "audio productions", because it stresses more of the PC's components simultaneously - especially the GPU and CPU.

Don't expect miracles - if you get a noticeable improvement, consider yourself lucky.

Offline

#6 2014-12-01 10:25:06

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: HD 4000 and gaming through wine, how much video memory?

Thanks brebs, i'll try.

@Gusar
Thanks for your informations about shared memory.

Do you think you aren't getting the full performance your GPU should be giving you?

Playonlinux reports 256MB of Video ram, maybe it is just wrong?
...a gpu with 1720MB of graphic memory should perform better than the same with 256, what's your point?

Also, do you know a way to check what's the actual allocated video memory is?

Thanks.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Online

#7 2014-12-01 11:19:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: HD 4000 and gaming through wine, how much video memory?

kokoko3k wrote:

...a gpu with 1720MB of graphic memory should perform better than the same with 256, what's your point?

Depends on the application. I recall someone once limiting graphics memory in the BIOS/UEFI (the option is called DVMT), it didn't make a difference for Unigine Sanctuary. Probably because Sanctuary is such a small demo that available memory is not something that affects its performance.

kokoko3k wrote:

Also, do you know a way to check what's the actual allocated video memory is?

Maybe it's possible to see it through debugfs or intel-gpu-tools.

But the point of my previous post was this: Stop focusing on just memory. Do you believe that you have a problem, that the GPU isn't working as fast as it should? If all you see is memory, you will not find the real issue, if there even is an issue in the first place.

Last edited by Gusar (2014-12-01 11:21:04)

Offline

#8 2014-12-01 12:29:23

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: HD 4000 and gaming through wine, how much video memory?

We all know that there is a performance penalty with wine, but AFAIK csmt patches could greatly improve them.
In my case, csmt (as long as disabling strictdrawordering) have pushed the fps in a jumpy way (smooth, skip a lot of frames, smooth, skip a lot of frames and so on), so what i suspected was a low video memory situation.
Probably that's not the case and csmt just needs to be worked on by the patchset mantainers.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Online

#9 2014-12-01 12:46:55

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: HD 4000 and gaming through wine, how much video memory?

Brebs, i followed your suggestion and tried:
https://aur.archlinux.org/packages/wine-gaming-git/ (includes csmt and wine-rt)
Now csmt patches works better, less jumpier.

Thanks!


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Online

Board footer

Powered by FluxBB