Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to activate xrandr on a rapsberrypi to run SFML ???  (Read 7208 times)

0 Members and 1 Guest are viewing this topic.

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #15 on: June 05, 2014, 11:34:56 am »
I'm just wandering if it'll work with SDL on a rapsberry pi.

If yes I think I'll use SDL rather than SFML for the "windowing".

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #16 on: June 05, 2014, 11:42:04 am »
That's a question for the SDL forums...
Laurent Gomila - SFML developer

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #17 on: June 05, 2014, 01:32:11 pm »
It works with SDL. :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #18 on: June 05, 2014, 01:37:59 pm »
Good for you. You should switch your entire codebase to SDL, it works much better than SFML.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #19 on: June 05, 2014, 02:08:49 pm »
You know, if you had spent anytime looking at the issue tracker or well understood the current dependencies, you'd have seen that Xinerama isn't supported.

Just don't get any stupid ideas to post your SDL problems here, ok? Good.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: How to activate xrandr on a rapsberrypi to run SFML ???
« Reply #20 on: June 05, 2014, 02:45:25 pm »
It's not about Xinerama alone. I've read a bit about this recently as well and as far as I know now, the Pi doesn't have any hardware acceleration in/through X11 (probably the reason for the crashes/issues). Instead, you'd have to get an OpenGL (ES) context using other means (don't remember specifics right now), which would cause the hardware accelerated context to run "on top" of the X desktop. This would have to be implemented into SFML first. There's no way to use SFML's window/graphics modules right now out of the box.

 

anything