Questions tagged [video-memory]

34 questions
8
votes
2 answers

Address of Video memory

Address of video memory (0xB8000), who is mapping video memory to this address? The routine which is copying the data from the address and putting to the screen, Is it a processor inbuilt function (Is this driver comes with the processor)?
ted
  • 3,397
  • 3
  • 21
  • 44
7
votes
1 answer

OpenGL Video Memory Usage

is there an API or profiler application that can track the video memory usage of my application? I am using C++/OpenGL on Windows, but I am open to suggestions on other platforms as well.
shartte
  • 736
  • 5
  • 13
6
votes
1 answer

Why is my video memory offset calculation off by one?

I have been reading and following a tutorial on writing an operating system from scratch by Nick Blundell which can be found at https://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf I have successfully written a boot loader that…
Jakeman582
  • 91
  • 5
5
votes
2 answers

Meaning of bytes in Intel GMA950 private buffer, in VGA text mode

When working on the text screen (mode 3, 80x25) both the usual Video Buffer at B800h and the Linear Frame Buffer (LFB) near the end of the 4GB address space are active. I've found that for each character cell on the display, the LFB uses 8 bytes.…
Sep Roland
  • 20,265
  • 3
  • 36
  • 58
5
votes
3 answers

Access the whole video memory through OpenGL programming

How to access the video memory of graphics card through OpenGL programming, specifically, to get all contents of video memory? I have tried the following two methods, but failed. With attaching them down, I hope you could point out the error in my…
loong
  • 51
  • 1
  • 3
4
votes
0 answers

Writing directly to the screen from an x86_64 Linux machine

I am using a Linux x86_64 machine. Is it possible to write to the screen from my user space application (C or assembly) without using the standard library functions or system calls? I know this is possible in the real mode or in DOS with a pointer…
Franc M
  • 437
  • 4
  • 16
4
votes
1 answer

Direct video buffer access

when I comes to rendering things on screen using video card, only three options are available, if I understand correctly. These are DirectX (or XNA) OpenGL Windows Driver Kit and creating minimal implementation of graphics driver I have very…
user1540509
3
votes
3 answers

CPU and GPU memory sharing

If the (discrete) GPU has its own video RAM, I have to copy my data from RAM to VRAM to be able to use them. But if the GPU is integrated with the CPU (e.g. AMD Ryzen) and shares the memory, do I still have to make copies, or can they both…
Pietro
  • 10,628
  • 22
  • 80
  • 165
2
votes
0 answers

CALayer OpenGL(-ES) texture memory usage

I have an iPhone app that uses too much texture memory. I am trying to figure out which of the app's CALayers uses too much texture memory. Unfortunately, I cannot figure out how much texture memory a specific CALayer is using. Are there any good…
JE42
  • 4,152
  • 4
  • 36
  • 48
2
votes
1 answer

How I can read a value from an address in the Bios Data Area correctly?

I'm trying to read the value 1000h which can be found in the address 0000h:044Ch and put it in the ax register by using the mov instruction. Every time I get back another value than the expected 1000h. This is the instruction I use in TASM: mov …
Ahmed Crow
  • 101
  • 3
2
votes
1 answer

Copy from VRAM using movsb?

In x86 asm, what is the right, fast way to copy from VRAM to an array variable in VGA mode 13? I can copy to VRAM no issue using movsb, but copying from VRAM using movsb produces weird results, or can crash my program. I have a test program to…
Rugtastic
  • 23
  • 4
2
votes
1 answer

Failed test for detecting video memory size

I have a .net/DirectX-based rendering library. At program start, we try to find out the amount of physical video RAM. Detecting the amount of physical video memory is important, to know how much can be used for textures (If you've done serious…
user180326
2
votes
1 answer

OpenGL Video RAM Limits

I have been trying to make a Cross-platform 2D Online Game, and my maps are made of tiles. My tileset, which I render the tiles from, is quite huge. I wanted to know how can I disable hardware rendering, or at least making it more capable. Hence, I…
user187418
1
vote
1 answer

OpenGL out of memory error, large FBO

I'm getting out of memory errors when creating a large (2^13) framebuffer object in PyOpenGL/PyQt: width = 8192 height = 8192 self.textureFbo = QtOpenGL.QGLFramebufferObject(width,height) self.textureFbo.bind() texture =…
leohutson
  • 85
  • 2
  • 9
1
vote
0 answers

Switching from text mode to graphics mode from c in 32 bit protected mode

I am creating a small 32 bit operating system. I have written the boot loader in assembly language, written the kernel's entry in assembly and I am currently writing the kernel in c. In the bootloader, I have already switched to 32 bits protected…
preciousbetine
  • 2,849
  • 3
  • 13
  • 26
1
2 3