Groovy_MiSTer Core

Quark999
Posts: 15
Joined: Tue Jul 28, 2020 8:37 pm
Has thanked: 3 times

Re: Groovy_MiSTer Core

Post by Quark999 »

psakhis wrote: Wed Apr 24, 2024 12:54 pm

Do you enabled mister on mednafen settings? Always when i uploaded a new test build, Mednafen it's the first one.

Yes, Mister is enabled in Mednafen - the config from the test build has it enabled anyway so I just had to supply the IP. It communicates, because the screen goes black, but it behaves like the older GroovyMister builds.

psakhis
Core Developer
Posts: 48
Joined: Sat Aug 26, 2023 9:17 pm
Been thanked: 77 times

Re: Groovy_MiSTer Core

Post by psakhis »

New Retroarch build with a lot of new features (rgui, hardware cores, inputs..), thanks to @Calamity.

https://github.com/psakhis/Groovy_MiSTe ... s/20240427

seastalker
Posts: 217
Joined: Tue Jun 02, 2020 6:49 pm
Has thanked: 4 times
Been thanked: 47 times

Re: Groovy_MiSTer Core

Post by seastalker »

psakhis wrote: Thu Apr 25, 2024 6:36 pm
seastalker wrote: Thu Apr 25, 2024 5:34 pm

Just tried with "MiSTerCast_1_01_New_Lz4_Test.zip" and am getting the same results again - crashes program and note in red [in previous post above]

I think this error "DxgiOutput1->DuplicateOutput failed: -2005270524 Failed to initialize video capture" is related if you have 2 gpus.

On the PC I'm running it from, the motherboard has built in video, but yes I'm actually using a gfx card. I haven't had the issue with other programs that just always used the add-on card. I don't know why MiSTerCast would default to anything else, but there doesn't seem to be a settings option in the program to change it either. Anyone know of a solution?

garou81
Posts: 2
Joined: Mon Apr 01, 2024 2:47 pm

Re: Groovy_MiSTer Core

Post by garou81 »

Is USBIP required to get controls to work?

psakhis
Core Developer
Posts: 48
Joined: Sat Aug 26, 2023 9:17 pm
Been thanked: 77 times

Re: Groovy_MiSTer Core

Post by psakhis »

garou81 wrote: Mon Apr 29, 2024 9:10 pm

Is USBIP required to get controls to work?

Nops.

garou81
Posts: 2
Joined: Mon Apr 01, 2024 2:47 pm

Re: Groovy_MiSTer Core

Post by garou81 »

Thanks got it working. Was getting a black screen until I changed the groovy_mister file to just MIsTer. When I added "[Groovy] groovy mister=main" to the mister file I got an ini error. From there I had to set my jamma interface (Irken jamma expander) to joystick mode the results have been inconsistent.
So in conclusion I would like to say thank you @Psakhis for developing this.

MiSTer Consoles
Posts: 135
Joined: Sun Dec 04, 2022 2:42 pm
Has thanked: 123 times
Been thanked: 23 times

Re: Groovy_MiSTer Core

Post by MiSTer Consoles »

I've finally got GroovyMAME and Groovy RA to display on my CRT along with sound. I'm not sure how to get my controller to work through MiSTer though. Do the buttons need to be defined in the frontend programs, should they be defined in the MiSTer menu, or both?

psakhis
Core Developer
Posts: 48
Joined: Sat Aug 26, 2023 9:17 pm
Been thanked: 77 times

Re: Groovy_MiSTer Core

Post by psakhis »

MiSTer Consoles wrote: Thu May 02, 2024 1:56 pm

I've finally got GroovyMAME and Groovy RA to display on my CRT along with sound. I'm not sure how to get my controller to work through MiSTer though. Do the buttons need to be defined in the frontend programs, should they be defined in the MiSTer menu, or both?

Both.
On core you define your button mapping and use that for programs.

  • GroovyMame TAB Settings (joystickprovider mister on your mame.ini)
  • Retroarch Menu Settings -> Input -> Port 1/2 Controller (input_joypad_driver = "mister" on retroarch.cfg)
MiSTer Consoles
Posts: 135
Joined: Sun Dec 04, 2022 2:42 pm
Has thanked: 123 times
Been thanked: 23 times

Re: Groovy_MiSTer Core

Post by MiSTer Consoles »

psakhis wrote: Thu May 02, 2024 3:07 pm
MiSTer Consoles wrote: Thu May 02, 2024 1:56 pm

I've finally got GroovyMAME and Groovy RA to display on my CRT along with sound. I'm not sure how to get my controller to work through MiSTer though. Do the buttons need to be defined in the frontend programs, should they be defined in the MiSTer menu, or both?

Both.
On core you define your button mapping and use that for programs.

  • GroovyMame TAB Settings (joystickprovider mister on your mame.ini)
  • Retroarch Menu Settings -> Input -> Port 1/2 Controller (input_joypad_driver = "mister" on retroarch.cfg)

Thanks! I just gave this a try in GroovyMAME with my Buffalo SNES style USB controller. I defined the D-pad/buttons in Groovy MiSTer. Then I opened up the input settings in GM and tried to define them there. For some reason both the "Up" and "Down" directions on the controller are registering as "Down" in GM. I've never had any problems using this controller in MiSTer before. It works fine in all the menus. Do you think this is an issue with communication between the two systems?

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

psakhis wrote: Thu May 02, 2024 3:07 pm
MiSTer Consoles wrote: Thu May 02, 2024 1:56 pm

Do the buttons need to be defined in the frontend programs, should they be defined in the MiSTer menu, or both?

Both.
On core you define your button mapping and use that for programs.

  • GroovyMame TAB Settings (joystickprovider mister on your mame.ini)
  • Retroarch Menu Settings -> Input -> Port 1/2 Controller (input_joypad_driver = "mister" on retroarch.cfg)

I was also wondering about this. Does this mean that analog triggers aren't supported because they aren't on the MiSTer? Thanks in advance.

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Just got a chance to try this. To answer my question, there is currently no analog controller support. I know that on the Linux side, the MiSTer can see the analog triggers, but the MiSTer main menu doesn't ask about them. I think on the core side, this might be possible to include. I tried it with Outrun in Mame (the MiSTer Outrun core doesn't currently support analog triggers the last time I checked). In Groovy when I defined the joystick buttons, I defined left and right with the analog stick, and up and down as the triggers. When I went to Mame to define the inputs, it saw my left/right and trigger presses as Joystick 1 Hat directions which are digital. Hopefully in the future, every function on an Xbox controller will be supported including analog and rumble passthrough, but that may not be possible. It's not the end of the world if this never can be supported because I can use USB direct into the PC.

psakhis
Core Developer
Posts: 48
Joined: Sat Aug 26, 2023 9:17 pm
Been thanked: 77 times

Re: Groovy_MiSTer Core

Post by psakhis »

I added on last experimental build support for analogs but not for analog triggers.
I will check this feature.

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Awesome, thanks so much!

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Can anyone get a stable picture in California Speed in Mame? I tried two different TV's and different custom resolutions, but the picture keeps blipping out with red blotches and occasionally a completely black screen. It is almost as if there is too much information being sent over the network for it to handle or something. It looks fine on the PC window. Thanks!

Edit: Mostly solved this one by putting the following in my calspeed.ini file:
modeline "256x224" 5.45118 256 266 298 342 224 237 240 263 -hsync -vsync
throttle 1
mister_fd_margin 2.0

I still get red flickers when the screen changes. The key was the mister_fd_margin, but 3.0 is not any better. I may play with the resolution further, but it looks decent.

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Also, Star Wars doesn't work anymore for me with my NTSC TV (I get a black screen). Previously I was able to put these into my ini file and use my PC's audio:
monitor ntsc
throttle 1
syncrefresh 0

If I change syncrefresh to 1, it works but it is too fast. Did something change with the new version so this no longer works with syncrefresh 0?

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Spy Hunter is another issue. It is running way too fast. I am not complaining, just informing.

Maybe there should be a "catchall" option that allows us to use the MiSTer with a specific video mode and doesn't try to do the GroovyMame syncing. So for example, I could set up a 640x480i@60Hz modeline, set the catchall option, and it would broadcast to match like the window that is on the PC screen that doesn't have the native refresh rate. This would allow all those games that have flakey issues to just work with the video mode and refresh rate of our choosing. This would fix Star Wars, Spy Hunter, California Speed, other vector games, etc.

As an example, I was able to get Star Wars working even with MiSTer sound by using regular Mame with MiSTerCast. It would be nice if this was built in as an option for GroovyMiSTer Mame, etc. with less lag than MiSTerCast.

Calamity
Posts: 14
Joined: Wed Jan 03, 2024 10:21 am
Been thanked: 32 times

Re: Groovy_MiSTer Core

Post by Calamity »

throttle 1, syncrefresh 0 still works for me for Starwars/Spy Hunter.

Also, mister_interlaced_fb 0 helps eliminating the interlace artifacts when disabling syncrefresh.

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Calamity wrote: Tue May 07, 2024 6:07 pm

throttle 1, syncrefresh 0 still works for me for Starwars/Spy Hunter.

Also, mister_interlaced_fb 0 helps eliminating the interlace artifacts when disabling syncrefresh.

Thank you for checking! That is strange. I have two different MiSTer's with two different TV's and the both show a black screen. I must be missing another setting somewhere. I reset all my settings when I was having issues at one point. I will test with the mister_interlaced_fb 0 setting as well when I am home from work.

thorr
Top Contributor
Posts: 1195
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 587 times
Been thanked: 270 times

Re: Groovy_MiSTer Core

Post by thorr »

Calamity wrote: Tue May 07, 2024 6:07 pm

throttle 1, syncrefresh 0 still works for me for Starwars/Spy Hunter.

Also, mister_interlaced_fb 0 helps eliminating the interlace artifacts when disabling syncrefresh.

I figured out the problem, and now California Speed, Spy Hunter and Star Wars work. In the core menu, I needed to change Volatile Framebuffer to Off. Thanks again for your help!

Shogun
Posts: 60
Joined: Wed Jun 24, 2020 7:41 pm
Location: Denver, CO
Has thanked: 28 times
Been thanked: 23 times

Re: Groovy_MiSTer Core

Post by Shogun »

I wanted to test this for video playback. I was able to get groovymame working, then got mistercast working, then retroarch. I have to say in both mistercast and retroarch the image quality is really good once you enable PWM in the core options. There is still a bit of banding after that but it cleans up quite a bit. I threw up some SD anime and it looks fantastic. Other videos the banding is more prominent seems to depend. The retroarch video player is a bit easier in the sense you don't have to set your screen size but on the other hand it is very touchy and crashes a lot when you start fussing with it.

In Mistercast the screen flickers quite a bit and a flood of Send command failed: 10035 errors come through:

Image

This behavior seems tied to network usage as I seem to run up against things around 200mbps. I created an issue on the Mistercast github: https://github.com/iequalshane/MiSTerCast/issues/11

This same flickering behavior tied to network usage is seen in the retroarch video player. In retroarch the issue is not as bad presumably due to a bit less network usage. I did test a number of ethernet cables and noticed no change. If anyone has any suggestions about the screen flickering let me know!

KennyL
Posts: 95
Joined: Sun May 24, 2020 11:40 pm
Has thanked: 66 times
Been thanked: 31 times

Re: Groovy_MiSTer Core

Post by KennyL »

I have the same issue with mistercast with my win11 PC. I get that error and image gets unstable when throughput goes above 200mbps. Workaround for me is adjust capture size to add more blank paddings to reduce bandwidth.

For fun, you can disable lz4 compression in retroarch. I get tons of artifacts but my network gets around 450mbps with flycast heh heh. 240p DC games like Jojo is actually not bad with lz4 off. Basically I'd like to see less aggressive compression for mistercast and see how that goes.

Shogun
Posts: 60
Joined: Wed Jun 24, 2020 7:41 pm
Location: Denver, CO
Has thanked: 28 times
Been thanked: 23 times

Re: Groovy_MiSTer Core

Post by Shogun »

KennyL wrote: Mon May 27, 2024 10:41 pm

For fun, you can disable lz4 compression in retroarch. I get tons of artifacts but my network gets around 450mbps with flycast heh heh. 240p DC games like Jojo is actually not bad with lz4 off. Basically I'd like to see less aggressive compression for mistercast and see how that goes.

I thought I'd mess with that setting and heres what I got:
lz4=0 - Jittery 250mbps
lz4=1 - Worked great. Went over 200mb fine
lz4=2 - What I was using, flickering right away and any time above 200mbps.
lz4=3 - Worked great. Went over 200mb fine

All become unstable after being paused on the PC (hit "P") or move the window on your pc or do anything that pauses the video. So thanks for that I'll use lz4=3 for now and avoid messing with it on the PC.

Image

User avatar
dickhardpill
Posts: 86
Joined: Tue Apr 09, 2024 9:28 pm
Location: Not Portland, OR
Has thanked: 54 times
Been thanked: 19 times
Contact:

Re: Groovy_MiSTer Core

Post by dickhardpill »

I have that same remote but it came with my Philips. Sorry, back on topic.

KennyL
Posts: 95
Joined: Sun May 24, 2020 11:40 pm
Has thanked: 66 times
Been thanked: 31 times

Re: Groovy_MiSTer Core

Post by KennyL »

I get garbled artifacts on the bottom of screen. Do you get something like this?

mistercast-test-01_-_frame_at_0m3s.jpg
mistercast-test-01_-_frame_at_0m3s.jpg (185.76 KiB) Viewed 131 times
Shogun
Posts: 60
Joined: Wed Jun 24, 2020 7:41 pm
Location: Denver, CO
Has thanked: 28 times
Been thanked: 23 times

Re: Groovy_MiSTer Core

Post by Shogun »

KennyL wrote: Tue May 28, 2024 12:36 am

I get garbled artifacts on the bottom of screen. Do you get something like this?

mistercast-test-01-frame_at_0m3s.jpg

Thats kind of what the flickering looks like. Its not permanent but is primarily on the bottom half of the screen.

On a separate note I noticed some of the videos I open up do a rolling screen so it looks like some switchres configuration might be in order for my tv to get a solid modeline.

KennyL
Posts: 95
Joined: Sun May 24, 2020 11:40 pm
Has thanked: 66 times
Been thanked: 31 times

Re: Groovy_MiSTer Core

Post by KennyL »

Yeah ok I get that artifact flickering in and out so we have the same problem.

Post Reply