RP 2, 3.5" PiTFT - auto startx issue

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
sonic78
 
Posts: 2
Joined: Thu Mar 05, 2015 5:56 pm

RP 2, 3.5" PiTFT - auto startx issue

Post by sonic78 »

On a clean rasbian install (RP 2) I followed the new instructions to install the 3.5" PiTFT drivers. This all went fine. I selected the option to always display the console.

When ssh-ed into the box I can successfully start X Server by running

Code: Select all

export FRAMEBUFFER=/dev/fb1
startx
However if I set always start GUI via raspi-config, the system boots and I see the console, then it blanks and I see a blank screen with a solid cursor in top corner. FRAMEBUFFER wasn't in my env vars before I export it so it's not over writing anything.

I tried to set FRAMEBUFFER in /etc/profile to see if it'd make a difference bit it didn't.

What am I missing? I just want the pi to always boot to the GUI.

Thanks for any help.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: RP 2, 3.5" PiTFT - auto startx issue

Post by adafruit_support_mike »

Try these instructions from the resistive PiTFT tutorial:
https://learn.adafruit.com/adafruit-pit ... s-on-pitft

They'll work the same for any version or kind of touchscreen.

User avatar
jlayhue
 
Posts: 4
Joined: Thu Jan 29, 2015 11:52 am

Re: RP 2, 3.5" PiTFT - auto startx issue

Post by jlayhue »

Mike, those instructions worked great for me. The missing piece was adding the new "/usr/share/X11/xorg.conf.d/99-pitft.conf" file. Thanks!

User avatar
jayanty10
 
Posts: 2
Joined: Fri Feb 28, 2014 7:19 pm

Re: RP 2, 3.5" PiTFT - auto startx issue

Post by jayanty10 »

I seem to be facing the same problem. I followed all the instructions so that the GUI altostratus and sends output to the TFT screen including creating the file /usr/share/X11/xorg.conf.d/99-pitft.conf

Unfortunately, when I auto start X the TFT screen goes blank. If i attempt startx manually from the console or an SSH session then X starts up normally and output is redirected to the TFT.

Not sure what I should be looking at to debug.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: RP 2, 3.5" PiTFT - auto startx issue

Post by adafruit_support_mike »

Post the contents of your 99-pitft.conf file and we'll make sure it has all the information it needs.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”