MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.5k stars 287 forks source link

Wine DLLS. #40

Closed Half-Shot closed 10 years ago

Half-Shot commented 10 years ago

Not sure if this has been answered but i have an issue with wine games running seperate from wine steam. Upon running Deus Ex (patched with a launcher required to make it work), it first starts with a dialog box that uses MSVC++ 2012 which means it requires 'msvcp2010.dll'. Running this seperate from ssr it works fine but running it from ssr gets this result.

err:module:attach_process_dlls "msvcp100.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"D:\\Steam\\SteamApps\\common\\Deus Ex\\system\\deusex.exe" failed, status c0000005

This isn't being run as root so it should work ok. All i can think of is a environment variable not being set but i can run it from a shortcut from my desktop so i have no idea.

Thanks for any help.

MaartenBaert commented 10 years ago

Can you give me the exact command that you are using to launch the game? If it uses scripts, please give those as well.

Half-Shot commented 10 years ago

You know, thats just wierd. I restarted my PC because the memory was starting to fill up and now the game loads first to a launcher and then to the game. However SSR does not see the OpenGL window. I did also test to see if fullscreen might have been causing an issue but that made no difference.

Commands:

wine "D:/Steam/SteamApps/common/Deus Ex/system/deusex.exe"
wine "D:/Steam/SteamApps/common/Deus Ex/system/deusex.exe" -skipdialog (Skips the launcher)
MaartenBaert commented 10 years ago

Can you try to run SSR from a terminal and post the output here?

Half-Shot commented 10 years ago

Back to square one again. Another fresh reboot did this: https://gist.github.com/Half-Shot/6764728

I'm going to try another fresh boot and see what happens...

MaartenBaert commented 10 years ago

Your log contains this line:

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

Do you also get this if you run the game normally?

What version of Ubuntu are you using?

Spanguole commented 10 years ago

Your log contains this line:

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

Do you also get this if you run the game normally?

I can say this line is pretty much omnipresent when Wine is being ran and can be completely safely ignored.

Half-Shot commented 10 years ago

That line appears all the time in different programs that I run, its not really ever caused a problem.

Gediminas Jakutis notifications@github.com wrote:

Your log contains this line: p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

Do you also get this if you run the game normally?

I can say this line is pretty much omnipresent when Wine is being ran and can be completely safely ignored.

— Reply to this email directly or view it on GitHub.

Half-Shot commented 10 years ago

Ok. Seems to work ok for some reason. Going to list out EXACTLY what i did.

Booted into Gnome 3 as usual. Gave my password to the "Keyring is locked" window. Started SSR and Firefox Set SSR's application line to be "wine"/media/will/Data/Steam/SteamApps/common/Deus Ex/System/deusex.exe"" Clicked Play from launcher. Alt Tabbed to SSR and hit record. Got a load of mouse issues that it jiggled all around but the framerate was 60 and i got this log:


[PageRecord::RecordStart] Starting recording ...
[Muxer::Init] Using format mp4 (MP4 format).
[BaseEncoder::CreateCodec] Using codec libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10).
[BaseEncoder::EncoderThread] Encoder thread started.
[BaseEncoder::CreateCodec] Using codec libmp3lame (libmp3lame MP3 (MPEG audio layer 3)).
[BaseEncoder::EncoderThread] Encoder thread started.
[DetectCPUFeatures] CPU features: mmx sse sse2 sse3
[FastScaler::FastScaler] BGRA to YUV420 converter: Fallback
[Muxer::MuxerThread] Muxer thread started.
[PageRecord::RecordStart] Started recording.
[Synchronizer::SynchronizerThread] Synchronizer thread started.
[PageRecord::CaptureStart] Starting capturing ...
[GLInjectInput::InputThread] Input thread started.
[PageRecord::CaptureStart] Started capturing.
[PulseAudioInput::InputThread] Input thread started.
[FastScaler::Scale] Using swscale for scaling.
[PageRecord::RecordStop] Stopping recording ...
[PageRecord::RecordStart] Stopped recording.
[PageRecord::CaptureStop] Stopping capturing ...
[GLInjectInput::~GLInjectInput] Telling input thread to stop ...
[GLInjectInput::InputThread] Input thread stopped.
[PulseAudioInput::~PulseAudioInput] Telling input thread to stop ...
[PulseAudioInput::InputThread] Input thread stopped.
[PageRecord::CaptureStop] Stopped capturing.

So apart from the mouse issues which i am going to take a look at, it works ok now!

EDIT: Deus Ex is not too happy about Alt-Tabbing so i just use the keyboard shortcut for recording and that works great! All ok now.