*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: 1 [2]
Print
Author Topic: xrandr finally working !!  (Read 26973 times)

#15 Re: xrandr finally working !!

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


March 21, 2010, 10:48:33 PM

I still have the 2.11.4~intrepid.deb package around. Send me a PM with a mail address to mail it to you. Is only  145kb.
Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#16 Re: xrandr finally working !!

FuguTabetai
Commenter

Posts: 7


March 23, 2010, 05:40:48 AM

Many thanks to mavrothal for the .deb, now I have xrandr working and switching resolutions!  Zsnes was pretty good, but only works with the non-opengl video modes (makes sense.)

Next up, see if I can get pacman and that kind of thing working with mame.  And then some sort of apple //e emulation...
Logged

#17 Re: xrandr finally working !!

Destarus
Commenter

Posts: 9


April 08, 2010, 02:02:06 PM

Alright, many thanks go out to Mavrothal for getting xrandr working.

Anthill,

FCEU and ZSNES are the two apps I'm trying to get to work.  You had mentioned that you had to update SDL, and I've downloaded the SDL-1.2.14-1.i586.rpm but frankly, I don't understand what to do from this point on.  Is there a detailed step-by-step set of instructions posted somewhere?

When it is finally configured, do I have to call xrandr manually before starting each emulator?  Or will it be automatic. (called by SDL)

Thanks for answering my perhaps n00bish questions.  Grin

Jeff

EDIT:  xrandr works, but when I run the emulators in the new resolution, say 640x480, the emulators render the screen mostly off screen to the lower right, leaving a absurdly large black border along the left and top of the screen.  It seems to me that SDL is still rendering a 1200x900 screen, and I am just seeing the upper left 640x480 window of it.  Am I missing something?
« Last Edit: April 12, 2010, 07:46:46 AM by Destarus » Logged

#18 Re: xrandr finally working !!

anthill
Contributor
*
Posts: 55


April 28, 2010, 01:20:16 PM

Hi Destarus.  You're almost there.

You need to:

  • Uncompress the SDL-1.2.14-1.i586.rpm file.  Don't try to install it, you just want to extract the files that are inside.  I used two pieces of software: alien to turn the .RPM into a .DEB, and dpkg -X to extract the files.  You can also use CIPO
  • Replace your system's current SDL library with the libSDL-1.2.so.0.11.3 file that should have come out of the RPM.  You can do this by:
  • first copying the new libSDL into /usr/lib
  • next changing the file permissions (sudo chown root:root libSDL-1.2.so.0.11.3), and
  • third changing the libSDL.so and libSDL-1.2.so links to point to the new library (sudo ln -s libSDL-1.2.so.0.11.3 libSDL.so    etc. etc.). See my post above for what your /usr/lib should look like afterwards.
If you have the new libSDL installed, then you shouldn't have to do anything special - xrandr is just part of the X windows server, and the new libSDL will take care of the details for you.
Logged

#19 Re: xrandr finally working !!

Destarus
Commenter

Posts: 9


May 14, 2010, 02:34:55 PM

Hey Anthill,

    Well, a few cans of Pepsi and a few Hotpockets later I now have the screens modes working flawlessly.  I even have the weird 256x224 mode for GFCE Ultra configured so it is completely full screen.
     I put all of my xrandr calls in a script that I have autorun upon boot up. Works like a charm.
     Thanks a bunch for getting this to work and showing all of us how to do it!

Cheers,

    Jeff
Logged

#20 Re: xrandr finally working !!

strider
Commenter

Posts: 10


May 14, 2010, 03:12:07 PM

Oh my, this is awesome, I'm now receiving updates from a topic I created more than a year ago on my facebook page.

I just wanted to say one thing. For those who try running FCEU on the XO, just stop. I've tried many NES emulators on the XO and the only one that is really playable is mednafen. The NES part of mednafen is based on fceu so it's at least as good. But wait ... no ... it's way better ! You got decent sound, full screen, joypad support  and all you need for a good gaming experience.
I'm the author of the Lutris gaming platform ( http://lutris.net/blog )  and I've chosen to support mednafen and NOT supporting fceu because mednafen runs so well on the XO.
Logged

#21 Re: xrandr finally working !!

Destarus
Commenter

Posts: 9


May 15, 2010, 11:25:10 AM

Hey strider,

     I thank you for starting this thread... I had been waiting a while for the new Geode drivers to come out and now they're here Smiley

I took your advice and installed mednafen. Its awesome that it supports all of these other machines, but FCEUX seems to do a much better job with 8-bit NES.

With FCEUX, I add the commands -xres 256 -yres 224 and select 11025 audio and I get nearly flawless performance with no sound breakup (unless the XO's flash starts accessing... don't know why it needs to do that, but it makes the emulator skip)

With mednafen, I used the command line switches -nes.xres 256 -nes.yres 224 -vdriver sdl -glvsync 0 -soundrate 11025 -sounddriver sdl %f

I've tried a few other permutations, but this one seemed to give them best performance.  The -fs switch causes it not to work at all.

Does yours work better?  What switches do you use?

Thanks!


Jeff
Logged

#22 Re: xrandr finally working !!

stet
New

Posts: 4


November 18, 2010, 07:32:03 AM

Is the updated geode driver still available for Intrepid somewhere? If not, can I use the binary compiled for Hardy or Jaunty?
Logged

#23 Re: xrandr finally working !!

mavrothal
Administrator
OLPC News Forum Expert
*****
Posts: 1289


November 18, 2010, 10:41:30 AM

Is the updated geode driver still available for Intrepid somewhere?

Just uploaded it here http://www.sendspace.com/file/gt3ly1
« Last Edit: November 18, 2010, 10:43:20 AM by mavrothal » Logged

XO-1: Is never going to run Flash, but is certainly flashy!
(If you want Flash, get an XO-1.5 running OLPC 11.2.0 or XOpup Grin )

#24 Re: xrandr finally working !!

stet
New

Posts: 4


November 22, 2010, 08:02:08 PM

Thanks very much. It's working great.

Logged
Pages: 1 [2]
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 33
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 21
Total: 21