Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
radeon+wine+game intro fine, in-game black
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Fri Jan 18, 2013 12:28 am    Post subject: radeon+wine+game intro fine, in-game black Reply with quote

hi,

Playing a game with wine yields weird results. The menu is perfectly rendered at very high cpu, options, settings etc all work.

When the game starts the HUD shows up for a second then dissapears, and some others effects remain (during intro). When the game actually begins it shows the fonts for instructions but no picture.

Code:
app-emulation/wine-1.5.21


I am using open source radeon driver. And here some log from wine:

Code:
fixme:shell:SHGetKnownFolderPath flags 0x0000a000 not supported
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:win:EnumDisplayDevicesW ((null),0,0x32e0dc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32e020,0x00000000), stub!
fixme:wbemprox:client_security_SetBlanket 0xf4f8af28, 0x13b800, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf4f8af28
fixme:win:EnumDisplayDevicesW ((null),0,0x32d22c,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x798de0c,0x00000000), stub!
ERROR:
Could Not Find D3DKMTEscape in gdi32.dll
Could Not Find D3DKMTOpenAdapterFromHdc in gdi32.dll
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
fixme:win:EnumDisplayDevicesW ((null),0,0x798da6c,0x00000000), stub!
fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x42563252 (as fourcc: R2VB) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x42563252) in the format lookup table
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000016
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet.
fixme:d3d_texture:wined3d_texture_generate_mipmaps texture 0x13410568 stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d_texture:wined3d_texture_generate_mipmaps texture 0x13390218 stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d_texture:wined3d_texture_generate_mipmaps texture 0x133d03c0 stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d_texture:wined3d_texture_generate_mipmaps texture 0x13450710 stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.


I've played with some regedit settings to no avail.
Back to top
View user's profile Send private message
evgeniusx
n00b
n00b


Joined: 05 Feb 2013
Posts: 1

PostPosted: Tue Feb 05, 2013 11:50 am    Post subject: Reply with quote

You need to use proprietary driver
Back to top
View user's profile Send private message
HolgerB
n00b
n00b


Joined: 07 Sep 2011
Posts: 49

PostPosted: Wed Feb 06, 2013 2:41 pm    Post subject: Reply with quote

evgeniusx wrote:
You need to use proprietary driver

A pretty general reply but so was the question of the TO.

A less general reply:
Similar to Noveau the 3D feature set provided by the free Radeon driver is sometimes / often not good enough to run more demanding games (be it WINE or native). YMMV...depending on driver version, WINE version and the AMD card used.

The best place to get valuable informations for running games under WINE is often enough the Wine AppDB. Check out the entries for your game. May be someone with identical or similar hardware had the same issue and even has posted a solution.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9064

PostPosted: Sat Feb 16, 2013 5:05 am    Post subject: Reply with quote

evgeniusx wrote:
You need to use proprietary driver
That depends on the game. As HolgerB noted, for some games, the open drivers are insufficient. For others, they work quite well.
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 168

PostPosted: Sat Feb 16, 2013 10:50 pm    Post subject: Reply with quote

I want to ask another related question, hope it's not rude :)

For the case when open drivers are insufficient, I'd like to know a more detailed reason. like which feature is lacking?
For one thing, I'm curious, for another, It may help me to file a better bug report.

The first step is to know what opengl feature a game need.
But it is a big obstacle.
In games docs, there's generally only some simplest description like "requires directx 9.0c".

The second step is to know mesa's feature status.
It is easier (relatively), at least there's code and comment.

Below is how to do this in more detail in my imagination:

for games using opengl:
1. list all the opengl api a executable file calls by a static analyse. (which command?)
2. read mesa doc to see which mesa feature every gl-api maps to. (which doc?)
3. read mesa doc to see the feature status. (mesa feature status page)
4. read mesa doc to see if the gl-api is fully implemented (which doc?)

for games using directx:
1. list all the directx api a executable file calls by a static analyse. (which command?)
2. read wine doc to see what gl feature is used to implement a dx-api. (which doc?)
3. read mesa doc to see the gl feature status.

Generally, there's only error phenomenon and some test results on wine-appdb, no deeper analyze.
So I don't think wine-appdb is helpful on this level.
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Thu Feb 28, 2013 5:44 pm    Post subject: Reply with quote

glxinfo

^^^ that provides all info possibly needed by ones card and xorg's log.

What's the repercusion of having radeon without LLVM option with the new option?

The new mesa update has disabled both llvm and r600-llvm-compiler USE flags which where good for I don't remember what.

What about glamor USE flag, is it worth it?

It's so damn hard to get an open source graphics driver just right :/
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 168

PostPosted: Sat Mar 02, 2013 2:41 pm    Post subject: Reply with quote

Yes, glxinfo and xorg.log can show what gl version / extension a video card supports.

But how to know what gl feature a game need?

Does xorg.log contain information like some program failed to find a gl-ext?
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sun Mar 03, 2013 12:45 am    Post subject: Reply with quote

by checking which DirectX the game uses. By the way some games can be played with more than one DirectX for compat reasons. Although the latest ones might be DirectX11 only.
Back to top
View user's profile Send private message
alex6
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2011
Posts: 140

PostPosted: Fri Mar 22, 2013 8:43 pm    Post subject: Reply with quote

_______0 > You should check this page : http://wiki.winehq.org/UsefulRegistryKeys

I had some games which was not running before using this.Now most of games are running thanks to that page.

The idea is launching "regedit" in console and trying different values of the direct3D keys and try again to run the game.

You can also try to ask the same question on winehq forums, some wine developpers hanging aroud on that forum can sometime know exactly what it comes from
Back to top
View user's profile Send private message
alex6
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2011
Posts: 140

PostPosted: Fri Mar 22, 2013 11:17 pm    Post subject: Reply with quote

Another usefull link :
http://wiki.winehq.org/Performance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum