-
Notifications
You must be signed in to change notification settings - Fork 10
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
Tweak geometry not working #49
Comments
Does this blackscreen problem only happen with the grid ? |
Just as soon as I hit the tweak geometry option in gasetup. It doesn't happen with anything else. I've set a custom arcade_15 preset and reduced the HBP to 6.000 and HFP to 4.000 and games look good, but menus of course are all way over to the right. |
can you just exit gasetup, go to the terminal and type |
You can see there I tried to hit escape lol |
Have you fully updated ? If yes, please make a support archive and send me the link, thanks |
It was up to date a couple of months ago, I'll try to update now though. I did also notice MAME does the same thing if I have KMS enabled. Works fine using Xorg (even if it's a little epilepsy enducing). Grid does the same thing with xorg or kms though |
You should restore your initial crt_range |
Ok, did a full OS update and now nothing runs under KMS. Grid, mame or RA. Trouble is, after updating I now only get MAME working under xorg, everything else crashes on boot so looks like the update has borked something :( It's weird because on the first reboot after the update, geometry tweak worked, having rebooted now, i can load attractplus, run MAME roms and anything else just crashes returns me to attractplus (usually without changing resolution back). Here's the log EDIT, LINK FIXED: Wish I didn't mess with anything now :( |
I tried :( |
generic_15 preset ? |
Yep |
Could also try to rollback SDL2 to see if it's that one messing |
I'm sure you've told me before how to do that but I don't use linux much, how would I do that? |
Ok, downgraded sdl2 using pacman -U and still the same. It did ask when updating if I wanted to replace python something with a python like extras/python something, I said yes, maybe I shouldn't have |
does the grid binary work with SDL2 rolled back ? |
I've not tried it feom the shell yet, it didn't work within GA setup though. Will try in a bit. I feel like after the update all was fine until I changed to KMS. Changing back to Xorg didn't help though |
Tried the grid executable, still hangs |
ok go |
Ok, this is the output |
Please try |
Just tried that, no change :( |
Just wondered if you've tried a full os update lately @substring? If it's just me I can possibly work out what's broken |
of course I did and tried the geometry tool, and I had no problem. But I don't see the SDL2 package installed on your system, how come ? |
No idea, it definitely is. I even made sure to downgrade as suggested and there were no errors |
Does GM work ? Retroarch ? |
GM works under Xorg, not KMS. RA doesn't work at all |
Before the update, GM worked under Xorg not KMS and RA worked under either |
Try rolling back mesa and eventually llvm-libs |
I'll give those a go, I think I need to take a look at what else is installed though as if you don't have issues then I don't know why I am. I've got Wine installed but not much else |
Just to test, I removed my backup shared folder and ran the new install with all the defaults, it's no different. I'm convinced one of the new updates isn't compatible with something in my hardware. Just to recap, RA isn't working at all, neither is grid, mame only works under xorg. |
One last note, I reverted back to the installer from last year just to double check and yeah, KMS works fine with GM. I can't test RA since it won't update due to keyring being out of date but even if I fix that and update, I'll be back to where I started. It's got to be an update that's broken something but the logs aren't really telling me anything and given the volume of stuff that's been updated this year, I wouldn't know where to begin. I also don't understand why it only seems to be me with this issue? PC specs are: Gigabyte GA-Z97P-D3 mobo I don't think there's anything unusual there 🤷♂️ |
Threw in a HD 7870 I had spare, reinstalled everything again, same results |
Does the same hapen witn the 2023.10 iso as livecd ? Same with 2024.07 as livcd ? By livecd I mean : test without installing. Next : please enable de ug mode in the troubleshooting menu, start emulators that fail, then make a new archive. The problem is that there are some specific errors I can't catch through logging since they are spit by the kernel. It's very important that you don't produce the logs from a cold boot, but after all the crashes. That doesn't help me with whatswrong with the frig sadly, I'm clueless. When I face such cases, I have to compile apps in debug mode and go in the debugger to understand what went wrong. But can't do that here ... |
Ok, if the livecd is KMS (looks like it) then yes it works. 2024 and 2023 so assume it's an issue after installation, as soon as I try to launch robbie roto on the first boot it just hangs. I also don't get any sound but changing default card to the correct one fixes that. Weird as it's never been an issue before. Livecd knows which one to use as well. So really not sure why that could be 🤷♂️ |
I can't generate a log by the way in regards to GA, since if I replicate the error, only rebooting gets out of it. The lastest log above was with debug on and was captured after RA had failed a few times. Running RA from termi al by the way, the only error it gives is "buffer overrun detected" which isn't much help either |
Can I ask what hardware your test rig is using? Just in case I have something similar I can use to try and eliminate components? |
Weird, the buffer overflow should appear in the kernel log So, just to be sure : livecds work, but using the hd install (not network install), it hangs ? I have to rule out all possible scenarios since I can't reproduce this on my end |
That is weird. I'll try to do another log. So yes, livecds work (obviously can only test GM), hd install hangs as soon as I load a game before doing anything else. Full os update makes no difference. |
Ok, here's another debug level log after a few failed RA launches: |
Once installed, can you still ssh to your GA box when it hangs ? If yes, then kill GM with What happens when you manually start GM with -v ? Can you monitor the kernel output with |
Ok yes, killall works, here's a specific debug GM log: |
Running |
Just tried to run GM with '-v' in terminal under lxde to see what the errors were and it worked fine. RA still doesn't work there though. Baffling |
X is not the problem here. Does the grid work too on X ? The; nly clue I have is SDL2, but a roolback would have worked, and the 2024.07 livecd wouldn't have worked Try launching GM on KMS through ssh after having exited AM |
So desktop runs on X? That would make sense then. I'll test grid. I wonder if I rolled back SDL2 far enough. All the archives I had are gone now Ive reinstalled though, I'm guessing you can't roll back to a specific release without a git clone? |
Ok, grid does work under x. If I drop out of AM and run GM via SSH after setting KMS and rebooting, it fails. I apologise for the size, but here's GM's verbose output:
|
No you can't rebuild SDL2 yourself since it has to be patched for modeswitching. Their 2.30.5 introduced a massive regression on KMS (nothing would work), I had to patch it to solve it and submitted that upstream. But while keeping the new feature they added, I added a fallback to another KMS initialisation function which is not the same as before. So it could be the culprit. That would surprise me since the function I use has been added like 9 years ago, or even more, it should be a problem at all |
This bit strikes me as a bit weird: Available videodrivers: x11 wayland KMSDRM offscreen dummy evdev |
If you read my previous comment, I think we've nailed it down to SDL2. So I'll drop a previous version + a new version with complete fallback over various initialization routines |
Ok, downloaded that with wget and installed with pacman with no errors, same result though. I'd not updated since maybe January? Maybe SDL2 needs to be rolled back further |
Just saw that was from 2022 so maybe SDL2 isn't the issue |
There is also https://github.com/substring/packages/releases/download/archive/sdl2-2.0.22-3-x86_64.pkg.tar.zst but I don't even remember if it works with KMS. It's SDL2, Mesa or the kernel. Unless there is a lib interfering in the middle |
I'll try it. I think we already tried mesa and the LTS kernal, I'm guessing dropping back to a previous kernal essentially requires a full OS downgrade though? I'm probably wrong :) No idea what libs could be interfering, knowing linux it could be anything |
Yeah don't think that version supports KMS as it immediately dropped back to x. |
grid.zip |
Is there a switch for log? It does run but gives me no log |
no switch, remember to launch with
|
Please also give me the output of |
I've got an issue where I can't get into the tweak geometry settings to shift the image to the left. Every time I select it, no matter the video backend, I get a black screen and no way to exit so have to reset the machine.
Is this maybe related to the issue from a while ago with exclusive video mode causing a black screen? Although I'm fully up to date and not got this issue with anything else, just the tweak geometry setting.
The text was updated successfully, but these errors were encountered: