forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PS3RSX Binary driver support
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
deepthink



Joined: 14 Dec 2007
Posts: 1

PostPosted: Fri Dec 14, 2007 4:29 pm    Post subject: Reply with quote

tephra wrote:
Hey guys,

What exactly does this driver provide, I am trying to get MythTV to work(properly) on my PS3 and am hoping that this driver will help.

Can I get XV out of it?

I don't know enough about the different layers of video in XWindows so my question probably doesn't make sense :)

Cheers
Dave


Hello, I'm also trying to get mythfrontend working. These are my results.

Mythfrontend can't make use of Xv but mplayer can. I thought that it was an unsupported color conversion from the TV to the screen. That does not seem to be the case since mplayer can use Xv when playing the .mpgs created by mythtv.

Can this be made to work without needing to patch mythtv or the driver?

Mythtv output when playing live tv
Code:

[mpegts @ 0xf3417b8]Parser not found for Codec Id: 94211 !
2007-12-13 18:54:49.972 VideoOutputXv: XvMCTex: Init failed
2007-12-13 18:54:49.972 VideoOutputXv: XVideo Adaptor Name: 'PS3 Video Blitter'
2007-12-13 18:54:49.973 VideoOutputXv Error: Couldn't find the proper XVideo image format.
2007-12-13 18:54:49.973 VideoOutputXv Error: Failed to create XVideo Buffers.
X Error: XvBadPort 150
  Major opcode:  140
  Minor opcode:  4
  Resource id:  0xffffffff
2007-12-13 18:54:49.974 VideoOutputXv: Falling back to X shared memory video output.
                              *** May be slow ***
2007-12-13 18:54:51.300 AFD: Opened codec 0xf6305220, id(MPEG2VIDEO) type(Video)
2007-12-13 18:54:51.520 AFD: Opened codec 0xf630fee0, id(MP3) type(Audio)
2007-12-13 18:54:51.723 Opening ALSA audio device 'default'.
2007-12-13 18:54:52.505 Mixer unable to find control Master
2007-12-13 18:54:52.505 Mixer unable to find control Master
2007-12-13 18:54:52.510 NVP: Enabling Audio
2007-12-13 18:54:52.757 msg: On same multiplex...
2007-12-13 18:54:53.297 AFD: Opened codec 0xf11004d0, id(MP3) type(Audio)
2007-12-13 18:54:53.298 AFD: Opened codec 0xf6382c20, id(MPEG2VIDEO) type(Video)
2007-12-13 18:54:53.505 NVP: Prebuffer wait timed out 10 times.
2007-12-13 18:54:53.530 Opening ALSA audio device 'default'.
2007-12-13 18:54:53.628 Mixer unable to find control Master
2007-12-13 18:54:53.628 Mixer unable to find control Master
2007-12-13 18:54:54.786 VideoOutputXv Error:
***
* Your system is not capable of displaying the
* full framerate at 1124x644 resolution.  Frames
* will be skipped in order to keep the audio and
* video in sync.

[mpeg2video @ 0xf1fcfe8]00 motion_type at 33 6
[mpeg2video @ 0xf1fcfe8]Warning MVs not available
[mpeg2video @ 0xf1fcfe8]Warning MVs not available
[mpeg2video @ 0xf1fcfe8]00 motion_type at 17 30
[mpeg2video @ 0xf1fcfe8]Warning MVs not available
2007-12-13 18:56:03.629 WriteAudio: buffer underrun
[mpegts @ 0xf3417b8]Parser not found for Codec Id: 94211 !
2007-12-13 18:56:03.853 AFD: Opened codec 0xf0706560, id(MP3) type(Audio)
2007-12-13 18:56:04.662 AFD: Opened codec 0xf0706b60, id(MPEG2VIDEO) type(Video)
2007-12-13 18:56:18.276 TV: Attempting to change from WatchingLiveTV to None
2007-12-13 18:56:18.930 TV: Changing from WatchingLiveTV to None


Mplayer output when playing a tv recording
Code:

TS file format detected.
VIDEO MPEG2(pid=819) AUDIO MPA(pid=818) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
gnome_screensaver_control()==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16be, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16be (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: using unscaled yuv420p -> uyvy422 special converter
VO: [xv] 720x576 => 768x576 Packed UYVY
gnome_screensaver_control()00 ct: -0.618 1817/1817  9%  5%  3.3% 0 0
Exiting... (Quit)
Back to top
View user's profile Send private message
androvsky



Joined: 11 Nov 2007
Posts: 33

PostPosted: Fri Dec 14, 2007 5:07 pm    Post subject: Reply with quote

Pardon my quick, unresearched answer, but isn't there an option to make mythtv use mplayer for all video playback instead of the built-in player?
Back to top
View user's profile Send private message
tephra



Joined: 14 Dec 2007
Posts: 2

PostPosted: Fri Dec 14, 2007 6:01 pm    Post subject: Reply with quote

there is - but its kinda gumby, ie you loose remote control etc etc..

maybe there should be a separate thread for ps3/mythtv since there seems to be enough of us interested in getting it going...

back on topic - will the patches here every be merged into the kernel mainline? or at least geoffs tree?
Back to top
View user's profile Send private message
Audball



Joined: 10 Dec 2007
Posts: 4

PostPosted: Sat Dec 15, 2007 10:56 pm    Post subject: d-range instructionns worked for me Reply with quote

d-range,
Thanks for the excellent instructions. They worked for me without a hitch. I'd been looking for how to install the kernel source for a few days without success until you posted your instructions. The only thing I changed from your instructions is that I placed ps3rsx.ko in /etc/modules.autoload.d/kernel-2.6 instead of running insmod in the startup. Working on getting mythfrontend running now.
P.S. sorry for the late post, but I've been insane busy at work this week.
Back to top
View user's profile Send private message
Rotzi



Joined: 13 Dec 2007
Posts: 3

PostPosted: Sun Dec 16, 2007 12:59 am    Post subject: Reply with quote

hey guys

just one short question:

what things i have to change in my xorg.conf ??

cause i installed the deb-package for the 2.6.22.14-kernel, but there isnīt more speed .... screensavers for example still doesnīt work pretty much .... like before

so, it would be nice, if you could be more detailed ;)

thanx - anyway, if it works- GREAT JOB !!! :D
Back to top
View user's profile Send private message
Silniczek



Joined: 10 Dec 2007
Posts: 5

PostPosted: Sun Dec 16, 2007 3:19 am    Post subject: Reply with quote

GOOD JOB!!! :)
Cheers
Andrew
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Sun Dec 16, 2007 5:19 am    Post subject: Reply with quote

Rotzi wrote:
hey guys

just one short question:

what things i have to change in my xorg.conf ??

cause i installed the deb-package for the 2.6.22.14-kernel, but there isnīt more speed .... screensavers for example still doesnīt work pretty much .... like before

so, it would be nice, if you could be more detailed ;)

thanx - anyway, if it works- GREAT JOB !!! :D


Hi,

From a previous Glaurung post :
"To use the accelerated driver, you have to change xorg.conf from:
Code:

Driver "fbdev"


to
Code:

Driver "ps3"


Also, adding the following section is recommended (enable Composite):

Code:

Section "Extensions"
Option "Composite" "Enable"
EndSection
"
Regards
Back to top
View user's profile Send private message
Silniczek



Joined: 10 Dec 2007
Posts: 5

PostPosted: Mon Dec 17, 2007 2:04 am    Post subject: Reply with quote

d-range wrote:


Code:
# cd ps3rsx
# cp ps3rsx.ko /lib/modules/2.6.23/kernel/drivers/ps3/
# depmod -a
# echo "modprobe ps3rsx >> /etc/conf.d/local.start"



there is and error here, it should be like this:
Code:
# cd ps3rsx
# cp ps3rsx.ko /lib/modules/2.6.23/kernel/drivers/ps3/
# depmod -a
# echo "modprobe ps3rsx" >> /etc/conf.d/local.start


Regards
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Mon Dec 17, 2007 2:32 am    Post subject: Reply with quote

i have installed ubuntu with the 23-rc7 kernel and followed the guide with
ps3rsx.so and ps3drv.so but i used the first files not the 23-rc7(i think for gentoo!?)!!!
And now i start the ps3 and hit enter at kboot, it starts with the boot
and then there is no picture on the screen only black!!!
I think because i used the wrong driver!?

What can i do to get it showing again(without reinstalling the whole system)?

And what should i do the next time with the rsx?
I hope you can help me!
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Mon Dec 17, 2007 3:03 am    Post subject: Reply with quote

therealwakka wrote:
i have installed ubuntu with the 23-rc7 kernel and followed the guide with
ps3rsx.so and ps3drv.so but i used the first files not the 23-rc7(i think for gentoo!?)!!!
And now i start the ps3 and hit enter at kboot, it starts with the boot
and then there is no picture on the screen only black!!!
I think because i used the wrong driver!?

What can i do to get it showing again(without reinstalling the whole system)?

And what should i do the next time with the rsx?
I hope you can help me!


You just have to start in "single user" mode :

On kboot prompt:

linux 1
or
linux init=/bin/sh

Regards
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Mon Dec 17, 2007 3:29 am    Post subject: Reply with quote

Thanks!!!!!
It worked, now i have access to the shell.

Now i changed "ps3" back to "fbdev" but its the same black screen!
Must i revert the "modprobe" thing? When yes, then how?
Back to top
View user's profile Send private message
d-range



Joined: 26 Oct 2007
Posts: 60

PostPosted: Mon Dec 17, 2007 4:11 am    Post subject: Reply with quote

Silniczek wrote:
there is and error here, it should be like this:
Code:
# cd ps3rsx
# cp ps3rsx.ko /lib/modules/2.6.23/kernel/drivers/ps3/
# depmod -a
# echo "modprobe ps3rsx" >> /etc/conf.d/local.start


Regards


Tnx, fixed it.
Back to top
View user's profile Send private message
Silniczek



Joined: 10 Dec 2007
Posts: 5

PostPosted: Mon Dec 17, 2007 4:14 am    Post subject: Reply with quote

therealwakka wrote:
i have installed ubuntu with the 23-rc7 kernel and followed the guide with
ps3rsx.so and ps3drv.so but i used the first files not the 23-rc7(i think for gentoo!?)!!!
And now i start the ps3 and hit enter at kboot, it starts with the boot
and then there is no picture on the screen only black!!!
I think because i used the wrong driver!?

What can i do to get it showing again(without reinstalling the whole system)?

And what should i do the next time with the rsx?
I hope you can help me!


type this
Code:

echo "modprobe ps3rsx" >> /etc/conf.d/local.start

and reboot your system, should fix it.
also change back driver back to ps3
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Mon Dec 17, 2007 8:05 am    Post subject: Reply with quote

Thanks Guys!!

OK one problem is solved but which driver should i use for ubuntu 23-rc7.
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Mon Dec 17, 2007 8:59 pm    Post subject: Reply with quote

therealwakka wrote:
Thanks Guys!!

OK one problem is solved but which driver should i use for ubuntu 23-rc7.


I may have messed something up with the 2.6.23-rc7 (wrong path for the module). Il will check this out this evening and post a new package.

Regards

--

I have uploaded a new version :
http://www.choeursdaromes.com/ps3rsx-1.0-3-2.6.23rc7.deb

I forgot to change the module's path in the previous version... sorry!


Last edited by Akta77 on Tue Dec 18, 2007 6:02 am; edited 1 time in total
Back to top
View user's profile Send private message
dakota34



Joined: 18 Dec 2007
Posts: 1

PostPosted: Tue Dec 18, 2007 5:01 am    Post subject: mythfrontend with accelerated driver - comments? Reply with quote

Can anyone who has tried mythfrontend with the accelerated driver comment on myth's performance with the new driver???

I'm trying to justify a PS3 X-mas present, and any ammunition helps ....
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 5:33 am    Post subject: Reply with quote

Akta77 wrote:
therealwakka wrote:
Thanks Guys!!

OK one problem is solved but which driver should i use for ubuntu 23-rc7.


I may have messed something up with the 2.6.23-rc7 (wrong path for the module). Il will check this out this evening and post a new package.

Regards

--

I have uploaded a new version :
http://www.choeursdaromes.com/ps3rsx-1.0-2-2.6.23rc7.deb

I forgot to change the module's path in the previous version... sorry!



This driver seems to work i must install it with "ignore-depends" because it required "linux-image-cell".
p.s. schould i change the fbdev to ps3 in the xorg config?
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Tue Dec 18, 2007 6:00 am    Post subject: Reply with quote

therealwakka wrote:
Akta77 wrote:
therealwakka wrote:
Thanks Guys!!

OK one problem is solved but which driver should i use for ubuntu 23-rc7.


I may have messed something up with the 2.6.23-rc7 (wrong path for the module). Il will check this out this evening and post a new package.

Regards

--

I have uploaded a new version :
http://www.choeursdaromes.com/ps3rsx-1.0-2-2.6.23rc7.deb

I forgot to change the module's path in the previous version... sorry!



This driver seems to work i must install it with "ignore-depends" because it required "linux-image-cell".
p.s. schould i change the fbdev to ps3 in the xorg config?


As we say in France "Jamais 2 sans 3 :)" I had'nt my PS3 to test the n°2 release, just quickly corrected the wrong path. There was an error with revision too (2.6.23rc7 is not "stock Ubuntu").

This one is the GOOD one :) Fully tested :p

http://www.choeursdaromes.com/ps3rsx-1.0-3-2.6.23rc7.deb

Yes, you still have to modify your xorg.conf, but i am writing a very tiny little shell script to do it automatically. I am also setting up an ubuntu repo.
Think i will build an up2date geoff kernel too with the driver included.

Regards
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Tue Dec 18, 2007 6:25 am    Post subject: Re: mythfrontend with accelerated driver - comments? Reply with quote

dakota34 wrote:
Can anyone who has tried mythfrontend with the accelerated driver comment on myth's performance with the new driver???

I'm trying to justify a PS3 X-mas present, and any ammunition helps ....


We should build a GeeXbox PS3 optimised system if the researched goal is an accelerated Media Player :)

As GeeXbox is built on top of Slack (in my far far remembers), i think i will start to work on this as soon as possible.


Last edited by Akta77 on Tue Dec 18, 2007 7:19 am; edited 1 time in total
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Tue Dec 18, 2007 6:56 am    Post subject: Reply with quote

Thanks for the quick reply Akta77.
I'll test it now!!!
Back to top
View user's profile Send private message
taynaron



Joined: 18 Dec 2007
Posts: 3

PostPosted: Tue Dec 18, 2007 2:46 pm    Post subject: Reply with quote

Thanks for all the hard work, everyone.
A (hopefully) small question:

I just installed Ubuntu 7.10 as described at psubuntu.com. I then did the automatic update thing, restarted, and installed the ps3rsx-1.0-1.deb package. I lastly updated the xorg.conf file as mentioned earlier in this thread. Upon restarting, however, instead of getting the ubuntu graphic login screen I get the following error:

usplash: no usable theme found for 576x384
screen init failed

and an opportunity to login via command line.
I'm connected to an old SD tv (as you probably guessed from the screen size)

I've also tried running
Code:

echo "modprobe ps3rsx" >> /etc/rc.local

(since Ubuntu has no conf.d folder) and restarting, with no luck.
Any help would be appreciated.
Back to top
View user's profile Send private message
billb



Joined: 12 Dec 2007
Posts: 32

PostPosted: Tue Dec 18, 2007 4:57 pm    Post subject: PS3 FW 2.1 Reply with quote

I had the ps3rsx module working on Fedora 7, but after updating my PS3 firmware from 2.01 to 2.1, dmesg says:

Code:
ps3rsx: PS3 RSX access module, 1.0.0
ps3rsx: reserved XDR memory is @c000000000a00000, len 18874368
ps3rsx: lv1_gpu_memory_allocate failed: -17
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc00000000020662c
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=128 NUMA PS3
Modules linked in: ps3rsx(U) autofs4 cifs nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink ipt_REJECT iptable_filter ip_tables xt_tcpudp ip6t_REJECT ip6table_filter ip6_tables x_tables spufs dm_multipath ipv6 snd_ps3 snd_seq_dummy sr_mod cdrom snd_usb_audio snd_usb_lib snd_rawmidi snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ps3_gelic hci_usb snd_pcm_oss snd_mixer_oss bluetooth ps3rom snd_pcm ps3flash snd_page_alloc snd_timer snd soundcore joydev sg dm_snapshot dm_zero dm_mirror dm_mod ps3disk ps3stor_lib usb_storage sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
NIP: c00000000020662c LR: d00000000034b1d0 CTR: c000000000206604
REGS: c00000000485b850 TRAP: 0300   Not tainted  (2.6.23.8-34.fc7)
MSR: 8000000000008032 <EE,IR,DR>  CR: 22002422  XER: 00000000
DAR: 0000000000000000, DSISR: 0000000040000000
TASK = c0000000050531c0[2082] 'modprobe' THREAD: c000000004858000 CPU: 1
GPR00: d00000000034b1d0 c00000000485bad0 c000000000738390 0000000000000000
GPR04: 0000000000000001 0000000000000001 0000000000000000 c000000000642030
GPR08: 0000000000000000 c00000000076d280 c00000000078eea0 c000000000206604
GPR12: d00000000034bdc8 c00000000065aa80 0000000000000000 d0000000004e5528
GPR16: 0000000000000008 0000000000000000 0000000000000000 000000000000006b
GPR20: d0000000004e489f d00000000034c768 0000000000000000 d0000000004c5000
GPR24: 000000000000002e d0000000004e4a28 d00000000034d880 000000000000002f
GPR28: 4000000000000000 c000000007bc2800 c0000000006ef570 0000000000000000
NIP [c00000000020662c] .unregister_framebuffer+0x28/0x108
LR [d00000000034b1d0] .cleanup_ps3rsx+0x88/0xc0 [ps3rsx]
Call Trace:
[c00000000485bad0] [0000000000000001] 0x1 (unreliable)
[c00000000485bb70] [d00000000034b1d0] .cleanup_ps3rsx+0x88/0xc0 [ps3rsx]
[c00000000485bbf0] [d00000000034bce0] ._ps3rsx_init+0x294/0x85c [ps3rsx]
[c00000000485bc90] [c0000000000ada24] .sys_init_module+0x1524/0x16e0
[c00000000485be30] [c000000000008548] syscall_exit+0x0/0x40
Instruction dump:
7c0803a6 4e800020 7c0802a6 fbc1fff0 fbe1fff8 fb81ffe0 fba1ffe8 ebc2faf0
f8010010 f821ff61 7c7f1b78 e93e8018 <eba30002> 38810070 3860000e 7ba01f24
ps3fb: mmap framebuffer P(a10000)->V(f6dc1000)


But also, I had to change my bootloader. The one I was using was from here, but I have had to change to the petitboot version from within this rar archive here.

I normally switch between YDL 5.0.1 on my internal drive and Fedora 7 on an 8 GB USB flash drive by changing bootloaders ... The one from the YDL 5.0.1 CD still works fine, but the one I have been using for Fedora 7 / 8 doesn't do anything at all.

The graphical petitboot version (here) works fine, though.

Anyone else having similar problems with FW 2.1?

EDITED: Included more output from dmesg re: ps3rsx


Last edited by billb on Wed Dec 19, 2007 12:56 am; edited 1 time in total
Back to top
View user's profile Send private message
IronPeter



Joined: 06 Aug 2007
Posts: 207

PostPosted: Tue Dec 18, 2007 5:23 pm    Post subject: Reply with quote

From your log it looks like Sony fixed lv1 gpu memory allocate with size 0.

It means for example that old linux kernels are also incompatible with FW 2.1.

Not sure, it is hard to say something from these lines.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Tue Dec 18, 2007 6:54 pm    Post subject: Reply with quote

taynaron wrote:
Thanks for all the hard work, everyone.
A (hopefully) small question:

I just installed Ubuntu 7.10 as described at psubuntu.com. I then did the automatic update thing, restarted, and installed the ps3rsx-1.0-1.deb package. I lastly updated the xorg.conf file as mentioned earlier in this thread. Upon restarting, however, instead of getting the ubuntu graphic login screen I get the following error:

usplash: no usable theme found for 576x384
screen init failed

and an opportunity to login via command line.
I'm connected to an old SD tv (as you probably guessed from the screen size)

I've also tried running
Code:

echo "modprobe ps3rsx" >> /etc/rc.local

(since Ubuntu has no conf.d folder) and restarting, with no luck.
Any help would be appreciated.


You do not need to do the "echo "modprobe ps3rsx" >> /etc/rc.local" as the script is already adding a line to /etc/modules...

What are saying the logs?
Back to top
View user's profile Send private message
d-range



Joined: 26 Oct 2007
Posts: 60

PostPosted: Wed Dec 19, 2007 1:29 am    Post subject: Re: PS3 FW 2.1 Reply with quote

billb wrote:
I had the ps3rsx module working on Fedora 7, but after updating my PS3 firmware from 2.01 to 2.1, dmesg says:

[snip]

I normally switch between YDL 5.0.1 on my internal drive and Fedora 7 on an 8 GB USB flash drive by changing bootloaders ... The one from the YDL 5.0.1 CD still works fine, but the one I have been using for Fedora 7 / 8 doesn't do anything at all.


I assume that the YDL system on the flash drive does not have ps3rsx installed on it?
Back to top
View user's profile Send private message
therealwakka



Joined: 16 Dec 2007
Posts: 10

PostPosted: Wed Dec 19, 2007 1:37 am    Post subject: Reply with quote

Quote:

Yes, you still have to modify your xorg.conf, but i am writing a very tiny little shell script to do it automatically. I am also setting up an ubuntu repo.



i changed the "fbdev" to "ps3" in Devices in /etc/X11/xorg.conf
but when i restart it shows me the following error:
Code:

failed to load module "ps3" (module requirement mismatch,0)
no drivers available


Why? And what should i do?
Back to top
View user's profile Send private message
billb



Joined: 12 Dec 2007
Posts: 32

PostPosted: Wed Dec 19, 2007 2:11 am    Post subject: Re: PS3 FW 2.1 Reply with quote

d-range wrote:
I assume that the YDL system on the flash drive does not have ps3rsx installed on it?


Actually it's F7 I have on the flash drive and YDL I have on the internal drive, but that is correct -- the YDL system doesn't have ps3rsx installed on it.

The custom YDL 5.0.1 kernel as described (and was previously working) in this post no longer boots. It appears to hang up shortly after kboot. Sorry but I don't have any log / errors to show for it.
Back to top
View user's profile Send private message
taynaron



Joined: 18 Dec 2007
Posts: 3

PostPosted: Wed Dec 19, 2007 3:53 am    Post subject: Reply with quote

dmesg gives, among a bunch of seemingly unrelated stuff:
Code:

[   47.693674] PS3 sound started. start_delay=2000ms
[   47.693681]  <- ps3_system_bus_probe:376: ioc0_02
[   47.693713]  <- ps3_system_bus_driver_register:767: snd_ps3
[   48.897242] loop: module loaded
[   49.178199] ps3rsx: no version for "struct_module" found: kernel tainted.
[   49.179061] ps3rsx: PS3 RSX access module, 1.0.0
[   49.179081] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[   49.179104] ps3rsx: lv1_gpu_memory_allocate failed: -17
[   49.179306] Unable to handle kernel paging request for data at address 0x00000000
[   49.179592] Faulting instruction address: 0xc0000000001f4b9c
[   49.179796] Oops: Kernel access of bad area, sig: 11 [#1]
[   49.179985] SMP NR_CPUS=32 NUMA PS3
[   49.180138] Modules linked in: ps3rsx(F) loop snd_ps3 snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc af_packet snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device joydev snd usb_storage ide_core ps3flash hci_usb bluetooth xpad libusual sg soundcore usbhid hid sr_mod cdrom ps3_gelic evdev ext3 jbd mbcache ehci_hcd ohci_hcd usbcore ps3rom scsi_mod ps3disk ps3stor_lib windfarm_smu_sat windfarm_pid windfarm_max6690_sensor windfarm_lm75_sensor windfarm_cpufreq_clamp windfarm_core fuse apparmor commoncap
[   49.182426] NIP: c0000000001f4b9c LR: d0000000002381c8 CTR: c0000000001f4b70
[   49.188245] REGS: c0006c00c62e3820 TRAP: 0300   Tainted: GF       (2.6.22-14-cell)
[   49.193679] MSR: 8000000000008032 <EE,IR,DR>  CR: 24024422  XER: 00000000
[   49.199440] DAR: 0000000000000000, DSISR: 0000000040000000
[   49.202457] TASK = c00000000267a7a0[3169] 'modprobe' THREAD: c0006c00c62e0000 CPU: 0
[   49.205619] GPR00: d0000000002381c8 c0006c00c62e3aa0 c00000000060dec8 0000000000000000
[   49.211989] GPR04: 0000000000000001 0000000000000001 0000000000000000 c0000000073a7530
[   49.218433] GPR08: c0000000009ab0e0 c0000000005722a0 0000000000009e6d c0000000001f4b70
[   49.224981] GPR12: d000000000238f08 c00000000055ec80 d0000000002344c8 aaaaaaaaaaaaaaab
[   49.231672] GPR16: d000000000234508 0000000000000000 0000000000000061 0000000000000061
[   49.238422] GPR20: d0000000002398d8 0000000000000000 000000000000001e d000000000233cda
[   49.245171] GPR24: d000000000231000 0000000000000001 4000000000000000 c0000000006b8350
[   49.251894] GPR28: d00000000023be58 c000000002640000 c0000000005ab548 0000000000000000
[   49.261905] NIP [c0000000001f4b9c] .unregister_framebuffer+0x2c/0xf0
[   49.265330] LR [d0000000002381c8] .cleanup_ps3rsx+0x68/0xd0 [ps3rsx]
[   49.268745] Call Trace:
[   49.272087] [c0006c00c62e3aa0] [393130345d200040] 0x393130345d200040 (unreliable)
[   49.278800] [c0006c00c62e3b50] [d0000000002381c8] .cleanup_ps3rsx+0x68/0xd0 [ps3rsx]
[   49.285582] [c0006c00c62e3bd0] [d000000000238e04] ._ps3rsx_init+0x264/0x878 [ps3rsx]
[   49.292423] [c0006c00c62e3c80] [c0000000000b3f5c] .sys_init_module+0x20c/0x1960
[   49.299238] [c0006c00c62e3e30] [c0000000000086b4] syscall_exit+0x0/0x40


Xorg.0.conf gives:
Code:

(II) Loading extension RECORD
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
   compiled for 1.3.0, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
   compiled for 1.3.0, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.7
(EE) No drivers available.

Fatal server error:
no screens found



Is this what you were looking for?
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Wed Dec 19, 2007 5:47 am    Post subject: Reply with quote

taynaron wrote:
dmesg gives, among a bunch of seemingly unrelated stuff:
Code:

[   47.693674] PS3 sound started. start_delay=2000ms
[   47.693681]  <- ps3_system_bus_probe:376: ioc0_02
[   47.693713]  <- ps3_system_bus_driver_register:767: snd_ps3
[   48.897242] loop: module loaded
[   49.178199] ps3rsx: no version for "struct_module" found: kernel tainted.
[   49.179061] ps3rsx: PS3 RSX access module, 1.0.0
[   49.179081] ps3rsx: reserved XDR memory is @c000000000900000, len 18874368
[   49.179104] ps3rsx: lv1_gpu_memory_allocate failed: -17
[   49.179306] Unable to handle kernel paging request for data at address 0x00000000
[   49.179592] Faulting instruction address: 0xc0000000001f4b9c
[   49.179796] Oops: Kernel access of bad area, sig: 11 [#1]
[   49.179985] SMP NR_CPUS=32 NUMA PS3
[   49.180138] Modules linked in: ps3rsx(F) loop snd_ps3 snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc af_packet snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device joydev snd usb_storage ide_core ps3flash hci_usb bluetooth xpad libusual sg soundcore usbhid hid sr_mod cdrom ps3_gelic evdev ext3 jbd mbcache ehci_hcd ohci_hcd usbcore ps3rom scsi_mod ps3disk ps3stor_lib windfarm_smu_sat windfarm_pid windfarm_max6690_sensor windfarm_lm75_sensor windfarm_cpufreq_clamp windfarm_core fuse apparmor commoncap
[   49.182426] NIP: c0000000001f4b9c LR: d0000000002381c8 CTR: c0000000001f4b70
[   49.188245] REGS: c0006c00c62e3820 TRAP: 0300   Tainted: GF       (2.6.22-14-cell)
[   49.193679] MSR: 8000000000008032 <EE,IR,DR>  CR: 24024422  XER: 00000000
[   49.199440] DAR: 0000000000000000, DSISR: 0000000040000000
[   49.202457] TASK = c00000000267a7a0[3169] 'modprobe' THREAD: c0006c00c62e0000 CPU: 0
[   49.205619] GPR00: d0000000002381c8 c0006c00c62e3aa0 c00000000060dec8 0000000000000000
[   49.211989] GPR04: 0000000000000001 0000000000000001 0000000000000000 c0000000073a7530
[   49.218433] GPR08: c0000000009ab0e0 c0000000005722a0 0000000000009e6d c0000000001f4b70
[   49.224981] GPR12: d000000000238f08 c00000000055ec80 d0000000002344c8 aaaaaaaaaaaaaaab
[   49.231672] GPR16: d000000000234508 0000000000000000 0000000000000061 0000000000000061
[   49.238422] GPR20: d0000000002398d8 0000000000000000 000000000000001e d000000000233cda
[   49.245171] GPR24: d000000000231000 0000000000000001 4000000000000000 c0000000006b8350
[   49.251894] GPR28: d00000000023be58 c000000002640000 c0000000005ab548 0000000000000000
[   49.261905] NIP [c0000000001f4b9c] .unregister_framebuffer+0x2c/0xf0
[   49.265330] LR [d0000000002381c8] .cleanup_ps3rsx+0x68/0xd0 [ps3rsx]
[   49.268745] Call Trace:
[   49.272087] [c0006c00c62e3aa0] [393130345d200040] 0x393130345d200040 (unreliable)
[   49.278800] [c0006c00c62e3b50] [d0000000002381c8] .cleanup_ps3rsx+0x68/0xd0 [ps3rsx]
[   49.285582] [c0006c00c62e3bd0] [d000000000238e04] ._ps3rsx_init+0x264/0x878 [ps3rsx]
[   49.292423] [c0006c00c62e3c80] [c0000000000b3f5c] .sys_init_module+0x20c/0x1960
[   49.299238] [c0006c00c62e3e30] [c0000000000086b4] syscall_exit+0x0/0x40


Xorg.0.conf gives:
Code:

(II) Loading extension RECORD
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
   compiled for 1.3.0, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
   compiled for 1.3.0, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.7
(EE) No drivers available.

Fatal server error:
no screens found



Is this what you were looking for?


It seems you have updated to 2.10 firmware. The ps3rsx kernel modules fails to init.

You have to switch back to the std fb driver (dpkg -r ps3rsx) and revert your changes in xorg.conf, or you can help IronPeter & Glaurung :)

Regards
Back to top
View user's profile Send private message
anthraxx



Joined: 11 Nov 2007
Posts: 27

PostPosted: Wed Dec 19, 2007 7:15 am    Post subject: Reply with quote

some suggestions for d-ranges tutorial:

3) emerge dtc:
a typo:
Quote:
< echo "=sys-apps/dtc-1.0.0 ~ppc" >> /etc/portage.package.keywords
> echo "=sys-apps/dtc-1.0.0 ~ppc" >> /etc/portage/package.keywords

and i had to "emerge --sync" first.

6) build the kernel using genkernel.
i had to do a
Quote:
touch /usr/include/asm/page.h


else, some libbb could not be compiled. genkernel exits with error, and the new kernel is not installed properly.

kboot
and i have the standard kboot from gentoo, and used this line in kboot.conf:
Quote:
gentoo2='sda1:/boot/kernel-genkernel-ppc64-2.6.23 initrd=sda1:/boot/initramfs-genkernel-ppc64-2.6.23 root=/dev/ram0 real_root=/dev/ps3da1 init=/linuxrc video=ps3fb:mode:131 rhgb'

note: my kboot uses old sda1 notation, the new kernel the "ps3da1" one

and:
1) emerge git with http support:

Quote:
< # USE="curl" emerge git
> # USE="curl" emerge dev-util/git


because there's another "git" in app-misc/

conclusion

I used mplayer and freevo, all movie files i tried played fine. cool :-)


i forgot: freevo and X crashed when i switched from X to console and back again. so dont do that :)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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


Powered by phpBB © 2001, 2005 phpBB Group