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
90 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
0 votes
0 answers
95 views

QT app flickers after psplash-systemd finishes

I have a linux system created in Yocto running on Raspberry Pi CM4 and I am using psplash utility for splashscreen. During early stage of boot I also launch my qt app (before psplash-systemd is ...
Tomáš Čikel's user avatar
0 votes
0 answers
67 views

Frame Buffer data format explanation

With a frame buffer like this glGenFramebuffers(1, &frameBufferObject); glBindFramebuffer(GL_FRAMEBUFFER, frameBufferObject); glGenTextures(1, &frameBufferTexture); glBindTexture(GL_TEXTURE_2D,...
BackSpace7777777's user avatar
-1 votes
1 answer
97 views

Framebuffer object picking

I am trying to use a frame buffer for object picking and trying to use stbi_write_png to see what i'm rendering as this frame buffer is not going to be rendered to the screen. I want to use unsigned ...
BackSpace7777777's user avatar
0 votes
1 answer
143 views

Framebuffer texture not getting passed to shader and not showing on screen

I'm writing a program that can composite two images through shaders and save the result locally. Simply outputting to the viewport would cut offscreen pixels and I wanted to make it windowless, so I ...
tuberbacon's user avatar
0 votes
1 answer
46 views

What happens when framebuffer is assigned a larger size than the swapchain images in vulkan driver?

I understand this does not respect the spec and warnings will pop from the validation layer, but I tested on my computer and the result seemed fine (basically rendering a larger image to the display ...
wild_donut's user avatar
1 vote
0 answers
259 views

How to render a framebuffer to an ImGui image in OpenTK using ImGui.NET?

I am working on a project using OpenTK and ImGui.NET, and I'm trying to render a framebuffer to an ImGui image. my current code: ` protected override void OnLoad() { base.OnLoad(); FBO = ...
LL302's user avatar
  • 39
0 votes
2 answers
68 views

Error hit when show a cropped JPEG on LCD (ARGB) display

I am trying to crop a big JPEG photo and show it into LCD display in my Linux. I am using libjpeg to decode the photo, and convert the RGB to ARGB to show the cropped part onto the LCD. But the ...
wangt13's user avatar
  • 1,069
0 votes
1 answer
472 views

Cannot find and load fbtft module, even if it was enabled in .config

I've been trying to enable fbtft module on a minimal buildroot image for an Orangepi zero board. I've enabled it under Device Drivers > Graphics Support > Frame Buffer Devices > using make ...
no more sigsegv's user avatar
1 vote
0 answers
242 views

Using framebuffer to draw pixel data from CUDA

I am running CUDA code to calculate colour data for each pixel in OpenGL, which I store in a buffer object. I need to display this data on the screen. I decided to create a texture from the data and ...
user avatar
0 votes
0 answers
251 views

Linux tcgetattr followed by tcsetattr not working

I need to save the terminal attributes (tcgetattr), set them to something that will block terminal echoing etc. (calling tcsetattr), and then later, after doing things with the framebuffer device /dev/...
s_question's user avatar
0 votes
1 answer
220 views

Stitch images together in WebGL using a framebuffer

This is something of a follow-up to my question Draw textures to canvas async / in sequence deletes old textures, but with a different approach recommended to me by a friend. I am just learning WebGL,...
Seth Lutske's user avatar
  • 10.3k
1 vote
2 answers
897 views

Draw to different linux framebuffers with Python?

I would like to draw on a non-standard linux frame buffer with python. I have a Odroid C4 SBC running Ubuntu, with a 3.2 inch LCD screen hat. The LCD is 320x240 16-bit color. I do most of my ...
user avatar
2 votes
0 answers
104 views

How to enable antialias/multisampling when rendering to framebuffer with stencil buffer for webgl2?

I add samples: 4 and change gl.RGBA to gl.RGBA4 to enable antialias of first framebuffer attachment: const framebufferInfo = twgl.createFramebufferInfo(gl, [ { format: gl.RGBA4, type: gl....
plantain's user avatar
2 votes
1 answer
64 views

Failed to show JPEG on LCD (black) with RGB888 using libjpeg in Embedded Linux

I am working on an embedded Linux system (kernel-5.10.24), there is a LCD display in it. Now I am trying to show a JPEG picture on the LCD by using libjpeg. I found an example code on the internet and ...
wangt13's user avatar
  • 1,069
1 vote
0 answers
85 views

Do I need a separate VkFrameBuffer for each swap chain image?

I am trying to learn Vulkan, but I am confused about whether i need a separate e frame buffer for every swap chain image for all of my render passes. I understand that I need as many frame buffers as ...
Taxen99's user avatar
  • 39
1 vote
1 answer
174 views

Display NumPy array as an image using fbi on Ubuntu

I would like to display a NumPy array as an image on the screen from a Python script. I need to do this without starting X, so I can't use OpenCV, PIL, etc. Is it possible to do this using fbi in a ...
Matt's user avatar
  • 35
1 vote
0 answers
91 views

Why is the framebuffer texture completley blank?

I have this problem, where I have 2 framebuffers. And I draw to a different one each frame. So on the first frame it would be the first framebuffer, then the second, then the first again and so on. ...
Grigori Iakimenko's user avatar
1 vote
1 answer
50 views

WebGL color conversion during gl.readPixels()

I'm copying a framebuffer to a pixel buffer object. Is there a way during the call of gl.readPixels() to go from RGBA to only RED ? In OpenGL, we can control the glReadPixels() transfer with ...
Sébastien Bémelmans's user avatar
1 vote
0 answers
218 views

Can't read frame buffer colormap information using ioctl on raspberry pi

I am working on Raspberry Pi 4, with raspios bullseye-arm-64-lite (version 11). I want to configure the frame buffer to 8-bits per pixel and use a custom colormap. I configured the frame buffer to 8-...
hkv's user avatar
  • 11
2 votes
2 answers
141 views

C# Linux Framebuffer Unsafe byte[] to CairoSharp ImageSurface

I am trying to create an image surface in c# CairoSharp using these two constructors: public ImageSurface(byte[] data, Format format, int width, int height, int stride); public ImageSurface(IntPtr ...
maxfridbe's user avatar
  • 5,930

15 30 50 per page
1
2 3 4 5
24