Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,669
» Latest member: victor_yeh
» Forum threads: 16,243
» Forum posts: 117,144

Full Statistics

Latest Threads
Wake up Call
Forum: General Discussion on PinePhone
Last Post: zetabeta
5 hours ago
» Replies: 5
» Views: 246
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
Today, 02:25 AM
» Replies: 0
» Views: 59
Second screen mirroring
Forum: General
Last Post: OpalTromp
Yesterday, 09:53 PM
» Replies: 2
» Views: 1,714
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
Yesterday, 08:37 PM
» Replies: 1
» Views: 55
Optimizing Battery Life o...
Forum: General Discussion on PinePhone
Last Post: Kevin Kofler
Yesterday, 08:31 PM
» Replies: 1
» Views: 96
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
Yesterday, 04:13 AM
» Replies: 3
» Views: 292
Has anyone installed Tris...
Forum: General
Last Post: RandB
11-03-2025, 12:08 PM
» Replies: 1
» Views: 2,185
Xen hypervisor on Rock64
Forum: Linux on Rock64
Last Post: darkfader
11-03-2025, 09:25 AM
» Replies: 6
» Views: 9,696
[Article] RISC-V Ox64 BL8...
Forum: General
Last Post: smithjohns
11-03-2025, 12:54 AM
» Replies: 3
» Views: 9,472
Pinetab2s running DanctNI...
Forum: PineTab Software
Last Post: biketool
11-02-2025, 04:45 AM
» Replies: 0
» Views: 106

 
  Mame not launching on Debian
Posted by: bobbyj - 08-23-2016, 08:21 PM - Forum: Game Station Emulation - Replies (10)

When launching mame on my Debian Pine64 I'm getting the following.  Do I need to update the display drivers?

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ALSA lib seq_hw.c:457Sadsnd_seq_hw_open) open /dev/snd/seq failed: Permission denied
OpenGL: VBO not supported
OpenGL: PBO not supported
OpenGL: FBO not supported
X Error of failed request:  GLXBadRenderRequest
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  33
  Current serial number in output stream:  33


  choppy or no video
Posted by: wrongway - 08-23-2016, 07:01 PM - Forum: Debian - Replies (5)

I have a couple of  question as a newbie I might ask something
that has bees answered I didnt see it but first off

  Iam trying to setup a arduino CNC machine I have the IDE arduino
 installed and runnung and flashed the hex file and it is taking g-code
 commands one at a time but I need a g-code sender like
 universial g-code sender but its java base and wont run correct I start it in a terminal
and its start I guest no errors but there is no GUI so I dont know what to do?


next I cant watch netflix and youtube is very choppy and most of my videos wont
play there .avi and mp4 and some mkv


Information Howto: OctoPrint Working on Pine 64
Posted by: chaos_actual125 - 08-23-2016, 01:03 PM - Forum: Debian - Replies (22)

So I've setup a guide on how to setup Octoprint on the Pine64 2gb model. It is kind of lengthy and the only thing I don't have working quite yet is webcam support. But it is coming! 

Pine64 Octoprint setup

1. Download Base Debian Image
2. cd /usr/local/sbin/
3. sudo ./resize_rootfs.sh
4. sudo apt-get update
5. sudo apt-get upgrade
6. sudo reboot now 


****WIFI SETUP****
****use ifconfig to find ip first, then ssh into ethernet ip***
1. sudo nano /etc/network/interfaces
2. add the following:
***comment out
#auto eth0
#iface eth0 inet dhcp
****will get stuck at boot without this when not connected to ethernet
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "YOUR-SSID-HERE"
wpa-psk "YOUR-PASSWORD-HERE"
3. sudo ifup wlan0
4. sudo ifconfig wlan0
5. ping router-ip-here
6. ping google.com
7. sudo service networking restart 
8. sudo reboot now 

****Octoprint Setup Without Webcam****
1. cd ~
2. sudo apt-get install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
3. git clone https://github.com/foosel/OctoPrint.git
4. cd OctoPrint
5. virtualenv venv
6. ./venv/bin/pip install pip --upgrade
7. ./venv/bin/python setup.py install
8. mkdir ~/.octoprint
9. sudo usermod -a -G tty debian
10. sudo usermod -a -G dialout debian

***To Test Octoprint is working
11. ~/OctoPrint/venv/bin/octoprint

***This section allows for starting Octoprint when at boot
12. sudo nano ~/OctoPrint/scripts/octoprint.init
***edit following to:
DAEMON=/home/debian/OctoPrint/venv/bin/octoprint
13. sudo nano ~/Octoprint/scripts/octoprint.default
**edit following to:
OCTOPRINT_USER=debian
DAEMON=/home/debian/OctoPrint/venv/bin/octoprint
14. sudo cp ~/OctoPrint/scripts/octoprint.init /etc/init.d/octoprint
15. sudo chmod +x /etc/init.d/octoprint
16. sudo cp ~/OctoPrint/scripts/octoprint.default /etc/default/octoprint
17. sudo update-rc.d octoprint defaults
18. sudo service octoprint {stop|start|restart}
----You should now be able to boot into octoprint from <PINEIP:5000> from a web browser

***Make everything accessible on port 80
1. sudo apt-get install haproxy
2. sudo nano /etc/haproxy/haproxy.cfg
***add following to bottom
   global
        maxconn 4096
        user haproxy
        group haproxy
        daemon
        log 127.0.0.1 local0 debug

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        option redispatch
        option http-server-close
        option forwardfor
        maxconn 2000
        timeout connect 5s
        timeout client  15min
        timeout server  15min

frontend public
        bind *:80
        use_backend webcam if { path_beg /webcam/ }
        default_backend octoprint

backend octoprint
        reqrep ^([^\ :]*)\ /(.*)     \1\ /\2
        option forwardfor
        server octoprint1 127.0.0.1:5000

backend webcam
        reqrep ^([^\ :]*)\ /webcam/(.*)     \1\ /\2
        server webcam1  127.0.0.1:8080

3. sudo nano /etc/default/haproxy
***add following to bottom
ENABLE=1

4. sudo nano ~/.octoprint/config.yaml
***add following to bottom
server:
host: 127.0.0.1

***This is will now allow you log in to OctoPrint from <PINE64IP>.

TO change that from <PINE64IP> to pine64.local 
1.sudo apt-get update && sudo apt-get install avahi-daemon
2. sudo reboot 
Note: If using Windows PC to log in to pine64.local install Bonjour


  More than one Pine64 - all the same mac address
Posted by: Zhara - 08-23-2016, 09:56 AM - Forum: Linux on Pine A64(+) - Replies (1)

Hi again,

I have more than one pine64 but all have by default the same mac address which caused some headaches because of network problems and outages ... It took a while to find out what the reason is. I had to change the mac address permanently on two of my three pine64 to get it running.

So this is what I did to manage it:

# sudo nano /boot/uEnv.txt

There I changed the "ethaddr" entry and added another "mac_addr" entry:

ethaddr=36:c9:e3:f1:b8:01
mac_addr=36:c9:e3:f1:b8:01

After reboot, all went fine! Hope that helps

#mac_addr
#macaddress
#network_problem


  video
Posted by: george - 08-23-2016, 02:22 AM - Forum: Remix OS - No Replies

hey guys,
i have noticed this problem, the display vids are shaking, and i cant play live stream channels on chrome.
any help is appreciated.


  Portrait mode
Posted by: {-DesT-} - 08-22-2016, 11:26 AM - Forum: Debian - Replies (7)

Hey guys...

Trying to find the answer somewhere in the forum....  need to change the screen orientation to be in portrait mode using HDMI 1080p...


  Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi - Mini Kit
Posted by: pelgrim - 08-22-2016, 08:33 AM - Forum: Enclosures - Replies (1)

https://www.adafruit.com/products/2327

will this work on the the pine64 ?
When stacked, it can control around 900 servos (so they claim)


Sad Shipping returned to China
Posted by: Flips - 08-22-2016, 02:27 AM - Forum: Shipment Related Discussion - No Replies

Hi Guys,

Because of no answer from Pine or tllim I'm posting this in the forum.

Months ago I got this tracking number, but it returned to China?
After some IM with tllim he isn't writing back.

https://track.aftership.com/RI902601807CN
My Kickstarter Support number is 26.480


Can someone help me?


  Car infotainment
Posted by: top3b - 08-22-2016, 01:25 AM - Forum: General Discussion on PINE A64(+) - Replies (1)

Is there anyone that thought to use our Pine as a car infotainment system?
Or only connecting pine through hdmi port?
Regards


Inviato dal mio iPhone utilizzando Tapatalk


Can it be used with the mirroring android function?


Inviato dal mio iPhone utilizzando Tapatalk


  Battery for Pine64
Posted by: steve8939 - 08-21-2016, 06:45 PM - Forum: Accessories - Replies (7)

Hello, has anyone had any luck in powering the Pine64 using a battery? I used a pair of 18650's and a power converter, but it only powers up the down. The converter has a 1 amp rating with a 3 amp burst.