Main > Linux

32/64bit Groovy Arcade Linux LiveCD/Install

Pages: << < (35/63) > >>

bitbytebit:


--- Quote from: gabe on May 25, 2011, 11:13:29 am ---First and foremost, I would like to thank you for your contributions to the community. As a newcomer to this hobby, I was absolutely shocked by the lack of Linux support. As others in this thread have stated, Linux seems like the obvious choice for a dedicated arcade cabinet.


--- Quote from: bitbytebit ---Also I have the complete build scripts and extra files needed to build the Groovy Arcade Linux liveCD distribution from scratch, although not recommended because of the effort and having it already built for you, it is available for the curious.
--- End quote ---

I don't like Samba being installed and configured for me. I prefer a text editor to Webmin, and I have no desire to emulate home consoles (I'm happy with MAME). I don't want FVWM and LXDE installed... Nor do I need Midnight Commander, Chromium, etc etc.

I understand why the distribution is setup this way, but it would be nice if there was a "minimal" install option, or perhaps an "advanced setup" that allowed the user to deselect packages. If that is not an option, I would be very interested in any information on "rolling my own" install of Groovy Arcade Linux.

I gather that Groovy is Gentoo based. Beyond that, things get a bit fuzzy. It sounds like Groovy might be using a custom patched kernel? If I installed and configured Gentoo to my liking, what would I need to do to get SwitchRes, GroovyMAME, etc humming along on my Wells Gardner monitor? Is it as simple as grabbing the ebuilds?

I understand you are not a documentation writer, but I'm willing to help. If you can point me in the right direction, I would be more than happy to create a proper "Custom Groovy Install" howto... Unless of course, this goes against the project's goals.

Cheers!

--- End quote ---

Yeah I'm in the middle of moving right now, haven't had any time to do extra stuff, sorry about getting back to you late. 

I agree, the extra stuff isn't necessary, I actually could make a script to run and it would remove all the extras.  In Gentoo it's easy to completely remove all those packages, with the emerge command.  If you read up some on Gentoo, and how emerge works, you'll see the ways you can remove packages and the dependencies too, or add packages.  I'll look into writing a script to remove that stuff, or if you figure it  out before me that would be a wonderful contribution.  Also thanks for offering to write documentation, it would be great.

It's a patched kernel, to allow the console to be 15khz with the proper video= kernel command line added in grub to activate it.  There's 2 patches in the kernel/patches/ subdirectory in the git repository that are the ones used.

gabe:

You replied within 12 hours of my post. I hardly consider that late. :)

I can probably handle a simple bash script to remove packages and dependencies. I'll dig into the Gentoo/emerge documentation and see what I can come up with.

Thanks for the tips. I'll report back with my findings.

gabe:

After tinkering with various setups for the past week, I've decided that I'd rather patch together a custom solution using Arch (my distribution of choice). I still plan on documenting my findings, and possibly submitting some Arch PKGBUILDs... But I have a few questions.

I falsely assumed I would be able to use my AVGA3000 with a vanilla kernel and open source ATI Drivers... When Googling the complaints found in dmesg, I was brought back here to find that you have already solved this problem. :) For my particular case, am I correct in assuming that the only kernel patch of yours I need is avga3000.diff?

I also have some questions about building GroovyMAME, but I don't want to pollute this thread too much. Would you rather I create a new thread?

Thanks!








bitbytebit:


--- Quote from: gabe on June 03, 2011, 04:54:25 pm ---After tinkering with various setups for the past week, I've decided that I'd rather patch together a custom solution using Arch (my distribution of choice). I still plan on documenting my findings, and possibly submitting some Arch PKGBUILDs... But I have a few questions.

I falsely assumed I would be able to use my AVGA3000 with a vanilla kernel and open source ATI Drivers... When Googling the complaints found in dmesg, I was brought back here to find that you have already solved this problem. :) For my particular case, am I correct in assuming that the only kernel patch of yours I need is avga3000.diff?

I also have some questions about building GroovyMAME, but I don't want to pollute this thread too much. Would you rather I create a new thread?

Thanks!








--- End quote ---

Try all patches, they won't hurt and best to apply both of them (the avga and general linux diffs).  Also you need the hd2600.bin vbios for the ATI generic HD2600 card too, it makes the AVGA3000 into a normal Radeon ATI card, and allows it to work with the ATI DRM interface in the Linux kernel.  That is located under /lib/firmware/radeon/ in the ISO image, so you can boot the CD and scp that file from it, copy it somewhere, and make sure it's available for the patches to use.  Also make sure you use the .config file from the git repository too as a starter for compiling the kenrel, there are a few important lines in there to make the ATI drivers in Linux work right.  That is located under the /kernel/ directory I think in the git repository.  Hopefully you can figure all that out from this, I don't have tons of time right now, but mostly should be enough to help you get it working in Arch Linux.  Someone else had issues getting a kernel compiled with the patches in another distribution, but will be interesting how it work for you.  It's another thing I'd like to look at eventually, when I have more time :).

gabe:

I finally got around to trying this in Arch.

I successfully patched and compiled the kernel. The new kernel boots, and recognizes that I have an AVGA3000... But then I run into problems. I've attached what I assume to be the relevant errors from kernel.log. I'm out of time to tinker for the evening, but I'll be back at it tomorrow. If you have any ideas, I would love to hear them.

I should note that at the moment, I am running this on a 17" CRT computer monitor using a DVI-->VGA adapter.

This is where my monitor scrambles:


--- Code: ---Jun 14 17:52:39 localhost kernel: [   62.246249] [drm] Loading RV630 Microcode
Jun 14 17:52:39 localhost kernel: [  123.200108] r600_cp: Failed to load firmware "radeon/R600_rlc.bin"
Jun 14 17:52:39 localhost kernel: [  123.200153] [drm:r600_startup] *ERROR* Failed to load firmware!
Jun 14 17:52:39 localhost kernel: [  123.200195] radeon 0000:01:00.0: disabling GPU acceleration
Jun 14 17:52:39 localhost kernel: [  123.201275] radeon 0000:01:00.0: ffff88007a08e400 unpin not necessary
Jun 14 17:52:39 localhost kernel: [  123.201317] radeon 0000:01:00.0: ffff88007a08e400 unpin not necessary
--- End code ---

The rest, for context:


--- Code: ---Jun 14 17:52:39 localhost kernel: [    1.010372] [drm] Initialized drm 1.1.0 20060810
Jun 14 17:52:39 localhost kernel: [    1.010425] [drm] radeon defaulting to kernel modesetting.
Jun 14 17:52:39 localhost kernel: [    1.010466] [drm] radeon kernel modesetting enabled.
Jun 14 17:52:39 localhost kernel: [    1.010581] radeon 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Jun 14 17:52:39 localhost kernel: [    1.010625] radeon 0000:01:00.0: setting latency timer to 64
Jun 14 17:52:39 localhost kernel: [    1.011946] [drm] initializing kernel modesetting (RV630 0x1002:0x958F).
Jun 14 17:52:39 localhost kernel: [    1.012002] [drm] register mmio base: 0xFEAF0000
Jun 14 17:52:39 localhost kernel: [    1.012043] [drm] register mmio size: 65536
Jun 14 17:52:39 localhost kernel: [    1.012089] ArcadeVGA 3000 board found
Jun 14 17:52:39 localhost kernel: [    1.760138] Refined TSC clocksource calibration: 3000.170 MHz.
Jun 14 17:52:39 localhost kernel: [    1.760183] Switching to clocksource tsc
Jun 14 17:52:39 localhost kernel: [   62.244611] ATOM BIOS: 102
Jun 14 17:52:39 localhost kernel: [   62.244678] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
Jun 14 17:52:39 localhost kernel: [   62.244722] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
Jun 14 17:52:39 localhost kernel: [   62.244937] [drm] Detected VRAM RAM=512M, BAR=256M
Jun 14 17:52:39 localhost kernel: [   62.244984] [drm] RAM width 128bits DDR
Jun 14 17:52:39 localhost kernel: [   62.245106] [TTM] Zone  kernel: Available graphics memory: 1025478 kiB.
Jun 14 17:52:39 localhost kernel: [   62.245150] [TTM] Initializing pool allocator.
Jun 14 17:52:39 localhost kernel: [   62.245203] [drm] radeon: 512M of VRAM memory ready
Jun 14 17:52:39 localhost kernel: [   62.245244] [drm] radeon: 512M of GTT memory ready.
Jun 14 17:52:39 localhost kernel: [   62.245299] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Jun 14 17:52:39 localhost kernel: [   62.245340] [drm] Driver supports precise vblank timestamp query.
Jun 14 17:52:39 localhost kernel: [   62.245416] radeon 0000:01:00.0: irq 42 for MSI/MSI-X
Jun 14 17:52:39 localhost kernel: [   62.245421] radeon 0000:01:00.0: radeon: using MSI.
Jun 14 17:52:39 localhost kernel: [   62.245483] [drm] radeon: irq initialized.
Jun 14 17:52:39 localhost kernel: [   62.245523] [drm] GART: num cpu pages 131072, num gpu pages 131072
Jun 14 17:52:39 localhost kernel: [   62.246249] [drm] Loading RV630 Microcode
Jun 14 17:52:39 localhost kernel: [  123.200108] r600_cp: Failed to load firmware "radeon/R600_rlc.bin"
Jun 14 17:52:39 localhost kernel: [  123.200153] [drm:r600_startup] *ERROR* Failed to load firmware!
Jun 14 17:52:39 localhost kernel: [  123.200195] radeon 0000:01:00.0: disabling GPU acceleration
Jun 14 17:52:39 localhost kernel: [  123.201275] radeon 0000:01:00.0: ffff88007a08e400 unpin not necessary
Jun 14 17:52:39 localhost kernel: [  123.201317] radeon 0000:01:00.0: ffff88007a08e400 unpin not necessary
Jun 14 17:52:39 localhost kernel: [  123.201360] [drm] Enabling audio support
Jun 14 17:52:39 localhost kernel: [  123.201404] failed to evaluate ATIF got AE_BAD_PARAMETER
Jun 14 17:52:39 localhost kernel: [  123.201536] [drm] Radeon Display Connectors
Jun 14 17:52:39 localhost kernel: [  123.201576] [drm] Connector 0:
Jun 14 17:52:39 localhost kernel: [  123.201615] [drm]   DVI-I
Jun 14 17:52:39 localhost kernel: [  123.201654] [drm]   HPD1
Jun 14 17:52:39 localhost kernel: [  123.201694] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
Jun 14 17:52:39 localhost kernel: [  123.201737] [drm]   Encoders:
Jun 14 17:52:39 localhost kernel: [  123.201776] [drm]     DFP1: INTERNAL_KLDSCP_TMDS1
Jun 14 17:52:39 localhost kernel: [  123.201816] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
Jun 14 17:52:39 localhost kernel: [  123.201856] [drm] Connector 1:
Jun 14 17:52:39 localhost kernel: [  123.201895] [drm]   VGA
Jun 14 17:52:39 localhost kernel: [  123.201935] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
Jun 14 17:52:39 localhost kernel: [  123.201978] [drm]   Encoders:
Jun 14 17:52:39 localhost kernel: [  123.202017] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Jun 14 17:52:39 localhost kernel: [  123.202057] [drm]     DFP2: INTERNAL_LVTM1
Jun 14 17:52:39 localhost kernel: [  123.266520] [drm] radeon: power management initialized
Jun 14 17:52:39 localhost kernel: [  123.341662] [drm] fb mappable at 0xD0040000
Jun 14 17:52:39 localhost kernel: [  123.341706] [drm] vram apper at 0xD0000000
Jun 14 17:52:39 localhost kernel: [  123.341745] [drm] size 3145728
Jun 14 17:52:39 localhost kernel: [  123.341784] [drm] fb depth is 24
Jun 14 17:52:39 localhost kernel: [  123.341823] [drm]    pitch is 4096
Jun 14 17:52:39 localhost kernel: [  123.565287] Console: switching to colour frame buffer device 128x48
Jun 14 17:52:39 localhost kernel: [  123.567922] fb0: radeondrmfb frame buffer device
Jun 14 17:52:39 localhost kernel: [  123.567923] drm: registered panic notifier
Jun 14 17:52:39 localhost kernel: [  123.567977] [drm] Initialized radeon 2.8.0 20080528 for 0000:01:00.0 on minor 0
--- End code ---


Pages: << < (35/63) > >>

Go to full version