Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion > Generic ePSXe Queries
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Closed Thread
 
LinkBack Thread Tools Display Modes
Old December 21st, 2004   #1 (permalink)
Registered User
 
Adwin's Avatar
 
Join Date: Nov 2004
Location: Poland
Posts: 38
Universal FAQ for ePSXe under Linux, support for USB joypad + 3D acceleration

1: First of all, I recommend Linux over Windows for obvious reasons: Stability, speed, etc... We won't delve into that matter as this is not the purpose of this FAQ.
I actually assume, that you DO have a minimum knowledge of *NIX based machines.
Everybody has some preferences but I actually would have 2 distros to recommend here.
If you go for stability, opt for Debian.
If you prefer speed and fast developping community, take over Gentoo Linux.
Of course, I am not discriminating any other distributions, so feel free to adapt this FAQ to you own needs.

DON'T FORGET TO LOGIN AS ROOT or SU, where needed.

2: Kernel Parameters used to compile in order to make Joystick and 3D work:
- Loadable Module support --> Enable all options there, opt for a non-modular kernel so you don't have to load at every startup the modules, but if you DO build a modular kernel, load the modules by adding its entry to /etc/modules.autoload.d/kernel-2.x (where x is your kernel series, i.e, kernel-2.4 --> If you have linux 2.4.xx or kernel 2.6 --> if you have linux 2.6.xx)
I recommend using the 2.6.14.5 STABLE or the 2.6.15-rc7 standard (vanilla) kernel, if you want bleeding-edge. (At the time of writing)

Now let's configure the necessary kernel options:
CD into /usr/src/linux
$make menuconfig

- Processor type and features -->[*] MTRR
- Device Drivers -->
Input Device support -->
<*> Joystick Interface
<*> Gameport support
<*> Enable your gameport interface here, eg: SB Live gameport[*] Joysticks
<*> Your joystick

Character devices -->
<*> /dev/agpgart (You can enable/disable it as NVIDIA will provide its own AGPgart
<*> Enable your AGP chipset here
[ ] Direct Rendering Manager DISABLE THIS !!
Graphics support -->[*] VESA VGA Graphics support
USB Support -->
<*> EHCI HCD support
<*> OHCI HCD support
<*> UHCI HCD support
<*> USB Human Interface Device (full HID) support[*] HID input layer support[*] /dev/hiddev raw HID device support
Block Devices -->
<*> Loopback device support
<*> Network block device support
<*> RAM disk support[*] Initial RAM disk (initrd) support

Networking support -->[*] Networking support
Networking options -->
<*> Unix domain sockets[*] Network device support


To compile your kernel make:
(for a 2.4 kernel) $ make dep && make clean bzImage modules modules_install
(for a 2.6 kernel) $ make && make modules_install
Copy over the kernel) $ cp arch/i386/boot/bzImage /boot; cp System.map /boot
If you have an AMD64 system, that would be $ cp arch/x86_64/boot/bzImage /boot; cp System.map /boot


3: Reboot your system.
Before your system boots, plug in any Gameport / USB joysticks. (That is not a problem if you have hotplug enabled in your kernel and hotplug utils compiled)
You can check if hotplug works by plugging in you USB pad for example and doing a:
$dmesg | tail
Your output should be similar to:

#usb 2-1: new low speed USB device using uhci_hcd and address 2
drivers/usb/input/hid-core.c: timeout initializing reports

input: USB HID v1.00 Joystick [Logitech Inc. WingMan Gamepad] on usb-0000:00:10.0-1

4: Download the latest Xorg package, for now being 6.9.0 (Or modularized 7.0)
untar it and CD into the dir.
Compile it using
# make World
make install
REBOOT

5:
Install a window manager. I recommend fluxbox for the small size and well-proven stability.
No KDE or Gnome, too much overhead, RAM / SWAP I/O.

REBOOT
login and now download from nvidia the kernel package, the latest being *1.0.8174*
CD into your directory and:
$ sh NVIDIA-Linux-x86-1.0-8174-pkg1.run

OR

$ sh NVIDIA-Linux-x86_64-1.0-8174-pkg2.run (if you have an AMD64, 64bit system)

Build the kernel according to the README
Do:
#opengl-update nvidia (You should have compiled opengl-update prior to this step)

6:
LOAD the nvidia kernel module:
$modprobe nvidia
You can add the module to /etc/modules.autoload.d/kernel-2.* for autoloading at startup
Start you window manager using:
$ startfluxbox or startkde, whatever.
You can create/edit ~/.xinitrc so that you add startfluxbox and
$ startx, then it autostarts fluxbox

7: TEST 3D in X:
Open a terminal and
# glxgears
or
# glxinfo | grep rendering
you should see rendering:yes
You should see 3 spinning gears

8: Now download a binary release of ePSXe and download the latest plugins from ngemu.com or Pete Bernert's page for Audio/Video plugins.
Use omnijoy or padjoy plugins for joystick support, not the built-in ePSXe pad support.
Don't forget to switch on the ePSXe compatibility in the plugin config page.
Now config your ePSXe to your liking and enjoy ePSXe on linux.

Games I've tested.
My machine config --> Hardware:
- Dual AMD Opteron 242
- 2*512Mb IBM RAM in Dual Channel mode
- Palit NVidia GeForce FX5500
- Logitech Wingman gamepad under gameport AND USB
- VIA K8T800 chipset
Software:
- Gentoo Linux 1.6 built from stage 1
- Kernel 2.6.13-rc2
- Xorg 6.8.99.14 built from CVS sources.
- Fluxbox Window Manager
- Nvidia Kernel & Nvidia GLX 7664
- ePSXe 1.60-r1
- Latest ePSXe plugins from http://www.ngemu.com/psx/plugins.php?cat=1&os=linux

Games I've tested that work 95% --> 100%
- Gran Turismo NTSC/UC
- Gran Turismo 2 PAL
- Oddworld, Abe's Exodus NTSC/UC
- Brave Fencer Musashi NTSC/UC
- Metal Gear Solid PAL
- Tony Hawks PAL
- Final Fantasy 8 NTSC/UC
- Final Fantasy 9 NTSC/UC
- Fear Effect 2, Retro Helix NTSC/UC
- Alone in the dark, the new Nightmare NTSC/UC
- Tekken 3 NTSC/J
- Tekken 3 PAL
- Wip3out Special Edition PAL
- Thrill Kill NTSC/UC
- Twisted Metal 3 PAL
- Twisted Metal 4 NTSC/UC
- Earthworm Jim 2 NTSC/UC
- Dino Crisis 2 NTSC/UC
- Final Fantasy Tactics NTSC/UC
- Kurushi 2 Final NTSC/UC
- Mortal Kombat Mythologies : Subzero NTSC/UC
- Cardinal Syn PAL
- Dragon Ball GT PAL
- Resident Evil 2 DUAL SHOCK Edition NTSC/UC
- Resident Evil 3 NTSC/UC


Enjoy!
Please read up on any problems arising before asking for help.

Last edited by Adwin; December 27th, 2005 at 11:11.
Adwin is offline  
Old January 15th, 2005   #2 (permalink)
Registered User
 
Join Date: Jan 2005
Location: The USA, please don't be afraid
Posts: 2
Just one problem... I can't run ISO's without a CDR plugin, the GUI seems to have no way to set one, and the Linux version of Mooby crashes all other configs whenever it's in the plugins directory.
Crazed123 is offline  
Old January 15th, 2005   #3 (permalink)
Registered User
 
Adwin's Avatar
 
Join Date: Nov 2004
Location: Poland
Posts: 38
Right after you start ePSXe, go to
File --> Run ISO.
ePSXe has built-in support for ISO files. That includes CloneCD images, BIN ect...
Adwin is offline  
Old February 23rd, 2005   #4 (permalink)
InnarX
 
ready2rumbelX's Avatar
 
Join Date: Jul 2002
Location: Borderline InSAnE
Posts: 2,667
Where's a manual for Linux n00bs when you need one? But, seriously, I will try this out....

Wonder if it will work with Fedora Core or Slackware....

r2rX
__________________
ready2rumbelX

-Intel Core 2 Quad (@3200Mhz)
-Gigabyte 965P-S3 motherboard
-2GB TwinMOS PC-6400 (DDR2 800) RAM
-Seagate 80GB and 320GB 7200rpm H.D
-Sapphire Radeon HD 4870 512MB GDDR 5 (790/4400)
-Windows Vista Ultimate SP1 (x86)
-Realtek HD w/ Creative PC Works 5.1
-2 x L.G DVD/CD-RW Combo - GSA-H62N

ready2rumbelX is offline  
Old February 23rd, 2005   #5 (permalink)
PCSX2ベータテスター
 
Seta-San's Avatar
 
Join Date: Dec 2001
Location: Nebraska
Posts: 1,390
you'll never have to deal with this kind of bullcrap in windows. the zero cost of owning linux doesn't make it a better alternative to windows
__________________
Seta-San is offline  
Old February 23rd, 2005   #6 (permalink)
Ex
 
I-Chan's Avatar
 
Join Date: Mar 2003
Location: Spain
Posts: 3,085
Funny, then why am i always answering emulation questions for windows users? Please post if you have something useful to add, baseless bashing is not. There have been enough Windows vs Linux threads, use them or create a new one.
__________________
"I'm living in a dream I can't wake from"

Core 2 Duo 6600 FSB 1066 | 2048 MB DDR2 PC2 6400 800 MHZ | NVIDIA 8800 GTS | Sound Blaster Audigy 4 | Seagate Barracuda 250GB SATAII+WD Caviar 250GB | Dell 3007WFP-HC 30" Widescreen
I-Chan is offline  
Old November 26th, 2005   #7 (permalink)
the only one you've ever SEEN
 
hushypushy's Avatar
 
Join Date: May 2003
Location: San Francisco
Posts: 21,837
fireblaster_lyz pointed this thread out, and it seems like a pretty good Linux guide to ePSXe, helping in an area that has little knowledge on these boards (linux emulation).
__________________
Dedicated to mediocrity and repetition since 1994.

2008 "How Not to Post" guide
hushypushy is offline  
Old December 27th, 2005   #8 (permalink)
Registered User
 
Adwin's Avatar
 
Join Date: Nov 2004
Location: Poland
Posts: 38
Quote:
Originally Posted by Seta-San
you'll never have to deal with this kind of bullcrap in windows. the zero cost of owning linux doesn't make it a better alternative to windows
Please read up before criticizing people.
OK, let me quote it for you:
"1: First of all, I recommend Linux over Windows for obvious reasons: Stability, speed, etc..."
I never used any zero-cost arguments.

Anyway, linux distributions are more and more user-friendly, but the bulk of system administration just CAN'T be done just by clicking.
This is the purpose of this FAQ anyway, to HELP people with it, so they can UNDERSTAND it and enjoy their emulation on this alternative platform, instead of just being tied to one choice, windows.

I'm really sorry if I offend you, but from what I've read and understood (correct me if I'm wrong), you had little or none, or worse, bad experience with linux distributions. Please don't express you anger here.

Anyway, I'd prefer die trying making my favorite emulator work under an alternative platform I like and see is better than another, than being tied to just one bad choice.

I wish you all people who have supported me, and have found this FAQ useful, as well as POSITIVELY criticized me,

A MERRY CHRISTMAS.
__________________
MSI Master2-FAR || DUAL AMD Opteron 242 || 1Gb Samsung PC2700 ECC REG || 1Gb LAN + 100Mbit LAN || 80Gb Seagate SATA + 40Gb ATA || DVD-RW DL || Q-TEC 450W || Palit NVidia GeForce FX5500 ||
Adwin is offline  
Old December 27th, 2005   #9 (permalink)
the only one you've ever SEEN
 
hushypushy's Avatar
 
Join Date: May 2003
Location: San Francisco
Posts: 21,837
wow, that reply took a really long time
__________________
Dedicated to mediocrity and repetition since 1994.

2008 "How Not to Post" guide
hushypushy is offline  
Old December 27th, 2005   #10 (permalink)
Registered User
 
Adwin's Avatar
 
Join Date: Nov 2004
Location: Poland
Posts: 38
Well, I didn't really have the time to check out the forums since then.

Merry Christmas and a Happy New year to all of you.
__________________
MSI Master2-FAR || DUAL AMD Opteron 242 || 1Gb Samsung PC2700 ECC REG || 1Gb LAN + 100Mbit LAN || 80Gb Seagate SATA + 40Gb ATA || DVD-RW DL || Q-TEC 450W || Palit NVidia GeForce FX5500 ||
Adwin is offline  
Old December 28th, 2005   #11 (permalink)
Registered User
 
Join Date: Dec 2005
Location: dsfsdfsdfd
Posts: 2
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiiiiiii iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
hess is offline  
Old December 28th, 2005   #12 (permalink)
the only one you've ever SEEN
 
hushypushy's Avatar
 
Join Date: May 2003
Location: San Francisco
Posts: 21,837
uh huh. good job signing up and immediately making 2 retarded posts. maybe a temp ban will straighten you out. see you in a couple weeks.
__________________
Dedicated to mediocrity and repetition since 1994.

2008 "How Not to Post" guide
hushypushy is offline  
Old January 27th, 2006   #13 (permalink)
.!. (^.^) .!.
 
darth sephiroth's Avatar
 
Join Date: Jan 2006
Location: You're looking at it right now.
Posts: 2,017
Question

and what do i do if my linux ubuntu 5.10 does not want to open the epsxe file? and also a friend of mine with the fedora core (unsure of the version) manages to at least open it, but when he tries to run the cdrom (unlike the lot of you who use ISO's, we got legitimate ps cd's) we get the notification that we ain't configured it yet, so whenever we try to configure graphics expse rudely shuts down like if it was a windows application without any error message before i even get to choose the plugin, the button for configure wizard is non-existant. help appreciated on BOTH cases.

and i LOVE the espxe project!! (although my ffIX sprites shake a lot i love ultra high internal Y (or was it X) resolution
allthough i have a sound problem i won't post it here :/
darth sephiroth is offline  
Old January 28th, 2006   #14 (permalink)
.!. (^.^) .!.
 
darth sephiroth's Avatar
 
Join Date: Jan 2006
Location: You're looking at it right now.
Posts: 2,017
aaaahh ok i got some thngs activated in that synaptic package administration (or whatever), now i'm at my friends spot, crashes when i try to do plugins
BUT
when i created a short cut
it didn't crash!
but instead!!!
it displayed "DISABLED" in the drop down menu!!!!!!!!
HELP!!
darth sephiroth is offline  
Old February 20th, 2006   #15 (permalink)
Episkopos Erisianus
 
Metron's Avatar
 
Join Date: Feb 2006
Location: China
Posts: 2
Question keyboard input?

Ok, here's one... what if I don't own a game pad? Do I have to go out and buy one? The built-in keyboard support doesn't seem to work for me - I can use the arrows, but not the other buttons, doesn't matter what I bind to them. If I try to load one of the input plugins, it complains that I don't have a pad (well, I don't) - and anyway, the padjoy help claims it isn't necessary to use it for epsxe keyboard input, in fact it doesn't even support it.

Configuration: Ubuntu Breezy, xorg 7.0; for gpu, I'm using soft X11 (the only one that works for me)

EDIT: scratch that, I made it work. After booting the bios, I realised my keys were working after all, except for Start. Then I remapped it, and found that for some reason, I can't map the "l" key

The reason I thought no keys were working, is that the stupid game I was trying to run only accepts the Start button on the initial menu, whereas most actual PSX games I tried, will accept square too...

Last edited by Metron; February 20th, 2006 at 11:10. Reason: resolved the problem, but want to leave the message in case someone has the same one
Metron is offline  
Old February 20th, 2006   #16 (permalink)
Episkopos Erisianus
 
Metron's Avatar
 
Join Date: Feb 2006
Location: China
Posts: 2
Quote:
Originally Posted by darth sephiroth
HELP!!
are you using the mooby CDR plugin? It makes epsxe crash for me on Ubuntu, due to a version mismatch with Xft. Anyway, it isn't necessary for epsxe - get rid of it, and the emulator may run.
Metron is offline  
Old April 4th, 2006   #17 (permalink)
Registered User
 
Join Date: Apr 2006
Location: San Diego
Posts: 4
Unfortunately, I could not find a way to get FF9 to work for the life of me. I've used epsxe for FFTactics but FF9 just wouldn't work. The OpenGL2 plugin configuration is vastly different than the windows one, so the guides on the forums aren't much help.
Mallow005 is offline  
Old April 4th, 2006   #18 (permalink)
Registered User
 
stilz's Avatar
 
Join Date: Jul 2002
Location: Ngemu?
Posts: 606
Adwin, I personally don't use Linux, but I just want to say thank you for taking your time to write such informative post.
__________________
To all emulator authors and contributors: without your hard work, we'd be without many hours of enjoyment and unable to relive fond memories of childhood. Thank you.
stilz is offline  
Old June 5th, 2006   #19 (permalink)
Registered User
 
Join Date: Dec 2005
Location: Bosnia & Herzegovina
Posts: 4
Hi!

I have: PII 233 Klamath
64 MB SDRAM
Voodoo 3/2000 16 MB
48x LG CDROM

which runs ePSXe fairly good w/o sound; OK for me.

Now,
1. What HOWTO would you recommend me to enable Glide3 acceleration on Linux?
2. What plugin to use? Lewpy doesn't seem to exist for Linux.
3. Am I gonna enjoy the emulation? Meaning, are glide plugins avaible for linux as good as Lewpy's? Is it worth it? I'm sick of dual booting into WinME. Any speed up's to expect?
4. What's better? Running ISOs directly in ePSXe or mounting them in Linux directly?

I have Ubuntu Breezy on fluxbox 0.9. Soon plan to install Debian Sarge.

TNX ;D

Last edited by canciman; June 5th, 2006 at 10:33.
canciman is offline  
Old September 2nd, 2006   #20 (permalink)
Registered User
 
Join Date: May 2006
Location: Norway
Posts: 3
Okay i have an awkward problem, ePSXe runs great and all that, and a friend of mine had a psx-> usb port converter and i borrowed that + a few controllers and i just plugged it in and everything worked in epsxe without any hazzle at all. So my friend took the controllers back after a few days and i decided to order a thrustmaster usb gamepad, this does not work in epsxe.
It appears in dmesg, and works great in a snes emulator i have.
It also lets me map it within the Q's padjoy plugin, but i cant map any keys in the gamepad -> pad1 menu. Its like it doesnt recognize it. Trying the omnijoy plugin i cant get it to work at all using /dev/js0 or js1.
Any thoughts on this?

I use ubuntu 6.06 and everything else works great, 3d acceleration etc. Other usb devices and gamepads works as well, as i said.
DiKKy is offline  
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:25.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5