Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL 1.2.15 #30

Open
rogueturnip opened this issue Nov 16, 2017 · 1 comment
Open

SDL 1.2.15 #30

rogueturnip opened this issue Nov 16, 2017 · 1 comment

Comments

@rogueturnip
Copy link

I'm trying to get PythonOS to install on a Nanopi with a buydisplay lcd. The screen starts up and I get cursor movement but the cursor is stuck in the top right corner.

I did some reading around and it seems pygame has an issue with SDL > 1.2.15-5. I wanted to find out if anyone else has run into this issue and if so was a downgrade what fixed it or a jump to a version of SDL 2?

THanks! Great application here!

@ottoborden
Copy link

ottoborden commented Nov 26, 2017

I haven't tried SDL2 on my setup, but I used this very slightly modified script from Adafruit to get SDL 1.2 on RaspberryPi with Adafruit 2.8 TFT+ and the 'Lite' version of the Adafruit Raspbian Jessie distro.

#!/bin/bash
  
#enable wheezy package sources
echo "deb http://archive.raspbian.org/raspbian wheezy main
" > /etc/apt/sources.list.d/wheezy.list

#set stable as default package source (currently jessie)
echo "APT::Default-release \"jessie\";
" > /etc/apt/apt.conf.d/10defaultRelease

#set the priority for libsdl from wheezy higher then the jessie package
echo "Package: libsdl1.2debian
Pin: release n=jessie
Pin-Priority: -10
Package: libsdl1.2debian
Pin: release n=wheezy
Pin-Priority: 900
" > /etc/apt/preferences.d/libsdl

#install
apt-get update
apt-get -y --force-yes install libsdl1.2debian/wheezy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants