MineCraft-One-Week-Challenge icon indicating copy to clipboard operation
MineCraft-One-Week-Challenge copied to clipboard

Does not work on AMD GPUs

Open Hopson97 opened this issue 8 years ago • 14 comments
trafficstars

It crashes on start up

Hopson97 avatar Aug 12 '17 11:08 Hopson97

Hope you can fix it

Glitchcode2447 avatar Aug 12 '17 22:08 Glitchcode2447

I have no idea how I would fix this, seeing as I don't have an AMD card to test this on

Hopson97 avatar Aug 12 '17 22:08 Hopson97

I see, wish i could help.

Also i used another computer to test this game out and Great Work :)

Glitchcode2447 avatar Aug 13 '17 00:08 Glitchcode2447

The pull request switching the glewInit() and the debug parameter around removed some crash for me. I have an AMD card, too. So maybe someone who had this crash before can verify that it works now.

ISibboI avatar Aug 14 '17 14:08 ISibboI

LOL, why ever buy AMD GPU?

Mart-Bogdan avatar Oct 09 '17 15:10 Mart-Bogdan

@Mart-Bogdan Because their Linux drivers are AMAZING.

qwertychouskie avatar Oct 09 '17 16:10 qwertychouskie

I think I have a machine with and gc that I could debug it on later. not positive if the machine has the right drivers

qjroundy avatar Oct 09 '17 19:10 qjroundy

Renders fine for me (edit: can't see any HUD), doesn't crash on start. But the game pegs my CPU and renders less than 10FPS.

 OS: Linux 4.13.12_1 #1 SMP PREEMPT Wed Nov 8 11:24:22 UTC 2017 x86_64 GNU/Linux
 Card: AMD/ATI Radeon HD 6850
 Drivers: default in-kernel/open-source "radeon" mesa drivers 

https://i.imgur.com/rUqxNRf.jpg

Happy to run more tests.

Veyrdite avatar Nov 13 '17 23:11 Veyrdite

also no Problems here with my AMD card. fixed the CPU bottleneck with editing the CC_FLAGS in the Makefile. (-O3 -march=native mtune=native)

but i have no FPS counter and the inventory is not showing atm. i will take a look at it later.

OS: Linux 4.13.0-e16e1739c334 #1 SMP PREEMPT Tue Oct 3 14:00:05 CEST 2017 x86_64 (Linux kernel with AMDGPU DC patches) Card: AMD RX480 Drivers: mesa with amdgpu-pro-opencl

cyboerg42 avatar Nov 14 '17 06:11 cyboerg42

@cyborg00222 THANK YOU for the CPU bottleneck. I was wondering why my frame rates were so atrociously low. I'll patch that in soon. It's about halving the time of chunk generation for me. Thank you!

IridescentRose avatar Nov 14 '17 11:11 IridescentRose

Compiler flags have fixed my frame-rate issue (ignoring the constant hiccups during chunk gen). I can confirm that I can't see the HUD.

@cyborg00222 to see the framerate, launch the game like this:

GALLIUM_HUD="fps" ./MinecraftWeek

This is a driver-provided overlay. More info here.

https://i.imgur.com/v1TFmHk.jpg

Veyrdite avatar Nov 15 '17 00:11 Veyrdite

Working on AMD Carrizo APUs.

IridescentRose avatar Jan 13 '18 00:01 IridescentRose

I have an AMD Ryzen 5 2500U and the game crashes on startup. I tried running the game in command prompt and got no helpful output.

Config: Full screen mode: true
Config: Window Size: 1280 x 720
Config: Field of Vision: 100
Seed: 189217
making noise
Searching for spawn...
Spawn found! Attempts: 2 Time Taken: 0.015298 seconds

RGBProductions avatar Nov 08 '21 00:11 RGBProductions

on my it works. amd 5 5500u

ABC00012345 avatar Nov 19 '23 16:11 ABC00012345