LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2013, 09:20 PM   #1
Gumboherpy
Member
 
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51

Rep: Reputation: Disabled
Canno't record fullscreen games


I want to record myself recording World of Padman through Desura, I use ffmpeg through the commandline to record my desktop, this is the command I use.

Code:
ffmpeg -f x11grab -s `xdpyinfo | grep 'dimensions:'|awk '{print $2}'` -r 25 -i :0.0 -sameq output.mkv
But when I launch the game it stops and I get this error.

Code:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  269
  Current serial number in output stream:  269
Any ideas as to what is going on?
 
Old 04-16-2013, 09:26 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What does the command
Code:
grep SHM /var/log/Xorg.0.log
give you?

If you don't see
Code:
Initializing built-in extension MIT-SHM
then that's part of the problem.
 
Old 04-16-2013, 09:29 PM   #3
Gumboherpy
Member
 
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
What does the command
Code:
grep SHM /var/log/Xorg.0.log
give you?

If you don't see
Code:
Initializing built-in extension MIT-SHM
then that's part of the problem.
Code:
grep SHM /var/log/Xorg.0.log
[    55.623] (II) Initializing built-in extension MIT-SHM
IT shows up.
 
Old 04-16-2013, 09:57 PM   #4
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
It's definitely possible. I had a script once upon a time where I could record my desktop playing SCII in wine and stream it to justin.tv.

I have lost the script but it was made after fiddling with the suggestions in these threads..
http://ubuntuforums.org/showthread.php?t=1933346
http://community.justin.tv/forums/showthread.php?t=7479
http://ubuntuforums.org/showthread.php?t=1953527
 
Old 04-17-2013, 10:18 AM   #5
Gumboherpy
Member
 
Registered: Mar 2013
Location: New Orleans
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: Disabled
Found a work around. I use glc which is the fraps for linux, it records games very well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get fullscreen for sdl games mark_alfred Linux - Games 1 01-16-2012 04:31 PM
Games fullscreen is distorted, but video fullscreen is fine - older laptop xmrkite Linux - Software 7 07-20-2009 11:40 AM
cant run fullscreen in games gunman Linux - Software 0 03-16-2005 01:38 PM
Fullscreen games are not working! aemus Linux - Newbie 1 10-08-2004 05:54 PM
Fullscreen games in Mandrake 9.0 Mad Echidna Linux - Software 6 12-15-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration