Opengl For Minecraft

0 views
Skip to first unread message

Gerald Weiß

unread,
Aug 5, 2024, 1:51:45 AM8/5/24
to pingsamita
minecraftREQUIRES opengl its a rendering system that it runs off of and therefore can not run unless you have opengl and accelerated graphics support. if you dont have it then you dont have minmecraft. unless youre able to change its rendering system to directx then MAYBE but ive never seen that tried or done before. so , no opengl = no minecraft.

think of directx and opengl as intel and amd. they are two different rendering systems all on their own wether a game is more graphic instensive or not doesnt matter its just how a game runs some run graphics heavy others run cpu heavy some play on directx other opengl. thats why yoiu run into issues like this. its your hardware so unless you update it change it get new stuff it will be broken.


I ran into a thread where someone suggested removing mesa because the proprietary nvidia driver has its own opengl implementation built in, but there are several packages dependent on mesa on my machine and I don't want to break my gui.


Go to the Wiki and start there with the option of your choice -- Bumblebee/Hybrid working, or using only the nVidia card with your system. (You could use only the Intel card, but I don;t think that's what you want.)


Whoops sorry about that. They were long and I didn't want to clutter my post, but I'll paste them below. I see now that the code tag puts them in a scollable window, thanks I was unaware of that feature.


There is a custom modeline because when I first booted with the nvidia driver I was stuck on a 640x480 resolution. Issuing xrandr was only returning that and an even lower resolution option. I used cvt to generate a new modeline which seemed to fix the problem. (I did have to add this to my .xinitrc to retain this after a reboot).


Please remove that file and follow _Optimus

The automatic config tools are incapable of creating reasonable configs for hybrid setups (reading the wiki you might understand why) and a static config is deprecated (and a bad idea) and you have neither the looooooooong dated mouse nor kbd drivers installed, so this even just carries a bunch of cruft ;-)


Just to clarify though, I only have the nvidia driver installed. I'm not interested in hybrid graphics on this machine as it has been problematic for me in the past. I'm not totally sure if I've fully disabled the Intel chip.


You cannot disable the intel chip, because your nvidia chip is no VGA controller.

You also added the relevant bits from the wiki to your xorg.conf anyway, the problem is the additional autogenerated nonsense in there (it tends to cause problems in general + as a reminder: you're trying to figure what "confuses" minecrafts randr calls)


Basically the title. I only need to draw in 2D. I know about GuiScreen and how to make a Gui with a Container, all that stuff. I just wanted to take a step forward and make a sort of Gui Framework offering a set of components and a layout manager. So one of my questions is, can I draw triangles??? Like this:


I have no clue what you mean. top/left screen is 0/0. You just take some x/y and draw your stuff. Scaling is done automatically - depenging on GUISize - I am talking about that thing you can set in game options "large", "medium", "small", etc. , AND window scaling.


Thanks! Good to know I can draw anything. About the coordinate system, based on what you said it seems minecraft already transforms it for us when drawing a GUI then, which is also very good to know. Thanks for the reply!


I just bought 5700XT and I like it very much, but ReLive can't record minecraft in fullscreen, which is very disappointing for me. ShadowPlay has recorded MC perfectly and ReLive can't do it. Do you plan to add support for recording OpenGL games in fullscreen?


I don't know if this will help with your GPU, but I was able to make Relive work in windowed fullscreen on my RX580. It's the same as fullscreen, but doesn't block the Windows key; able to interact with Relive outside the game. I also discovered VSR makes Relive "think" the OpenGL game is protected content, so I disabled it.

3a8082e126
Reply all
Reply to author
Forward
0 new messages