Search found 269 matches

by PeDe
Fri Dec 12, 2025 3:15 pm
Forum: Bugs - Linux
Topic: [PB 6.30b5] ProgramExitCode() seemingly fails -1 randomly
Replies: 2
Views: 46

Re: [PB 6.30b5] ProgramExitCode() seemingly fails -1 randomly

PB v6.30b5 arm64, Raspberry Pi OS (Trixie), P500

Aborted with -1 after 1300 runs. Then I inserted a delay(100) into the repeat loop, and the code aborted after 8752 runs.

Peter
by PeDe
Fri Dec 12, 2025 12:09 pm
Forum: Bugs - 3D Engine
Topic: PB 6.xx Raspberry 3DEngine mouse not work
Replies: 1
Views: 42

Re: PB 6.xx Raspberry 3DEngine mouse not work

The same problem and solution with:

examples/3d/ScreenGadgetMultipleWindow.pb

PB v6.30b5 x64
Linux Mint 22.2, Cinnamon 6.4.8, X11
Kernel: 6.8.0-88-generic
CPU: Intel Celeron© CPU J1900 @ 1.99GHz × 4
Graphics: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display

Peter
by PeDe
Fri Dec 12, 2025 5:39 am
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

Re: RaspPi - Mouse does not work with the 3D demos

I don't see the sprite with InitEngine3D() in any of the examples.
The mouse pointer works with the tip from mk-soft and DesktopMouseX(). I only see the debug output, which looks fine.

Peter
by PeDe
Thu Dec 11, 2025 9:14 pm
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

Re: RaspPi - Mouse does not work with the 3D demos

This example outputs exactly 60 frames per second, and the mouse pointer works normally.
If the first line is used, the sprite is not displayed. There are also 60 frames, but the mouse pointer can no longer be moved properly.

Peter


; Debug "InitEngine3D: " + InitEngine3D()
Debug "InitSprite ...
by PeDe
Thu Dec 11, 2025 8:39 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

The output is: 986

Peter
by PeDe
Thu Dec 11, 2025 7:27 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report


@PeDe
- Regarding the mouse, I have the impression that FlipBuffers() does not wait for screen synchronization.
Can you measure the frame rate?


The system or graphics can only display 60 frames per second. If more frames were possible but are limited to 60, the mouse pointer does not work or ...
by PeDe
Thu Dec 11, 2025 4:34 pm
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

RaspPi - Mouse does not work with the 3D demos

PB v6.30b5 arm64, Raspberry Pi OS (Trixie, Wayland), P500

The mouse does not work with the 3D demos. Only occasionally can you see that something moves briefly. I have tested various mice with cables, wireless, Bluetooth, but none of them work.

With a slower P400 and 32-bit OS, the mouse works a ...
by PeDe
Thu Dec 11, 2025 2:36 pm
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 212

Re: HID Descriptor Tool

Thanks for the code. I added it at the end of pagenames()/pages():


pagenames($FF)="Vendor-defined"
;=========================================================
pages($FF , $00) = "Vendor-defined"


It's not entirely correct; it should be $FF00-$FFFF, but it works with my HID adapter.

Peter
by PeDe
Wed Dec 10, 2025 5:30 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report


@PeDe
I think it's a Linux-specific bug.
Try this example:


The example doesn't work either. The mouse pointer only moves a few pixels at a time. The CPU is constantly at 50% capacity.
It's probably just bad luck with a PC that's over 10 years old.

System:
Linux Mint 22.2, Cinnamon 6.4.8, X11 ...
by PeDe
Tue Dec 09, 2025 1:31 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report


Can you try this? Hold down your altgr or the modifier key you need to type the character, press the button for the character, release it, release the modifier button. It is not a good behavior though, but I think the PB KeyboardInkey() command is the culprit.


No, that doesn't work.
For example ...
by PeDe
Tue Dec 09, 2025 1:25 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

PB v6.30b5 x64, Linux Mint 22.2, Intel J1900 CPU with integrated graphics

The mouse pointer can only be moved very slowly, almost only a few pixels at a time.
When I insert the procedure ‘SetFrameRate(60)’, the mouse pointer works normally, but the CPU (all 4 cores) is then constantly at 90%.

On ...
by PeDe
Tue Dec 09, 2025 12:41 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 34
Views: 2357

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report

PB v6.30b5 arm64, Raspberry Pi OS (Trixie, Wayland)

With a German keyboard, capital letters cannot be entered in StringScreenGadget and EditorScreenGadget. Umlauts such as ‘ÄÖÜäöü’ and special characters such as ‘$°^µ€’ cannot be entered.

Example used for input:
examples/3d ...
by PeDe
Sat Dec 06, 2025 12:09 pm
Forum: Coding Questions
Topic: Canvas size inside a container
Replies: 4
Views: 219

Re: Canvas size inside a container

PB v6.30b4 arm64, Raspberry Pi OS (Trixie, Wayland)

The green and red lines are still visible at:
Container_Borderless: 299, 199
all others, they all look the same: 297, 197

Peter
by PeDe
Fri Dec 05, 2025 1:53 pm
Forum: Raspberry PI
Topic: PBv6.30b4 - The IDE closes when an open file is overwritten.
Replies: 3
Views: 219

Re: PBv6.30b4 - The IDE closes when an open file is overwritten.

Thanks for testing.
It is a logical error that occurs in the procedure ‘SourceManagement.pb->SaveSourceAs()’. It should therefore affect all PB versions, regardless of the operating system.
I have changed the IDE code for a test, and everything is currently working.

Peter


If DeleteCurrent ...
by PeDe
Thu Dec 04, 2025 8:02 pm
Forum: Raspberry PI
Topic: PBv6.30b4 - The IDE closes when an open file is overwritten.
Replies: 3
Views: 219

Re: PBv6.30b4 - The IDE closes when an open file is overwritten.

The IDE crashes when:

[19:57:19] [ERROR] SourceManagement.pb (Line: 2465)
[19:57:19] [ERROR] DeleteElement(): Cannot delete a pushed current element.


If DeleteCurrent
Index = ListIndex(FileList())
If Index = 0
DeleteElement(FileList())
FirstElement(FileList())
Else
DeleteElement(FileList ...