os icon indicating copy to clipboard operation
os copied to clipboard

Tweak geometry not working

Open retrorepair opened this issue 1 year ago • 71 comments
trafficstars

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.

retrorepair avatar Jul 14 '24 10:07 retrorepair

Does this blackscreen problem only happen with the grid ?

substring avatar Jul 14 '24 10:07 substring

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.

retrorepair avatar Jul 14 '24 10:07 retrorepair

can you just exit gasetup, go to the terminal and type grid a,d tell me what is the output ? Simply press ESC to exit

substring avatar Jul 14 '24 10:07 substring

17209542920957076583414826318501 That's all I get, it just hangs

retrorepair avatar Jul 14 '24 10:07 retrorepair

You can see there I tried to hit escape lol

retrorepair avatar Jul 14 '24 10:07 retrorepair

Have you fully updated ? If yes, please make a support archive and send me the link, thanks

substring avatar Jul 14 '24 10:07 substring

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

retrorepair avatar Jul 14 '24 10:07 retrorepair

You should restore your initial crt_range

substring avatar Jul 14 '24 11:07 substring

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:

Https://file.io/DQmkOW2VrEkq

Wish I didn't mess with anything now :(

retrorepair avatar Jul 14 '24 11:07 retrorepair

You should restore your initial crt_range

I tried :(

retrorepair avatar Jul 14 '24 11:07 retrorepair

generic_15 preset ?

substring avatar Jul 14 '24 11:07 substring

Yep

retrorepair avatar Jul 14 '24 11:07 retrorepair

Could also try to rollback SDL2 to see if it's that one messing

substring avatar Jul 14 '24 11:07 substring

I'm sure you've told me before how to do that but I don't use linux much, how would I do that?

retrorepair avatar Jul 14 '24 11:07 retrorepair

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

retrorepair avatar Jul 14 '24 12:07 retrorepair

does the grid binary work with SDL2 rolled back ?

substring avatar Jul 14 '24 12:07 substring

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

retrorepair avatar Jul 14 '24 13:07 retrorepair

Tried the grid executable, still hangs

retrorepair avatar Jul 14 '24 14:07 retrorepair

ok go sudo pacman -S strace then strace grid and give me the output

substring avatar Jul 14 '24 15:07 substring

log.txt

Ok, this is the output

retrorepair avatar Jul 14 '24 15:07 retrorepair

Please try rm -rf /home/arcade/.cache/mesa_shader_cache then grid again

substring avatar Jul 14 '24 16:07 substring

Just tried that, no change :(

retrorepair avatar Jul 14 '24 16:07 retrorepair

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

retrorepair avatar Jul 15 '24 16:07 retrorepair

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 ?

substring avatar Jul 15 '24 16:07 substring

No idea, it definitely is. I even made sure to downgrade as suggested and there were no errors

retrorepair avatar Jul 15 '24 16:07 retrorepair

Does GM work ? Retroarch ?

substring avatar Jul 15 '24 16:07 substring

GM works under Xorg, not KMS. RA doesn't work at all

retrorepair avatar Jul 15 '24 17:07 retrorepair

Before the update, GM worked under Xorg not KMS and RA worked under either

retrorepair avatar Jul 15 '24 17:07 retrorepair

Try rolling back mesa and eventually llvm-libs

substring avatar Jul 15 '24 17:07 substring

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

retrorepair avatar Jul 15 '24 17:07 retrorepair