PINE64
freeglut3 on the PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: freeglut3 on the PinePhone (/showthread.php?tid=13364)



freeglut3 on the PinePhone - Samuel Venable - 03-10-2021

I wrote a simple panorama viewer specifically to be run on KDE Plasma Mobile.

https://github.com/time-killer-games/panoview

It works on all platforms I tested on except Plasma Mobile. 

All I get after selecting an image is a white screen. Works on the PineBook Pro. Not sure what's going wrong.

Uses freeglut / glx / OpenGL ES. I have a Embedded System script for this in specific.

Build Dependencies:

sudo apt-get install libsdl2-dev libglu1-mesa-dev libgl1-mesa-glx freeglut3-dev mesa-common-dev libpthread-stubs0-dev libx11-dev libprocps-dev kdialog zenity

If someone could help me figure out why it's not displaying properly I'd really appreciate it.

Thanks!
Samuel


RE: freeglut3 on the PinePhone - nas - 03-10-2021

Don't have manjaro/kde to test but I gave it a try on mobian phosh.

It loads up the file picker and then shows black screen after making a selection. If I swap back to the terminal window and back again, the image appears and pans with touch.

Code:
Window ID: 10485762
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
Texel Clicked: 2,1024
Texel Clicked: 2000,778
Texel Clicked: 2000,778