Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on PS3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 19, 20, 21  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Wed Jan 24, 2007 9:42 pm    Post subject: Reply with quote

Thanks Tokka!
Back to top
View user's profile Send private message
alexdu
n00b
n00b


Joined: 25 Oct 2005
Posts: 42
Location: Moscow, Russia

PostPosted: Wed Jan 24, 2007 11:00 pm    Post subject: what about bluray? Reply with quote

I wonder if somebody has tried to play a Blu-Ray disk on Linux PS3 box :?:
At least mount it or AVCHD :?:
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Jan 25, 2007 12:24 am    Post subject: libstdc++-v3-3.3.6 Reply with quote

Anyone having an issue building libstdc++-v3-3.3.6 in 64-bit userland? To test, Iam building everything with -m64 setting in CFLAG.

During the compilation of firefox 2, I get this error:
Quote:

/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
Call stack:
ebuild.sh, line 1611: Called dyn_compile
ebuild.sh, line 968: Called qa_call 'src_compile'
environment, line 3886: Called src_compile
libstdc++-v3-3.3.6.ebuild, line 233: Called die

!!! (no error message)
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Thu Jan 25, 2007 8:52 am    Post subject: Re: libstdc++-v3-3.3.6 Reply with quote

asong26 wrote:
Anyone having an issue building libstdc++-v3-3.3.6 in 64-bit userland? To test, Iam building everything with -m64 setting in CFLAG.

During the compilation of firefox 2, I get this error:
Quote:

/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
Call stack:
ebuild.sh, line 1611: Called dyn_compile
ebuild.sh, line 968: Called qa_call 'src_compile'
environment, line 3886: Called src_compile
libstdc++-v3-3.3.6.ebuild, line 233: Called die

!!! (no error message)


hrm.. firefox shouldn't require libstdc++-v3. could you please post the output of "emerge mozilla-firefox -vp"?

anyway, follow this steps to get libstdc++-v3 on ppc64 with 64bit userland (it is known to fail. see also bug #97977)

Code:

$ mkdir -p /usr/portage/packages/All/
$ wget http://dev.gentoo.org/~corsair/libstdc++-v3-bin-ppc64-3.3.6.tbz2 -O /usr/portage/packages/All/libstdc++-v3-3.3.6.tbz2
$ emerge libstdc++-v3 --usepkgonly -a


(this package was built with USE="nls nptl -build (-multilib)" and CFLAGS="-O2 -pipe")

regards,

-corsair
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Thu Jan 25, 2007 3:12 pm    Post subject: Reply with quote

tokka wrote:
asong26 wrote:
How do you create your own stage 4 tar ball?


The simplist way on the PS3 after making an install you want a stage4 of is:

Boot into kboot, and type sh to enter bash.
Make sure that the partition that you want to create the tarball is mounted.
Mount some additional storage, if you have done an normal install without xorg you only need about 300MiB, so just insert a USB stick and mount it.
cd into the install partion and type:
Code:

tar cjpvf /mnt/myusbstick/mystage4.tar.bz2 .


Change the path above to whatever you are using:)

If you have problems in kboot, simply do as above but boot on a livecd.


For what it's worth and this is what I do, use partimage from the minimal cd. This is how I switch userlands to test various things, for example GRP. Partimage can backup a disk partition and compress it.

As for making your own stage4s, the official method is using a Gentoo tool called catalyst. I don't suggest trying to compile your own stages on a PS3 though. Even the "official" stages are made on my quad G5 and it takes a long time.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Jan 25, 2007 3:32 pm    Post subject: Reply with quote

Hi Ranger,

I have no intention of compiling my own stage4. I'll leave that to good people like you who knows what they're doing. My only intention is to use your stage4, w/ the changes that I've made in it as restore point. This way, I'll have samba pre-installed w/ xfce or even kde, should my gentoo install becomes unstable.

Something I would like to understand from you is this:

What settings are you using on your PS3? Stage4 is a good start, but I want to make sure that my make.conf is set correctly to take advantage of any optimization there is to have when compiling my own apps (as not too many apps are available for the 64-bit userland). There are so many different version that everyone is using, and I am confused as to which ones to use and not use.

For an instance, after reading up a bit on the IBM site, it states that I need to use -m64 flag in the CFLAG section to create 64bit binaries. Is this recommended? In any case, please share with us....
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Thu Jan 25, 2007 4:27 pm    Post subject: cflags, etc Reply with quote

asong,

as I said, i would use partimage to replicate or clone your ps3 installs.

as for cflags, we could debate this back and forth which is why you see so many different recommendations. You do not need -m64 however, as the target bitness is determined by the profile.

personally, I'm not going to worry about super optimized cflags until the toolchains are mature enough to deal with real optimizations (apps too). there are alot of people optimizing but it's been generally one-off at the application level. it's still early in the game as they say.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Jan 25, 2007 6:19 pm    Post subject: Reply with quote

Thanks Ranger!

I'll give partimage a try. And as for the CFLAG, I'll just take out the m64 for now. Please keep up the good work, and i'll look forward to your next release!! :D
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Jan 25, 2007 10:25 pm    Post subject: Reply with quote

I feel like I am hogging this forum, but I am learning, and I hope other silent readers will find this use as well:


With emerge function of portage, is there a way to create a tar ball of the install instead of installing? Or better yet, do both?

As you know, the precompiled binaries (emerge -vG xxx.xx) doesn't necessarily get you the apps you want with the features you want enabled. Now that I know how to create a restore point, I thought it would be a great idea to have important apps tarred up for restoration, without going through another round of 5 hour compile process. I've searched online for this info, but not easy to find, and most seem to be complicated process....

Thanks
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Fri Jan 26, 2007 9:12 pm    Post subject: quickpkg Reply with quote

you can use the command quickpkg to do what you are asking for packages that are installed. If you want to do this during package compilation, pass the -B switch (man emerge for more info).

as for saying that the precompiled packages lack the functions you want, please provide that feedback so it can be evaluated.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Sat Jan 27, 2007 2:03 pm    Post subject: Reply with quote

Any hope on use a jdk with nsplugin ? and a flash-player ?
I tried gnash but it is so slow .... :cry:
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Sun Jan 28, 2007 3:10 pm    Post subject: Re: quickpkg Reply with quote

rangerpb wrote:
you can use the command quickpkg to do what you are asking for packages that are installed. If you want to do this during package compilation, pass the -B switch (man emerge for more info).

as for saying that the precompiled packages lack the functions you want, please provide that feedback so it can be evaluated.


For one thing, I would like to have the windows managers to be prebuilt with support for samba integration. I think Samba is pretty important for pulling files off of windows netowrk, and it would be nice to have them integrated to the WMs. Also, I would like to better understand, which use flags are irrelevant to PS3 based on the currently limitations with the hypervisor. For instance, does OpenGL work on frame buffer mode on PS3? I haven't been able to get this to work..., only X11 display, nothing else works. And if so, everything but currently known settings should be disabled to make the apps lighter, and also, every display and sound related PS3 that's known to work turned on, so that the users have a choice.

Fiefox2 build should also support Java as well....

Mplayer: Would like to see it pre-built with all known settings that are relevant and works with PS3, especially the codec integration, including commercial DVD playback support pre-compiled. I've been pulling my hair out trying to get this to work. I've tried compiling VLC and MPlayer with all of the available libraries such as libdvdcss, libdvdnav, etc...,

I would like to see VLC build as well. One that includes all major codec support pre-built. x264, ffmpeg, xvid, a52, etc...,


Test report: 64-bit userland performs much worse than the 32bit. I had to downgrade it due to too many jaggie lines on the video output using the 64-bit environment (VLC, MPlayer). I am not sure if this is due to the memory, or the fact that 64-bit userland currently does not have 'directfb' available.

If you have any suggestion as to how we may be able to fix this performance issue (CFLAGS, LDFLAGS), please let me know. I'd be more than happy to test them out for you.

Thanks.
Back to top
View user's profile Send private message
alexdu
n00b
n00b


Joined: 25 Oct 2005
Posts: 42
Location: Moscow, Russia

PostPosted: Sun Jan 28, 2007 5:08 pm    Post subject: Re: what about bluray? Reply with quote

alexdu wrote:
I wonder if somebody has tried to play a Blu-Ray disk on Linux PS3 box :?:
At least mount it or AVCHD :?:

Here is the cue: http://sourceforge.net/tracker/index.php?func=detail&aid=1476807&group_id=295&atid=300295 (kernel patch) to have RO access to UDF v2.50 (Blu-Ray, AVCHD).
It works with AVCHD and vanilla-source 2.6.17.13. Should works with Blu-Ray (both have the same FS, AFAIK) and other 2.6.16+ kernels.
Should not works with HD-DVD: UDF v2.60, AFAIK.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Wed Jan 31, 2007 7:46 pm    Post subject: Reply with quote

RangerB:

What you've been up to? It sure is quite here......
Back to top
View user's profile Send private message
spindley
n00b
n00b


Joined: 02 Aug 2005
Posts: 48
Location: Calgary, AB Canada

PostPosted: Wed Jan 31, 2007 8:27 pm    Post subject: Reply with quote

sub_zero wrote:
This is a follow-up post for mythtv. I re-installed the ps3 with the 64-bit userland and installed mythtv. While the mythtv main package does have a ppc64 keyword, all the plugins for it do not. After I added all of them to portage.keywords with the ppc keyword, they installed fine and work as well. I also installed fceultra like this and got it to compile, but I haven't run it yet. I'm currently messing with getting the controllers to work. I can see their output through catting /dev/input/js0, but I can't configure them through jscal.

Any luck with the controllers yet? I see the remote control for the PS3 was released a few days ago. Would sure be nice to get that working with Myth.
_________________
"Wake up, Mr. Freeman. Wake up and smell the ashes."
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Wed Jan 31, 2007 8:37 pm    Post subject: Reply with quote

Spindley:

As you may be aware, the new remote control for PS3 is not a convention RF based unit. It's bluetooth. Bluetooth device must be configured, but I am not sure if this is working currently, let alone wifi.
Back to top
View user's profile Send private message
spindley
n00b
n00b


Joined: 02 Aug 2005
Posts: 48
Location: Calgary, AB Canada

PostPosted: Wed Jan 31, 2007 9:10 pm    Post subject: Reply with quote

asong26 wrote:
Spindley:

As you may be aware, the new remote control for PS3 is not a convention RF based unit. It's bluetooth. Bluetooth device must be configured, but I am not sure if this is working currently, let alone wifi.

Yeah, I'm aware that it's bluetooth. The controllers are bluetooth as well. Getting one working is a step towards getting the other one working.
_________________
"Wake up, Mr. Freeman. Wake up and smell the ashes."
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Feb 01, 2007 12:42 am    Post subject: Reply with quote

I don't think there's even a driver available for it yet....
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Feb 01, 2007 2:21 am    Post subject: Reply with quote

rangerb:

Does your official build include support for joystick? I've emerged joystick and typed in:

genkernel --menuconfig all

but get the following error:

* ERROR: kernel source directory "/usr/src/linux" was not found

Is there a way to add this driver externally without modifying the kernel?

I've installed and downloaded xmame, and in the process of trying to get the joystick to work under 32bit userland. Any help would be appreciated.

Thank you.

I also found this online: http://dev.gentoo.org/~josejx/sixaxis-2.6.18.patch

Is this patch applied to our current stage4 builds?
Back to top
View user's profile Send private message
sub_zero
Apprentice
Apprentice


Joined: 12 Sep 2004
Posts: 169

PostPosted: Thu Feb 01, 2007 5:29 pm    Post subject: Reply with quote

Spindley:

The controllers aren't recognized through bluetooth, you have to use the usb cable to connect them to the ps3 to have linux recognize them.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Thu Feb 01, 2007 5:35 pm    Post subject: Reply with quote

sub_zero wrote:
Spindley:

The controllers aren't recognized through bluetooth, you have to use the usb cable to connect them to the ps3 to have linux recognize them.



Agreed: I can see that my gentoo install will recognize the system:

do: cat /dev/input/js0

If you see garbage text coming through, then it's there. Problem is how do you use it? I've tried with many different apps, but no dice.

Did you get it working?


Nevermind... SIXAXIS doesnt' yet work on Gentoo I guess... So, I dug up my old Saitek usb gamepad. Works flawlessly!
Back to top
View user's profile Send private message
sub_zero
Apprentice
Apprentice


Joined: 12 Sep 2004
Posts: 169

PostPosted: Fri Feb 02, 2007 2:34 pm    Post subject: Reply with quote

I'm still unable to get joystick working with gentoo linux. I've tried using the patches for it and recompiling the kernel, however every kernel that I've tried so far fails to builld. Each one keeps giving me errors about the ps3pf files, so I think we'll have to wait for release of 2.6.20 through cell-sources. I did however get mplayer and mythtv to work better and fullscreen.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Sat Feb 03, 2007 2:17 am    Post subject: Reply with quote

sub_zero wrote:
I'm still unable to get joystick working with gentoo linux. I've tried using the patches for it and recompiling the kernel, however every kernel that I've tried so far fails to builld. Each one keeps giving me errors about the ps3pf files, so I think we'll have to wait for release of 2.6.20 through cell-sources. I did however get mplayer and mythtv to work better and fullscreen.


You can't get any joysticks to work? I've got my Saitek USB pad working.... Using it with xmame...
Back to top
View user's profile Send private message
sub_zero
Apprentice
Apprentice


Joined: 12 Sep 2004
Posts: 169

PostPosted: Sat Feb 03, 2007 4:28 am    Post subject: Reply with quote

I can get other joysticks to work, I'm just having trouble configuring the ps3 controllers as joysticks. The system recognizes them, but they cause errors in programs like jscal and mplayer.
Back to top
View user's profile Send private message
Foxer
n00b
n00b


Joined: 05 Feb 2007
Posts: 3

PostPosted: Mon Feb 05, 2007 8:22 am    Post subject: Question regarding the Tarball Reply with quote

I'm new here and I apologize for not taking the time to look over the posts.

I have a question regarding the "tarball stage4-ppc64-3ul.tar.bz2" .. "I guess that is the right name"
I put "tarball stage4-ppc64-3ul.tar.bz2" in my memory stick and inserted it to my PS3, after mounting/doing everything Gentoo, it says that i should copy Stage 4 tarball to the PS3 drive and under the /mnt/gentoo directory

My question how can access my memory stick and copy Stage 4 tarball to Gentoo directory ??
Help would be appreciated.

PS: I used this tutorial "http://ps3wiki.qj.net/index.php/Gentoo_Howto"

and I am in this part:

Installing base system, mounting procfs and /dev + Readying for chroot

livecd / # cd /mnt/gentoo
livecd gentoo / # wget [b]http://gentoo.osuosl.org/experimental/ppc64/stages/stage4-ppc64-ps3_32ul.tar.bz2 (
If already downloaded in advance, copy the file to /mnt/gentoo now
[/b]) I already have it but I don't know how to copy it from my memory stick to Gentoo directory.[/i]
livecd gentoo / # tar -xjpf stage4-ppc64-ps3_32ul.tar.bz2
livecd gentoo / # mount -t proc none /mnt/gentoo/proc
livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11 ... 19, 20, 21  Next
Page 10 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum