Search found 879 matches

by pik33
Sat Jul 20, 2019 7:38 pm
Forum: Graphics
Topic: OpenGL
Replies: 12
Views: 1948

Re: OpenGL

After a long time torturing my RPi to built this BForartist, I ended with this when I tried to start it:
A graphics card and driver with support for OpenGL 3.3 or higher is required.

How did you run this on RPi?
by pik33
Sat Jul 13, 2019 3:14 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 20392

Re: Window manager

I managed to run a simplest (?) OpenGL ES without X on RPi4. // gcc -o drm-gbm drm-gbm-mod.c -ldrm -lgbm -lEGL -lGL -I/usr/include/libdrm //---------------------------------------------------------------------- //-------- Trying to get OpenGL ES screen on RPi4 without X //-------- based on drm-gbm h...
by pik33
Fri Jul 12, 2019 3:19 pm
Forum: General
Topic: Executing from alternative partitions
Replies: 24
Views: 764

Re: Executing from alternative partitions

gparted works with Pi4. :) As it is now, I have a 64 GB A2 card in it, with 3 partitions: 4GB FAT32, >50GB ext4 for root and 4GB real swap partition. The Ultibo Lazarus copied from RPi3 works (I need to do some apt-get install to make it work, It needed arm-eabi-none stuff. And I had to tell Ultibo ...
by pik33
Fri Jul 12, 2019 9:00 am
Forum: Projects
Topic: Window manager
Replies: 146
Views: 20392

Re: Window manager

OpenGL can work without X on RPi4. What works is

Code: Select all

kmscube -D /dev/dri/card1


Rum this without X from a text concole, it displays a rotating cube.
by pik33
Wed Jul 10, 2019 1:26 pm
Forum: General
Topic: sleep vs threadsleep: what are differences?
Replies: 1
Views: 41

sleep vs threadsleep: what are differences?

We have 2 functions to sleep: sleep and threadsleep - what are differences between them?
by pik33
Wed Jul 10, 2019 6:52 am
Forum: Projects
Topic: Window manager
Replies: 146
Views: 20392

Re: Window manager

The Pi4 looks to be fast enough for bitmapped gaming, at least the simple 2D ones. My screen redrawing procedure which is the heart of the retromachine works in ~2800 microseconds on RPi4 vs ~6000 microseconds on Pi3. The windows compositor gains even more, running in about 3 ms instead of 10..12 m...
by pik33
Tue Jul 09, 2019 1:35 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 20392

Re: Window manager

Update: pjde's icon loader didn't work under Linux. After some tweaking I discovered that this: im.LoadFromfile(fn); works, while this im.LoadFromStream(s); generates an exception ("invalid chunk size" or something similar) So I simply removed this stream and used im.loadfromfile. It works...
by pik33
Tue Jul 09, 2019 12:45 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 20392

Re: Window manager

There is no Ultibo for RPi4 but then there is a Lazarus on its Raspbian. I am now moving the GUI/Retromachine stuff to this environment and today it made a first run RPi4 is FAST. The screen refreshing procedure takes less than 3 microsecond (and the Pi4 is working now at 1830 MHz) - it is about 3 m...
by pik33
Tue Jul 09, 2019 8:50 am
Forum: Discussion
Topic: Tearing when drawing rectangles
Replies: 6
Views: 178

Re: Tearing when drawing rectangles

I am missing sound


Then SimpleAudio can help.

https://github.com/pik33/SimpleAudio
by pik33
Mon Jul 08, 2019 6:33 pm
Forum: Discussion
Topic: Tearing when drawing rectangles
Replies: 6
Views: 178

Re: Tearing when drawing rectangles

The Retromachine is somewhat strange as it uses its own 8-bit offscreen framebuffer which is then translated in real time to 32-bit native RPi framebuffer. All drawing procedures you can find there are my own and they are 8-bit oriented although they can be easy changed to 32 bit. Most of them uses ...

Go to advanced search