Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: GroovyArcade live-CD New Release 2019  (Read 181410 times)

0 Members and 4 Guests are viewing this topic.

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #960 on: April 01, 2020, 05:04:24 pm »
You found a bug, so it's normal I help you solve your problem :)
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #961 on: April 02, 2020, 04:15:54 pm »
Hello all,

Been lurking here and trying to setup a Groovyarcade arcade 15Khz crt cga system with an AMD card with no edie(but handles 15khz and I have atom15 flashed to it)

So using the 2018 iso image, setup is trick but I got it to work but the attracmode front-end kept freezing for me.
So I switched up the game to use the new fork 2020.3 and I actually tired 2020.4 today.

I get everything to work with the proper resolution 320x240 15khz, from boot to gasetup.
BUT the frontend, attracmode, is not using the proper resolution. Keeps changing to 1920x1080.

Where do I force it to use 320x240 in 15khz?

I'm on an LCD screen via VGA that can handle the 15khz signal, and more, so I do not know why this is happening.
Any ideas ?

Regars Paaar

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #962 on: April 02, 2020, 06:20:44 pm »
Gi,

2020.04 is not officially released, you've installed a testing version (labelled "pre-release" ;) ). You're lucky, it's almost finished.

Can you describe your monitor and your whole rig ? My guess is that your monitor, despite handling 15kHz, has an EDID and this prevails on the resolution we wish. That's an unexpected case ... I have a dirty workaround, but I'll have to find a good way for that.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #963 on: April 03, 2020, 01:40:21 am »
Hello, thanks for the answer.

Yes I know that it was a pre-release, it was labeled so as you said  :D.

However, I tested the 2020.03 before that and I got the same problem.
The rig is as following:
 GFX card is a ATI radeon HD 4350. ( I bought it cheap and also because it had support for 15khz and atom15 firmware)
 Dell Optiplex 7010. core i5 with 16gb of mem, nothing special.
 It is going in to my Arcade cab with a CRT tube, CGA only supports 15khz with a max of 624x200.
 The harness is Jamma and I'm using JPAC to connect to my computer. supports 15khz and 31khz.
 I'm currentlly having another computer running windows xp with groovy mame, which i'm not really happy with. It works but there are alot of quirks that I don't like with that setup.

Anyway, I'm trying to configure this on my bench with my LCD that supports this resolution and 15khz via vga.
And rebooting computer with the atom15 firmware i get a picture but when attracmode is starting the resolution is switched.
If I exit to gasetup the resolution goes back to the 15khz 320x240 which is the one I want.
So how do I force the resolution to be the I want ?
Shall I connect to the real monitor and re-run anything that may generate new resolution settings ?
Edit anything to force it to use 15khz monitor ?

So for me there is no great way to get this to work. Going back to the 2018 image is no good as it freezes the attracmode,
going forward I get the problem with resolution.

Any ideas are welcome. If you have a hack, I can try that to.
Best regards Par

« Last Edit: April 03, 2020, 01:29:04 pm by paaar »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #964 on: April 03, 2020, 03:11:27 am »
Here is your situation : the system is tricked by adding an officially n supported resolution at boot (320x240). But on the other side, your LCD advertises through EDID other resolutions, like any flat panel. You're lucky the system boots in 320x240 tbh, and not not on the lcd native resolution. But X is not tricked that easily, and still prefers your LCD native resolution. That's my understanding.

Before going more in-depths with the possible solutions, i'd need:
- which monitor type have you chosen after screen detection ? A 15kHz one or LCD ?
- is it me or you haven't tried your arcade monitor ? Do you need help to set it up ? I guess it doesn't fit in existing profiles, and you had your own crt profile ?
- i'd need the output of the following commands on your i stalled GA :
Code: [Select]
cat /proc/cmdline- i'd need the following files :
Code: [Select]
/home/arcade/shared/logs/groovy.log
/var/log/Xorg.0.log

Now for the solution, I think I've just had a clever idea for you! Depending on your answers, we will build a new edid that will be used by the kernel instead of your lcd edid. This will do the trick (and that's how GA was working in the March 2020 release). We may do the same for your CRT which most probably had its own crt ranges in mame.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6868
  • Last login:Yesterday at 05:34:01 pm
  • Quote me with care
Re: GroovyArcade live-CD New Release 2019
« Reply #965 on: April 03, 2020, 03:51:05 am »
So EDID emulation might find its niche use after all  8)
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #966 on: April 03, 2020, 09:31:20 am »
So EDID emulation might find its niche use after all  8)
Someone is having fun at me here  ;D
A switchres EDID flashed on a VGA dongle is the best solution ever, you can't beat that! Works with vanilla Linux kernel, may as weel work with Windows. But yeah, I never thought that we'd need EDID emulation to mask a monitor EDID that is 15khz-capable.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

cornerstone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:Yesterday at 02:50:26 pm
  • I want to build my own arcade controls!
GroovyArcade live-CD New Release 2019
« Reply #967 on: April 03, 2020, 11:38:57 am »
Is there an easy solution to Attract Mode freezing? It happens frequently when I tab out to the menu.

I havenít added any games yet, just the pre configured ones, and the only changes Iíve made are to the boot resolution. Is there any way that would affect attract mode?

Computer is an i3 with HD5750
« Last Edit: April 03, 2020, 11:42:36 am by cornerstone »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #968 on: April 03, 2020, 11:59:15 am »
Playing on interlaced is indeed unstable, need to switch to a progressive mode. You've done it before, don't forget the e
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #969 on: April 03, 2020, 01:28:18 pm »
Hello, I'll begin with the requests you have. I send you the logs for the 2020.03 as I tried that TODAY and have that installed. This will mean that the groovy.log is taken from /var/log 


- i'd need the output of the following commands on your i stalled GA :
Code: [Select]
cat /proc/cmdline


[arcade@GroovyArcade ~]$ cat /proc/cmdline
BOOT_IMAGE=../vmlinuz-linux-15khz root=/dev/disk/by-label/GA rw quiet rd.udev.log-priority=3 splash mitigations=off audit=0   initrd=../initramfs-linux-15khz.img


- i'd need the following files :
Code: [Select]
/home/arcade/shared/logs/groovy.log
/var/log/Xorg.0.log
are in the attachments.

If you want I can send you the 2020.04 logs, I will however need to install that first.


As for the arcade monitor question, I have tried generic and arcade 15khz.. no difference.
For the Windows computer I have used the generic 15khz monitor, so there has not been any generic settings for my monitor.I have been able to use the standard settings for 15khz monitor(both arcade and generic)

« Last Edit: April 03, 2020, 01:34:50 pm by paaar »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #970 on: April 03, 2020, 01:44:45 pm »
Dunno what happened, the kernel parameters it had to set are not in your installed version (see line 58 of groovy.log). So, what you should do :
- edit /boot/syslinux/syslinux.cfg, and on the line starting with append, you should add at the end drm.edid_firmware=VGA-1:edid/generic_15.bin. You may as well add monitor=generic_15, I may need it in the future.
- reboot

You should now boot in 480i. The thing is that X is quite unstable on 480i with ATI/AMD cards. So the next step would be to create a a new 240p EDID. it's pretty easy, if you're ok to go this way.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #971 on: April 03, 2020, 03:32:38 pm »
Yay , that worked, but as you said 480i seems unstable, interface freezes everywhere. So to create a 240p EDID, how do I do this on this platform ?

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #972 on: April 03, 2020, 04:57:49 pm »
Here you go, we'll do it nice:
- open a terminal/ssh
- run switchres 320 240 60 --edid --monitor "generic_15"
- then sudo mv generic_15.bin /usr/lib/firmware/edid/generic15p.bin
- now edit /etc/mkinitcpio.conf
- on line 19, starting with FILES= append before the ending double quote /usr/lib/firmware/edid/generic15p.bin
- edit /boot/syslinux/syslinux.cfg and change drm.edid_firmware=VGA-1:edid/generic_15.bin to drm.edid_firmware=VGA-1:edid/generic_15p.bin
- run mkinitcpio -p linux-15khz
- reboot
- give news
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #973 on: April 04, 2020, 03:33:47 am »
I have done this as there was a typo (generic15p.bin => generic_15p.bin)
So no problems for me but others reading this might find this helpfull.

Anyway what I did:
sudo switchres 320 240 60 --edid --monitor "generic_15"
sudo mv generic_15.bin /usr/lib/firmware/edid/generic_15p.bin
sudo nano /etc/mkinitcpio.conf
Added the in the end of FILES= on row 19, /usr/lib/firmware/edid/generic_15p.bin
 This will give a build error, later on, if there is something wrong here, which I experienced.
sudo nano /boot/syslinux/syslinux.cfg fixed the drm.edid_firmware=VGA-1:edid/generic_15p.bin monitor=generic_15
 sudo mkinitcpio -p linux-15khz
reboot

I did not work, (I got a good old 1920x1080 resolution  :D )
So I checked the dmesg and I can see this:

Code: [Select]
[arcade@GroovyArcade ~]$ dmesg | grep edid
[    0.000000] Command line: BOOT_IMAGE=../vmlinuz-linux-15khz root=/dev/disk/by-label/GA rw quiet rd.udev.log-priority=3 splash mitigations=off audit=0 drm.edid_firmware=VGA-1:edid/generic_15p.bin monitor=generic_15 initrd=../initramfs-linux-15khz.img
[    0.166028] Kernel command line: BOOT_IMAGE=../vmlinuz-linux-15khz root=/dev/disk/by-label/GA rw quiet rd.udev.log-priority=3 splash mitigations=off audit=0 drm.edid_firmware=VGA-1:edid/generic_15p.bin monitor=generic_15 initrd=../initramfs-linux-15khz.img
[    2.043102] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[    2.185933] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   24.699862] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   24.786198] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   30.083772] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   32.231309] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   32.289364] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   32.345715] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128
[   32.477001] [drm:edid_load [drm]] *ERROR* Size of EDID firmware "edid/generic_15p.bin" is invalid (expected 4224, got 128


The size of the edid(generic_15.bin) is 128 according to ls -la.
I did a quick google and nothing obvious came from that.
I also checked the groovy.log and Xorg.0.log. But that did not show anything obvious. groovy.log just had the logs from yesterday.

For me the new EDID did not load and the system used the fallback.
Any ideas ?

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #974 on: April 04, 2020, 04:17:32 am »
For some unknown reason, switchres generates an "unvalid" edid. edid-decode nor parse-edid can read it. I'll see how I can fix that and give a proper EDI if possible, I hope the standard isn't imposing some limits.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6868
  • Last login:Yesterday at 05:34:01 pm
  • Quote me with care
Re: GroovyArcade live-CD New Release 2019
« Reply #975 on: April 04, 2020, 04:48:02 am »
There must be a bug in that old Switchres code. I bet paaar's EDID has an hex 0x20 on byte 126. This makes the driver think 32 extensions follow. 128 + 32 x 128 = 4224. This is probably caused by incorrect initializing of the EDID as a char array filled with spaces (ascii 32).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #976 on: April 04, 2020, 05:23:29 am »
Spotted that, but setting byte 126 to 1 doesn't make it more valid, there is something else failing.

Edit:
solved, was testing the EDID on a GPU that can't handle such low pixel clock. Should be fine this time
« Last Edit: April 04, 2020, 05:38:02 am by Substring »
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6868
  • Last login:Yesterday at 05:34:01 pm
  • Quote me with care
Re: GroovyArcade live-CD New Release 2019
« Reply #977 on: April 04, 2020, 06:13:40 am »
In theory after that you should fix the checksum (byte 127) but probably videocards are tolerant to this due to so many existing corrupt EDIDs out there.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #978 on: April 04, 2020, 06:41:00 am »
Luckily the checksum is computed on the fly, so that part is safe and working
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #979 on: April 04, 2020, 02:01:39 pm »
Hello,
Some update info:
1. Your modded edid file did the trick! Did you just hexedit it with the correct size info or ?
2. I moved the computer to my arcade.
That did not work as I expected, I got no screen after the bios boot screen(gfx card modded with atom15).
This made the attracmode to crash. I would assume that this has to do with that there was no screen during booting and such.
And I have entered the wrong res info in the EDID creation.
I do know my monitor supports a lot of low res resolutions. I have included the spec in attachments.
As I have a working groovy mame setup with windows on it.

---

So maybe I have misunderstood something here regarding how this works.
Let me describe.(If there is something written I can read about this I'll take a look at that instead, no need to describe it here)
 
My understanding is that during install of GroovyArcade

1. Monitor and card(port) is chosen. (Nice uppgrade btw from recent isos.)
2. There is a routine that sets up the switchres.conf and mame.ini for the monitor I have chosen.
3. This should work for most setups/cards out there, but apparently not all ?

Questions:

q1: The modelines/res that the monitor supports... where are they stored and created ? are they pre generated in the choosen EDID, that is why I needed to create my own to support my resolutions ? Can I add more lines as my monitor support a lot more? I tried to check the switchres command but found that you could input one res.
q2:  How does the super resolutions work on this platform are they setup automatically or ? Do I need to do something to set this up or will it work out of the box ? Do I need to list all special modlines to get this to work ?
q3: In windows groovy mame calls switchres depending och games played. how does this work in linux ? Do I get the same res switch or are all games using the modeline I created in the EDID file ?

I hope you have the time to answer these questions.

Best regards Par.


paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #980 on: April 04, 2020, 05:05:27 pm »
I have figured out how to modify the checksum and set bit 126 to zero in the edid file.
So I can create new ones.
I will be trying out some different resolutions tomorrow.
If that does not work, I'll check the logs again to see if there is anything strange.
/P

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #981 on: April 04, 2020, 06:57:58 pm »
Regarding the EDID, I just added a line to eh C code of the EDID generator in switchres. I have to test there are no regressions for other EDIDs though, then I'll push it (should be package version 1.53.2).

Regarding your undestanding of GA:
1. the 1st part is screen detection as some monitors aren't natively detected by the GFX card. Hopefully in Linux we can force a connector to send signals by software, the kernel exposes the required "files" in sysfs (thank you for the nice upgrade comment, it's still being improved)
2. according to your setup, GA configures switchres (not that usefule to be honnest as ofr now) and mame.ini, yes
3. Tehre are indeed some edge cases like yours, but fear not, it's not that different from windows afterall

For your questions
q1. forget your windows habbits, Linux doesn't work the same way. We are pretty lucky with Linux as we can add and remove modelines on the fly, and mame does it. It's based on the monitor profile you chose earlier, and the genuine switchres does the magic by dynamically calculating the modeline depending on the monitor presets.
q2 you've understood : no super resolutions (except if you have a nvidia or intel GPU). You play at the original resoltion/refresh rate if your monitor allows it, switchres does his best. BUT: you need the right monitor specs, and as you can read in the monitor presets topic, your monitor isn't listed, so you'll have to add it yourself in mame.ini by editing the crt_range. In that case, you may need to change the monitor. I've never run into that case, but you should find some info. And Calamity may help ;) I'll also dig into the original GroovyArcade and se how crt ranges were handled.
q3 you've got your answer ;)
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #982 on: April 05, 2020, 05:53:56 am »
2 extra points:
- your monitor presets should be the exact one of vmmaker, same syntax
- I can make a 320x200 EDID
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

sharpfork

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 616
  • Last login:Yesterday at 08:23:13 pm
    • KADE
Re: GroovyArcade live-CD New Release 2019
« Reply #983 on: April 05, 2020, 04:44:42 pm »
Please be patient, I'm basically a linux noob...

I was able to get GroovyArcade installed and booting but I'm not seeing a front end.  I see a properly oriented tate splash screen (images attached are rotated :dunno) then "GroovyArcade 2019 (ttyl)".

The first time it booted it brought me to the gasetup menu.  I redid my setup and chose retroFE Attract-Mode as a frontend.

I used this guide and did everything but the [arcade@GroovyArcade ~]$ vi /home/arcade/ume.ini as there is no ume.ini file and it seemed like it was just to clear out the nag screen.

- I can SSH into the box
- I can connect via SMB
- I reran gasetup after SSHing in and still no change
- I reran gasetup again and tried attract mode, no change
- I nuked the drive and reran the setup, same result.
- I haven't added any roms beyond was was in the base install

- I have no idea where to grab logs to post
- Any advice will be appreciated!

my rig for this endeavor: Core i5-4670K 3.4GHz Quad-Core + Radeon HD 5450 1GB --VGA-->  Retrotek VGACTV1 --componen--> 480 TV

« Last Edit: April 05, 2020, 06:47:56 pm by sharpfork »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #984 on: April 05, 2020, 05:46:42 pm »
Does it work with the default frontend, Attract Mode ?
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

sharpfork

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 616
  • Last login:Yesterday at 08:23:13 pm
    • KADE
Re: GroovyArcade live-CD New Release 2019
« Reply #985 on: April 05, 2020, 06:51:06 pm »
Does it work with the default frontend, Attract Mode ?
Thanks for the response.
Sorry, I meant Attract-Mode (fixed original post).
It does the same thing in AdvanceMENUPlus and Attract-Mode.
When I set it to LXDE Desktop, I get the attached photo

Where can I grab the logs from?


Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #986 on: April 06, 2020, 12:16:44 pm »
So that we don't waste too much time investigating, may I suggest you try as a livecd (don't install, wait for the next stable release that should come in a few days) this version ? Just burn on a USB key the uncompressed .xz file, boot on it in BIOS mode (not UEFI), and follow the white rabbit.
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

sharpfork

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 616
  • Last login:Yesterday at 08:23:13 pm
    • KADE
Re: GroovyArcade live-CD New Release 2019
« Reply #987 on: April 06, 2020, 10:33:49 pm »
So that we don't waste too much time investigating, may I suggest you try as a livecd (don't install, wait for the next stable release that should come in a few days) this version ? Just burn on a USB key the uncompressed .xz file, boot on it in BIOS mode (not UEFI), and follow the white rabbit.

Sure, sounds reasonable.

Any tips on where to find logs?

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #988 on: Yesterday at 03:02:53 am »
Depends on which logs you wish. The most revelant one, for me, is /home/arcade/shared/logs/groovy.log

/var/log/Xorg.0.log would help too
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

golvellius

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:Yesterday at 05:30:28 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #989 on: Yesterday at 10:35:17 am »
Hello ..
I the past i am using a pandora box , but today i want to change it with a PC configuration.
I have installed version 2020.04 on my PC config : TV 14'' CRT, intel core duo , amd hd4450 modded with atom, using vga output with a selfmade vga to rgb cable. Everything works .. but i have one question ..

I am testing with this 14''tv but after installing in the harddisk the config was video=320x240S and it is like a zoom in all of the images also resolution it is not good.
At the end i have changed syslinux.cfg  and use 640x480iS.  it is a good resolution for an arcade monitor  or i need to use the other resolution ... ?
Or maybe i do not understand some stuff ... ;(
Thanks for all these supperb work ...

Bye.
« Last Edit: Yesterday at 11:08:07 am by golvellius »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #990 on: Yesterday at 11:46:03 am »
Hello ..
I the past i am using a pandora box , but today i want to change it with a PC configuration.
I have installed version 2020.04 on my PC config : TV 14'' CRT, intel core duo , amd hd4450 modded with atom, using vga output with a selfmade vga to rgb cable. Everything works .. but i have one question ..

I am testing with this 14''tv but after installing in the harddisk the config was video=320x240S and it is like a zoom in all of the images also resolution it is not good.
At the end i have changed syslinux.cfg  and use 640x480iS.  it is a good resolution for an arcade monitor  or i need to use the other resolution ... ?
Or maybe i do not understand some stuff ... ;(
Thanks for all these supperb work ...

Bye.
I love your nickname, loved the game with the same name ;)
230x240 is indeed 1/4th of the area ot 640x480. Everything is smaller, but just for text parts or desktop. You hardly need to go back there unless there is a real necessity. When running the frontend, you shouldn't see much difference.
The problem with 640x480i, is the interlace that often crashes the display server, so AM picture gets frozen, inputs don't work anymore. You just hear the music ...
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #991 on: Yesterday at 04:05:19 pm »
Update:
So this was to be sent a couple of days ago, but it got stuck on the posting, due to .log wasn't allowed as an attachment.
I did not see that it wasn't sent until now.

So generating new EDID files with different resolutions that I know should work with the monitor does not work.
I keep getting a dark screen when booting(after bios post, bios shows so the screen is connected correctly).
I can't see anything useful in dmesg before this line:
Code: [Select]
[   40.127081] attract[883]: segfault at 0 ip 00007f8960ff7a09 sp 00007ffde2c4ef50 error 4 in libsfml-window.so.2.5.1[7f8960ff2000+18000]I think that is an error caused by that there is no screen.

So I've checked the Xorg log and for me it says that there is nothing connected to the VGA port, even though I have arcade monitor through my JPAC connected. Connecting to an arcade monitor might not have all the needed VGA signals ???
If this is actually the problem, can I force Xorg to use vga and enable it ?

JPAC FAQ
https://www.arcadeworlduk.com/pages/JPAC-FAQ.html
As I understand it the JPAC design does not adds any signals that does something more with the signal.

 
« Last Edit: Yesterday at 04:07:59 pm by paaar »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 334
  • Last login:Yesterday at 07:35:24 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD New Release 2019
« Reply #992 on: Yesterday at 04:49:52 pm »
check /home/arcade/shared/logs/attract.log, I'm pretty sure attract mentions an error.

Out of curiosity, is your monitor attached to the primary video device ?

Edit:
Xorg reports alsmot no screen. But worse: it didn't prove the EDID you've forced, there is something wrong somehow.

Can you run the snippet below and give the the result ?
Code: [Select]
for p in /sys/class/drm/card? ; do
  id=$(basename `readlink -f $p/device`)
  # now match with lspci
  name=$(lspci -mms $id | cut -d '"' -f4,6 --output-delimiter=" ")
  cardnum=$(basename $p)
  echo "$cardnum: $name"
  for p in /sys/class/drm/${cardnum}-*/status; do
    con=${p%/status}
    bus=$(ls -d "$con"/i2c-* 2>/dev/null)
    echo -n "  ${con#*/card?-}: $(cat $p)"
    [[ -n $bus ]] && echo -n " - Has i2c"
    edid_size=$(cat "$con"/edid | wc -c)
    [[ $edid_size > 0 ]] && echo -n " - Found an EDID"
    echo -e "\nList of video modes:"
    cat "$con"/modes
  done
done

You may also enable groovyarcade testing repo (edit /etc/pacman.d/groovy-ux-repo.conf and remove # on the 3 first lines), run sudo pacman -Sy switchres, confirm you want to upgrade.You now have a good version of switchres that can build a 320x240 edid like explained earlier.
« Last Edit: Yesterday at 04:58:11 pm by Substring »
GroovyMAME / GroovyArcade discord: https://discord.gg/YtQ6pJh
GroovyArcade doc: https://gitlab.com/groovyarcade/support/-/wikis/home

paaar

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:Yesterday at 05:14:15 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #993 on: Yesterday at 05:14:15 pm »
Ok I'll try this first thing in the morning.
I assume you mean a primary gfx interface on the motherboard ? yes there is one, intel chipset, with a vga port, which I do not use.
I only have the hd4450 connected.
 
Follow up question on that, should I switch? Do I really need to use my hd4450 or has that card played out it's role as a one of the 15khz card that should be used ?

Regards Par

golvellius

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:Yesterday at 05:30:28 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2019
« Reply #994 on: Yesterday at 05:29:17 pm »
Hello ..
I the past i am using a pandora box , but today i want to change it with a PC configuration.
I have installed version 2020.04 on my PC config : TV 14'' CRT, intel core duo , amd hd4450 modded with atom, using vga output with a selfmade vga to rgb cable. Everything works .. but i have one question ..

I am testing with this 14''tv but after installing in the harddisk the config was video=320x240S and it is like a zoom in all of the images also resolution it is not good.
At the end i have changed syslinux.cfg  and use 640x480iS.  it is a good resolution for an arcade monitor  or i need to use the other resolution ... ?
Or maybe i do not understand some stuff ... ;(
Thanks for all these supperb work ...

Bye.
I love your nickname, loved the game with the same name ;)
230x240 is indeed 1/4th of the area ot 640x480. Everything is smaller, but just for text parts or desktop. You hardly need to go back there unless there is a real necessity. When running the frontend, you shouldn't see much difference.
The problem with 640x480i, is the interlace that often crashes the display server, so AM picture gets frozen, inputs don't work anymore. You just hear the music ...

YESS .. My nickname it's the first MSX game that i have finished when i was a child !!!
Thanks..

Ok i Understand ...

But now i have another problem, maybe it is not from your part ,  but if someone can help me ... !!

a) If i connect the PC to a TV 14'' --everything works...
b) If i connect to my ARCADE CRT original board (Intervideo vp250) only i see the boot of the bios, when logo start i get black ... ;(.
c) If i used the same cable with raspberrypi + vga666 it works ok ..
d) If i used pandorabox works ...

Maybe it is a AMD hd4450 Atom driver problem ?

Can i configure more things in the distro ? i Mean touching the khz rate ..
In the intervideo manual it tells me that value must be 15,625 +- 500mhz.

Thanks for your patience ...