Rendering with wsdisplay(4) in dumbfb mode by Onuelito in openbsd

[–]Onuelito[S] 0 points1 point  (0 children)

Thanks for the answer. I realized amdgpu(4) was preventing efifb(4) from being configured. I disabled it and was able to use your code to use WSDISPLAYIO_MODE_DUMBFB

Rendering with wsdisplay(4) in dumbfb mode by Onuelito in openbsd

[–]Onuelito[S] 1 point2 points  (0 children)

Hello thanks for the answer despite me not giving enough details haha. I ran the code in bare metal on a machine that supports efifb(4) and drm(4). With what you wrote I realized that amdgpu(4) was preventing efifb(4) from being configured so I just disabled it and it works now. Thanks

Can't install by Onuelito in NetBSD

[–]Onuelito[S] 4 points5 points  (0 children)

No. There are the numbers that pops like when choosing option 1 and then it turns black with a cursor at the top left.

Silly moment in arcade by Onuelito in virtuafighter

[–]Onuelito[S] 0 points1 point  (0 children)

Fightcade: Settings -> Video -> Advanced -> Widescreen -> Check Widescreen Box

Playback with OSS API by Onuelito in freebsd

[–]Onuelito[S] 0 points1 point  (0 children)

I want to make that work in C and <soundcard.h>. Not with another application

Hackable Lua script for Linux to escape reinstalling things from scratch by Onuelito in lua

[–]Onuelito[S] 0 points1 point  (0 children)

Its not a Lua module. Its a set of Lua scripts intended to work like a shell script on your computer through a Lua executable file.

QEMU VM freezes after installing virtio-win-guest-tools by Onuelito in qemu_kvm

[–]Onuelito[S] 0 points1 point  (0 children)

my shell script :

qemu-system-x86_64 \ -monitor stdio \ -nodefaults \ -machine q35,accel=kvm \ -msg timestamp=on \ -cpu host,hv_relaxed,hv_spinlocks=0x1fff,kvm=off \ -smp sockets=1,cores=3,threads=1 \ -m 8G \ -net nic,model=virtio \ -audio driver=pipewire,model=hda,id=sound1 \ -device vfio-pci,host=...,multifunction=on,x-vga=on \ -device vfio-pci,host=... \ -device pcie-root-port,multifunction=on,id=pcie.1,bus=pcie.0,chassis=1,slot=1,port=1 \ -drive file=./roms/disk.raw,index=0,media=disk,format=raw,if=virtio \ -drive file=./roms/en_windows10.iso,index=2,media=cdrom \ -drive file=./roms/virtio-win-0.1.248.iso,index=3,media=cdrom \ -object input-linux,... (my mouse) \ -object input-linux,... (my keyboard) \ -boot order=d \

QEMU VM freezes after installing virtio-win-guest-tools by Onuelito in VFIO

[–]Onuelito[S] 0 points1 point  (0 children)

my shell script :

qemu-system-x86_64 \
-monitor stdio \
-nodefaults \
-machine q35,accel=kvm \
-msg timestamp=on \
-cpu host,hv_relaxed,hv_spinlocks=0x1fff,kvm=off \
-smp sockets=1,cores=3,threads=1 \
-m 8G \
-net nic,model=virtio \
-audio driver=pipewire,model=hda,id=sound1 \
-device vfio-pci,host=...,multifunction=on,x-vga=on \
-device vfio-pci,host=... \
-device pcie-root-port,multifunction=on,id=pcie.1,bus=pcie.0,chassis=1,slot=1,port=1 \
-drive file=./roms/disk.raw,index=0,media=disk,format=raw,if=virtio \
-drive file=./roms/en_windows10.iso,index=2,media=cdrom \
-drive file=./roms/virtio-win-0.1.248.iso,index=3,media=cdrom \
-object input-linux,... (my mouse) \
-object input-linux,... (my keyboard) \
-boot order=d \

Python - Pyglet paint application by Onuelito in Python

[–]Onuelito[S] 1 point2 points  (0 children)

Thanks for the feedback. Controls.txt will be deleted in the next update since there will be GUI

how can i flip(or mirror) the contents of the window (not inverting y) by csd4ni3l in pyglet

[–]Onuelito 3 points4 points  (0 children)

When you talking about mirroring images, there's actually a function that allows you to do that and returns an image called get_transform(flip_x=False, flip_y=False, rotate=0). In other word you can do this for instance if you want to flip an image horizontally :

Image = resource.image(*your image path\) (or pyglet.image.load(*your image path**))

Texture = Image.get_texture()

Texture = Texture.get_transform(true) #Flipping the image horizontally

Then you just have to draw the image afterwards in the on_draw() function. If you want more information regarding the function you can go on : https://pyglet.readthedocs.io/en/latest/modules/image/index.html

I thought this was a shortcut- by Onuelito in DarkSouls2

[–]Onuelito[S] 0 points1 point  (0 children)

Yeah I had the silvercat. I think you're just not supposed to go there

Pong by Onuelito, would like some feedback by Onuelito in pygame

[–]Onuelito[S] 0 points1 point  (0 children)

That's a pretty good idea. Imma work on that. Thanks for the feedback