New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gpu driver crash #162
Comments
Confirmed, but I only get it when going to Local Game and pressing LT to cycle to last tab index... |
I didn't have more time to check if there are more things that causes a crash so... might have more laptop crashes waiting to be discovered. |
I didn't really look into the error message, but I checked that it wasn't a simple index out of bounds error, so my guess is that this is a bug in Macroquad, not in our code.... |
what error message? What log? For me the laptop just dies so not sure what to look at to find out what breaks... |
I get a backtrace in my IDE: Found gamepad "/dev/input/event25": "8BitDo SN30 Pro for Android" Process finished with exit code 101 |
so.. for you only the game dies? Then I wonder if it is the same bug, or if it is the same bug what prevents the entire computer from crashing in your case. |
Might be because the panic is handled differently when the process is handled by the IDE. You can try running the game with RUST_BACKTRACE=1 and you should get the same messages, unless it craches before it unwinds the stack |
Also, there probably are differences in how things are handled between us, as we have different Vega APUs. What crashes the driver in one case, doesn't necessarily do so in the other case... |
you have a different bug. If I go left, the game crashes for me as well rather than my driver. the index is set to Simply adding a |
Yeah, you are right, of course. I read the |
the no mapping for is also something I have and seems to be related to gamepads. In my case, the game thinks my touchpad is a gamepad and for obvious reasons can't really deal with that. |
Do you also have a /dev/input/js0, even when no gamepad is connected? This has been a problem for me, when using gamepad-rs with FishFight (other gamepad libs seem to be able to discern between this and real mappings), with both my new and my old laptop. This (linux registering touchpad as a joypad) might be the explanation for that, then |
for me it is
however, from what I read I know for one of my projects that I couldn't read the mouse data that way until I manually gave my user the correct role, and that this role was explicitly not given by default. Or, is that mouse specific and gamepads still use /dev/input? (Also, maybe this should be discussed on a more appropriate issue?) |
This change has been made. As for the touchpad issue, the gamepad system has since been replaced. Are you still experiencing problems, @lenscas? |
the However, the touchpad being seen as a gamepad problem is fixed 🎉 |
@lenscas if you have the opportunity, could you check if the issue is gone, now that the network tab is disabled, so that we can close this? |
I'm closing this. We can reopen it if the is still an issue |
yea, sorry for taking so long to check. Busy with other stuff. I also doubt it would NOT be fixed by the removal of that screen. As far as I know, that screen was the only one that caused the crash and I fail to see how removing that screen would NOT result in that crash being removed. |
Then it is the same error I had. It was connected to the network implementation. Unsure why it leads to a gpu driver crash, though |
Perhaps it is something else that crashes and it just looks like a GPU driver crash? All I had to go on was "screen goes black, music keeps playing" which to me sounds like a GPU crash but might just be something else. |
Ah, ok. I thought you had it from logs, or something. Then it is probably the network implementations fault, as I have it pinned down to the update of the connection state. That is not going to be used, as we are going to use steam in stead, so I guess the mystery is solved :) |
Found a way for FishFight to crash my laptop. Just use the arrow keys to select Network, RT and that seems to crash my GPU driver. (Screen freezes and eventually goes black, while music which comes from youtube keeps working).
System info (copied from what hardinfo told me)
OS:
Kernel | Linux 5.4.150-1-MANJARO (x86_64)
Version | #1 SMP PREEMPT Thu Sep 30 16:13:54 UTC 2021
C Library | GNU C Library / (GNU libc) 2.33
Distribution | Manjaro Linux
Computer:
Processor | AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx
Memory | 7079MB (3353MB used)
Machine Type | Notebook
Operating System | Manjaro Linux
User Name | lenscas (Lenscas)
Date/Time | zo 10 okt 2021 14:24:15 CEST
Display:
Resolution | 1920x1080 pixels
OpenGL Renderer | AMD Radeon(TM) Vega 3 Graphics (RAVEN, DRM 3.35.0, 5.4.150-1-MANJARO, LLVM 12.0.1)
Session Display Server | [X11] The X.Org Foundation 12013000
OpenGL (GLX):
Vendor | AMD
Renderer | AMD Radeon(TM) Vega 3 Graphics (RAVEN, DRM 3.35.0, 5.4.150-1-MANJARO, LLVM 12.0.1)
Direct Rendering | Yes
Version (Compatibility) | 4.6 (Compatibility Profile) Mesa 21.2.3
Shading Language Version (Compatibility) | 4.60
Version (Core) | 4.6 (Core Profile) Mesa 21.2.3
Shading Language Version (Core) | 4.60
Version (ES) | OpenGL ES 3.2 Mesa 21.2.3
Shading Language Version (ES) | OpenGL ES GLSL ES 3.20
GLX Version | 1.4
I'm not sure what logs to look at (if any). So, feel free to tell me where I can find relevant logs :)
The text was updated successfully, but these errors were encountered: