Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Hello! i want to make my os run on real hardware. but sadly i can only get around 1fps but 600fps on virtual machine. so I'm wondering what graphics card is good At VBE.
and btw here's my OS
you can find it in github/nifanfa
Last edited by nifanfa on Mon Oct 11, 2021 9:35 am, edited 3 times in total.
There is no reason to increase the font size for your posts.
VBE is not inherently slow. Even modern cards still sometimes (but not always, i.e., not for all tranfers) use memory mapped VRAM to transfer data. If writes to the framebuffer are slow, you are probably not using write combining (WC). Look up WC in the Wiki and Intel manuals, and set it up properly.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
Octocontrabass wrote:In addition to WC, you should also make sure you're not reading from the framebuffer. Reading is usually much slower than writing.
Hi Octocontrabass
i didn't read from video memory. I'm using double buffering
nifanfa wrote:Hello! i want to make my os run on real hardware. but sadly i can only get around 1fps but 600fps on virtual machine. so I'm wondering what graphics card is good At VBE.
and btw here's my OS
you can find it in github/nifanfa
You should avoid Intel platforms if you want high-performance VBE. You generally should also avoid new systems and go with systems that are a bit dated. Although, modern AMD systems work pretty well.
rdos wrote:You should avoid Intel platforms if you want high-performance VBE. You generally should also avoid new systems and go with systems that are a bit dated. Although, modern AMD systems work pretty well.
Why is that (avoid Intel platforms)? And also why would "a bit dated" systems be faster?
rdos wrote:You should avoid Intel platforms if you want high-performance VBE. You generally should also avoid new systems and go with systems that are a bit dated. Although, modern AMD systems work pretty well.
Why is that (avoid Intel platforms)? And also why would "a bit dated" systems be faster?
Confused about this as well. Considering that the Linux Intel GPU drivers are plenty fast, there's a high probability that your doing something wrong if they're slow. The dated hardware argument only makes sense in the context of "this might be easier to program". But I generally find the Intel GPU manuals incredibly confusing and disorganized, especially since they went "Hey lets break tradition and organize our GPU registers alphabetically and not by category/address like everybody else". (What's ironic about that is they also wrote the AHCI and HDA specifications and didn't do that.)
nifanfa wrote:Hello! i want to make my os run on real hardware. but sadly i can only get around 1fps but 600fps on virtual machine. so I'm wondering what graphics card is good At VBE.
and btw here's my OS
you can find it in github/nifanfa
um. I don't want to write a specified graphics card driver(that's is very difficult and it is not as compatible as VBE). and i just want a graphics card as fast as virtual machine.