MAME CLI Error – X Error of failed request

    ERROR:

mame
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  155 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  78
Current serial number in output stream:  79

FIX:
A Simple “Sudo Reboot” in terminal will fix this issue and resolve the problem.

 

Advertisements

How To Install MAME 0.160 on Lubuntu 15.10 – Dell Latitude E6410

Here is the basic instructions I did to fully install a working MAME on a x64 DELL Latitude E6410 with 15.10 installed/setup to working order!

  1. RUN:
    sudo apt-get install mame mame-tools

    [run sudo apt-get update if you can’t get this command to run in CLI]

***WARNING*** [After I did the install, I saw I had OpenGL in the  mame.ini file but the screen showed the following error:

 

Notice how blurry that looks, it’s showing “No Driver Loaded”!!
That’s not good news! We can fix that!

2. Run the following command:

sudo lshw -c video

This will show you what you have setup.

3. Make sure you run :

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

**This will make sure you can get all the packages that are available**

You will need to use the following section and install a driver here [This model uses NVIDIA, so I chose the following from the list]

Then ran the following on my E6410 to bring things up to full MAME install:

cd ~/.mame && mame -cc
sudo apt-get install gedit
gedit ~/.mame/mame.ini

[This will copy the rom to the right default path which was the working one once tried]

LAST STEP:

sudo apt-get install wine

[You will need to load this so your gfx shows up correctly! This has been tested on two different machines as part of the full installation process that works!]

THE IMPROVED GRAPHICS OF THE MAME 0.160 on Lubuntu 15.10


There you have it! Remember to check the .mame folder which is hidden  by default in your /home directory. That’s where you can edit your configuration file once you make it.

Just have to use the other path I’ve listed to install roms that will play/load.

Hope this helps anyone who is wanting to install this and needed another demonstration of how to install this on Lubuntu 15.10 x64.


To install a complete ROM set from an unzipped folder named “roms” to the right ROM path: *Must be done from dir where the roms folder is located*

sudo cp -r roms/ /usr/local/share/games/mame/

You can also use the following to copy roms to the MAME default dir path:

sudo cp gamerom.zip /usr/local/share/games/mame/roms

Mame 0.160 Emulator

mame-logo.png


How to install Mame 0.160 from Terminal:
sudo apt-get install mame mame-tools

If there is an update, use the following links to get Mame 0.160:
https://launchpad.net/ubuntu/+source/mame/0.160-0ubuntu1
http://packages.ubuntu.com/xenial/mame

or

http://pkgs.org/download/mame [Use Ubuntu 15.10 selection area]
http://www.findthatzip-file.com/search-833710-fZIP/winrar-winzip-download-mame_0.160-0ubuntu1.debian.tar.gz.htm
http://ubuntu.mirror.digitalpacific.com.au/archive/pool/multiverse/m/mame/
http://security.ubuntu.com/ubuntu/pool/multiverse/m/mame/

You should be installing the following versions:
mame_0.160-0ubuntu1_amd64.deb   Multiple Arcade Machine Emulator (MAME)
mame_0.160-0ubuntu1_i386.deb   Multiple Arcade Machine Emulator (MAME)

TIPS ON HOW TO UPDATE ROMSET FOR NEWER MAME Versions:
http://forum.arcadecontrols.com/index.php?topic=121266.0

How to use MAME FAQ: READ BEFORE ASKING FOR HELP ONLINE
http://wiki.mamedev.org/index.php/FAQ:ROMs

MAME NOT WORKING ON UBUNTU: Has tips to use on Lubuntu
http://askubuntu.com/questions/398346/cant-get-mame-to-work-for-ubuntu

MAME 0.158 ROM Downloads: USE THIS COMPATIBLE WITH 0.160
http://edgeemu.net/browse-mame.htm

MAME DOWNLOAD SITES:
http://daroms.com/MAME/whats-hot/
http://www.emuparadise.me/M.A.M.E._-_Multiple_Arcade_Machine_Emulator_ROMs/7
http://www.freeroms.com/mame.htm
http://romhustler.net/roms/mame
http://coolrom.com/roms/mame/
http://www.rom-world.com/dl.php?name=MAME
http://www.ankman.de/MAME
http://www.planetemu.net/machine/mame
https://www.loveroms.com/roms/mame-037b11

Lubuntu Terminal Command Line List:
http://manpages.ubuntu.com/manpages/precise/man1/mame.1.html

Archive.org Downloads for Newer MAME versions:
https://archive.org/details/messmame
https://archive.org/details/MAME_0.160_EXTRAs


How to fix Neo-Geo Bios:
https://retroarcadediaries.wordpress.com/2011/07/21/mame-fix-neo-geo-bios-not-working-fix-found/
http://mameaddicts.com/phpBB3/viewtopic.php?f=5&t=797

Mame 1.60 Issues:
These two videos below will help fix the following errors:

mame menu video quality issues
alsa (snd_pcm_recover) underrun occurred
mame not running at normal speed due to no multithreading

How to install/fix MAME 0.160 errors [1]

How to install/fix MAME 0.160 errors [2]

Error:
libGL error: failed to create dri screen
libGL error: failed to load driver: i915
intel_do_flush_locked failed input/output error

Fix:
http://ubuntuforums.org/showthread.php?t=2315336

Error:
Mame Too Slow?

Fix:
http://askubuntu.com/questions/693617/mame-really-slow