Skip to main content

Questions tagged [framebuffer]

In general a framebuffer is a graphic hardware-independent abstraction layer used to display output to a monitor or display.

framebuffer
0 votes
0 answers
8 views

Why are textures warping after I switch computers?

I had been on a trip for a while, and I worked on my opengl project on my laptop while I was gone. When I got back a couple days ago, I decided to start working on it again, but this time on my main ...
elisosceles's user avatar
0 votes
1 answer
18 views

D3D11 How to properly copy from swap_chain/render target

I've been trying to write a function that simply takes the backbuffer/framebuffer and saves its contents to a file. internal unsigned char *r_get_backbuffer(Arena *arena, GFX_Window *window, int width,...
Zermil's user avatar
  • 1
0 votes
1 answer
31 views

Lvgl Overlay - Element on transparent screen

I have a simple lvgl example which runs on an embedded device. It should work like an Overlay on top of an existing image. In this case, I only want to render the text of the label thus the label and ...
hypnomaki's user avatar
  • 604
0 votes
0 answers
35 views

SDL-GPU Rendering to texture results in rough edges

I have a texture and I render a circle to it using SDL-GPU, then I render this texture to the window: #include "SDL2/SDL.h" #include "SDL2/SDL_gpu.h" int main() { if (SDL_Init(...
uselessguy's user avatar
0 votes
1 answer
63 views

OpenGL: Render Framebuffer into Framebuffer

I am currently working on a c++ program using OpenXR with OpenGL. I managed to render everything that I wanted into VR. I have one framebuffer per eye, and then 3 more for layers (crosshair/menu) ...
dings's user avatar
  • 1
1 vote
1 answer
36 views

can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux?

can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux? constraints: need to use single plane and single framebuffer what I already ...
sai teja reddy's user avatar
0 votes
0 answers
58 views

Program using framebuffer killed on Ubuntu 18.04 but works on Ubuntu 22.04

I'm currently developing a program that interacts with the framebuffer. The program works perfectly on Ubuntu 22.04, but it gets killed with the message "killed" on Ubuntu 18.04. Here is the ...
Dongju Park's user avatar
0 votes
0 answers
35 views

Displaying a Video with Raspberry and OpenCV problems with Framebuffer

I am pretty new in this forum, so sorry in advance if I don't know some etiquette ;) I want to loop two videos on two screens and they have to be in perfect sync. I am following this person's approach:...
user25378595's user avatar
0 votes
1 answer
47 views

Using Depth FBO for shadow map causes weird behaviour

I am using Silk.Net for OpenGL interfacing, loading .obj files for model and material data. Everything works as I would want it, and tried to add Shadow Mapping to the whole thing (following ...
CodeForFun's user avatar
0 votes
1 answer
103 views

Android Kernel module to modify the Framebuffer

I am in search of a tutorial or guidance on how to access the framebuffer (fb0) from an Android device and modify specific pixel columns. From my research, it seems this can be achieved by creating a ...
dhan's user avatar
  • 63
0 votes
0 answers
89 views

Building an Virtual Camera that Receives frames with RTP

I litle interduction to my Project so i have an virtual camera that i build with Directshow, Works how t supposed to work, then i installed an external library uvgRTP and made the code so i receive ...
Ajdin Jusic's user avatar
0 votes
0 answers
38 views

What happens when rendering an OpenGL buffer that has been padded with NULL (or another value)?

I have the following setup: S - the scene that includes terrain, some houses and other man-made objects T - a set of tree configurations that I would like to iterate through and place in S. Every ...
rbaleksandar's user avatar
  • 9,334
0 votes
1 answer
61 views

glBlitFramebuffer - glReadBuffer and glDrawBuffer refer to the same buffer

Just for learning purposes I test what happens when I call glBlitFramebuffer when glReadBuffer and glDrawBuffer refer to the same buffer. The custom framebuffer is defined this way: bool initFBO() { ...
Irbis's user avatar
  • 1,377
0 votes
1 answer
77 views

My embedded application doesn't receive keyboard events (Linux framebuffer/Qt+QML application/systemd service/VNC server)

I need to remotely control a Qt / QML application on an embedded ARM instrument. I intended to do that using VNC. This doesn't work. An USB keyboard plugged in the instrument doesn't work either. NB: ...
Jean-Loup Sabatier's user avatar
0 votes
1 answer
49 views

Default render color vector for fragment shader when using a frame buffer with multiple attachment?

ChatGPT insists that when using a framebuffer and attaching multiple draw buffers, the 0-indexed one will be the one that when you write to in the shader, it will be rendered on the canvas. However I ...
Yuval A.'s user avatar
  • 6,049
0 votes
0 answers
84 views

RPI Pico put PNG in Framebuffer

I have a Raspberry pi pico w with a PNG file on it and i am wondering if its possible to put this PNG file inside a framebuffer. I already createt a framebuffer with color565 and I can work with it, ...
Buldes's user avatar
  • 1
0 votes
0 answers
56 views

Can we have graphical server on ttyS*

I have a "c5.2xlarge" AWS EC2 instance running an application. Upon system starting, we perform some initial setup. This starter page uses JavaScript and QT for its application. We also use ...
shiv chittora's user avatar
0 votes
0 answers
52 views

android openGL ES blur effect gives line on screen

I am trying to implement a post-processing blur effect on a map drawn using openGL on my android app project. What I try to do is render my map in a texture, then render the texture on screen using a ...
Krapow's user avatar
  • 641
0 votes
2 answers
376 views

Proper way to read from a texture in a compute shader which uses a storage texture

I've been searching for different resources and it seems to not be possible to read from a storage texture and then write back to it. That's why I've tried to use 2 separate textures: one as ...
Ustym Ukhman's user avatar
1 vote
2 answers
503 views

Linux simple-framebuffer is not detected by kernel

I'm trying to get the simple-framebuffer working in Linux, so that I can use a region in System RAM as a framebuffer. I'm running Linux kernel v5.10.7 on a RISC-V system. So far, I have enabled ...
Mr._Potato's user avatar
0 votes
1 answer
73 views

Inconsistent in results of Python and C programs while getting info about FrameBuffer in Ubuntu

So, I want to call ioctl FBIOGET_FSCREENINFO and get result. I have fbset (fbset - show and modify frame buffer device settings) result as source of truth. result of C code match with fbset. Result of ...
Bravo13's user avatar
0 votes
0 answers
107 views

value error when creating an instance of framebuf.FrameBuffer in MicroPython

This is a problem with the width argument, and the program will only work correctly if it has a specified value between one and eight, otherwise it will display a ValueError: error with no explanation....
AmirMohammad Poresmi's user avatar
0 votes
1 answer
279 views

Creating a window just to get its framebuffer?

I've been writing this small ray-tracing engine in C/C++, and so far I've got basic functionality, where the finished image gets written to an image. However, I want to be able to create a window and ...
Matthew G.'s user avatar
1 vote
1 answer
23 views

Unwanted cursor with Java2D drawing directly to framebuffer

The environment is Java 11 on a Raspberry Pi 3B+ with a 3.5" touchscreen. The program writes directly to the framebuffer with the aid of Thomas Welsch's JavaFrameBuffer JNI support. Things work ...
sodastream's user avatar
-1 votes
1 answer
70 views

Fragment Shader Multiple Output and Reading from FrameBuffer Object Issue

I have 2 outputs in fragment shader first one's output color (RGBA) and the second one's is a number which will serve as an id but I try to read it from frameBuffer it always returns 0. The way how I ...
newCoder's user avatar
-1 votes
1 answer
266 views

How to stream the Transparency image on framebuffer using gstreamer command

I am working on the custom project which having mixer output. Mixer output having one frame buffer input for background image, i want to filter out the green color on the image and make it ...
Anuradha's user avatar
2 votes
1 answer
569 views

Copying frames from camera (/dev/video0) to framebuffer (/dev/fb0) gives unexpected result

I have been trying to show frame from raspberry camera to screen with near best performance, and after research I found that the best way could be to use V4L2 library to directly communicate to ...
Veljko Miletic's user avatar
0 votes
0 answers
28 views

Setting MMAL_ENCODER to RGBA or BGRA gives same color output

I am trying to take frame from camera and copy it to framebuffer to show it to the screen. But, my output seems to mix R and B color... Here is code for setting output format: format = video_port->...
Veljko Miletic's user avatar
0 votes
1 answer
54 views

Using frame buffers with Scene2D

I've been having some trouble with a custom Scene2D actor whose draw method uses a FrameBuffer. The original idea was to draw to the FrameBuffer with one shader and then draw the contents of the ...
John's user avatar
  • 13
0 votes
0 answers
122 views

Drawing to screen and keeping image intact while using dialog

I am running on Raspbian (Debian 11) lite, with CLI only. I use a bash script with dialog to navigate a menu and perform bash actions. I would like to "mimic" the Raspbian start screen, when ...
Kevitto's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
39