Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

Advmame + Advmenu

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
12 posts • Page 1 of 1
Author
Message
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

Advmame + Advmenu

  • Quote

Post by JROCK2004 » Mon Apr 22, 2013 10:15 pm

I am so close to getting this to work. The last problem I have is when run advmenu in the console, I am getting the following:


sdl: Unable to initialize the SDL library, No available video device

I am not running X at all. Am I missing a special configuration?
Top
ShadowCat8
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Tue Oct 07, 2008 7:37 pm
Location: San Bernardino, CA, USA

  • Quote

Post by ShadowCat8 » Tue Apr 23, 2013 6:42 pm

Greetings,

Looks like you need to install media-libs/libsdl for it to run.

And, looking at the libsdl ebuild file, it appears that you don't need to have X/xorg installed to install libsdl, either.

HTH. Let us know.
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Top
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

  • Quote

Post by JROCK2004 » Tue Apr 23, 2013 7:05 pm

Thanks for the reply. I already have that installed

-> emerge -pv libsdl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/libsdl-1.2.15-r2 USE="X alsa audio joystick opengl video xinerama xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Top
ShadowCat8
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Tue Oct 07, 2008 7:37 pm
Location: San Bernardino, CA, USA

  • Quote

Post by ShadowCat8 » Wed Apr 24, 2013 12:16 am

Ummm...

I think I need a little clarification here:
JROCK2004 wrote:I am not running X at all. Am I missing a special configuration?
From that, I take it that you are intending to run Advmame from the console. Is that correct?
Because I look at what the USE flags are for libsdl...
JROCK2004 wrote:[ebuild R ] media-libs/libsdl-1.2.15-r2 USE="X alsa audio joystick opengl video xinerama xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib" 0 kB
It seems that libsdl is expecting to see an Xserver running. You even have -fbcon in the USE flags, so it hasn't built support to launch from the console.

HTH. Let us know.
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Top
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

  • Quote

Post by JROCK2004 » Wed Apr 24, 2013 1:36 am

Ok, so I rebuilt with the use flag of fbcon enabled and I am getting closer. I closed down my xorg-server and in the console I typed advmenu and the error changed a little

Unable to initialize the video driver.

fb: This 'radeondrmfb' framebuffer driver doesn't seem to allow the creating of new video modes.sdl: Unable to initialize the SDL library, Unable to open mouse.


Thoughts?


Update 1:
So I decided to build another kernel and disable the radeonfb and go with the vesa one and I get the same error. So I got that kernel to tweak if you think I need a difference framebuffer.
Top
ShadowCat8
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Tue Oct 07, 2008 7:37 pm
Location: San Bernardino, CA, USA

  • Quote

Post by ShadowCat8 » Thu Apr 25, 2013 8:12 pm

Hmmm...

How about trying to rebuild libsdl with "directfb", as well...

And, as far as the mouse part of the error output, do you have sys-libs/gpm built and running?

HTH. Let us know.
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Top
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

  • Quote

Post by JROCK2004 » Thu Apr 25, 2013 8:52 pm

Rebuilt sdl like you said and install gpm and still got the same result.
Top
ShadowCat8
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Tue Oct 07, 2008 7:37 pm
Location: San Bernardino, CA, USA

  • Quote

Post by ShadowCat8 » Thu Apr 25, 2013 9:12 pm

Well,

The only flag left for libsdl that would have anything to do with this is ggi:

Code: Select all

 ~ $ cat /usr/portage/profiles/use.desc | grep ggi
ggi - Adds support for media-libs/libggi (non-X video api/drivers)
I have never used libggi before, so I'm not sure of what it is going to need (other than aalib, apparently) or do for you, but it seems like it's a bit closer to what you are looking for, I think.

HTH. Let us know.
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Top
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

  • Quote

Post by JROCK2004 » Sat Apr 27, 2013 2:42 pm

Still does not work. Any other ideas?
Top
darklegion
Guru
Guru
Posts: 468
Joined: Sun Nov 14, 2004 1:47 am

  • Quote

Post by darklegion » Sun Apr 28, 2013 8:03 am

JROCK2004 wrote:Still does not work. Any other ideas?
Is there a specific reason you don't want to use X? I.e extremely low memory situation? Because you'll find that non-X mode is not very well supported and it probably won't be faster than using X. There's also sdlmame if you can't get advancemame to work.
Top
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

  • Quote

Post by JROCK2004 » Sun Apr 28, 2013 2:18 pm

darklegion wrote:
JROCK2004 wrote:Still does not work. Any other ideas?
Is there a specific reason you don't want to use X? I.e extremely low memory situation? Because you'll find that non-X mode is not very well supported and it probably won't be faster than using X. There's also sdlmame if you can't get advancemame to work.
Is sdlmame still under active development? Does it support mame 0.148?
Top
ShadowCat8
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Tue Oct 07, 2008 7:37 pm
Location: San Bernardino, CA, USA

  • Quote

Post by ShadowCat8 » Wed May 01, 2013 5:41 pm

Well,

It certainly seems so, as the timestamp for the sdlmame-0.148_p1-r1 ebuild is 2013/03/15 19:31:07.

So, at least on our end, there is supporting development actively being done by hasufell. (Thanks much! :D )

And, looking at the mamedev homepage and scanning the ChangeLog from there, it looks like it is still under *very* active development.

HTH. Let us know.
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Top
Post Reply
  • Print view

12 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic