Results 1 to 8 of 8

Thread: Porting Mesa to the Playstation 2

  1. #1
    Join Date
    Jul 2014
    Posts
    4

    Default Porting Mesa to the Playstation 2

    Hi,

    I would like to port mesa to a new platform, or actually a very old platform: the Playstation 2. Linux support is still being worked on and I would like to get OpenGL working, since that is what the platform should do best ;-).

    What limits the ps2 is its 32MB of RAM. So I would like to use MESA without X, with EGL. Start simple, with software rendering, then try to get the rasterization hardware accelerated. But there are so many driver models and options to choose from! Like swrast, softpipe and llvm. Then there is Gallium, DRI, DDX, etc, etc... it's all a bit much and confusing.

    Currently there is a classic framebuffer driver in the kernel for the ps2 (no KMS).

    My questions are:
    - What is possible for using software rendering without X, with only FB driver?
    - What would be a good upgrade path towards hw rasterization? Mesa DRI driver + kernel DRM driver?
    - Do I need to make a KMS driver?

  2. #2

    Default

    You may want to contact this list: http://lists.freedesktop.org/mailman/listinfo/mesa-dev where there are mesa developers.

  3. #3
    Join Date
    Jul 2014
    Posts
    4

    Default

    I already tried there but was unable to post messages. I probably have to register? Will go back there and give it another try. Thanks.

  4. #4

    Default

    Quote Originally Posted by Maximus32 View Post
    I already tried there but was unable to post messages. I probably have to register? Will go back there and give it another try. Thanks.
    Yes, you need to subscribe to the list. When sending without subscription the message is moderated and may or not be accepted.

  5. #5
    Join Date
    Sep 2006
    Location
    PL
    Posts
    916

    Default

    Quote Originally Posted by Maximus32 View Post
    Hi,

    I would like to port mesa to a new platform, or actually a very old platform: the Playstation 2. Linux support is still being worked on and I would like to get OpenGL working, since that is what the platform should do best ;-).

    What limits the ps2 is its 32MB of RAM. So I would like to use MESA without X, with EGL. Start simple, with software rendering, then try to get the rasterization hardware accelerated. But there are so many driver models and options to choose from! Like swrast, softpipe and llvm. Then there is Gallium, DRI, DDX, etc, etc... it's all a bit much and confusing.

    Currently there is a classic framebuffer driver in the kernel for the ps2 (no KMS).

    My questions are:
    - What is possible for using software rendering without X, with only FB driver?
    - What would be a good upgrade path towards hw rasterization? Mesa DRI driver + kernel DRM driver?
    - Do I need to make a KMS driver?
    ps2 has experimental 2.6 kernel port, but most distros stick with 2.4.21 / 2.4.17.

    I doubt it would be very effective due to memory constraints.

    Best way would be to hack something on top of homebrew ps2sdk environment.

  6. #6
    Join Date
    Jul 2014
    Posts
    4

    Default

    Quote Originally Posted by yoshi314 View Post
    I doubt it would be very effective due to memory constraints.
    I know. That's why I want to leave X out and use EGL. I know 32MB is not much, but why would it not be effective? Please explain.

  7. #7
    Join Date
    Jul 2010
    Posts
    542

    Default

    I think there has been DreamGL once... whatever happened to it?

  8. #8
    Join Date
    Jul 2014
    Posts
    4

    Default

    Quote Originally Posted by log0 View Post
    I think there has been DreamGL once... whatever happened to it?
    All I can find is not for linux but for ps2sdk. But even if it was, I would like to get proper modern support. With kms, drm, and a proper opengl stack (mesa). Not some hack with a minigl driver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •