Main > Linux

32/64bit Groovy Arcade Linux LiveCD/Install

<< < (6/63) > >>

bitbytebit:

--- Quote from: Quinny on December 08, 2010, 08:26:48 am ---
--- Quote from: bitbytebit on December 07, 2010, 11:09:43 pm ---New .iso images are up which should work with usb booting now hopefully, also has the change to possibly fix the bad fuzzy resolution for some PAL modelines, and have removed the 'e' part of the boot command for PAL mode (so no longer have to edit the grub config for it).  Let me know how the USB goes and if X Windows acts any better too, and how the new modelines work.  

--- End quote ---

Unfortunately it still does not work from a USB stick and gives me the same error that I got above.
So I am using the previous version to test with from a CD (not the latest because I am running low on CDs):
I am using only the monitor with the TV unplugged and using PAL mode from the GRUB menu, since I would expect the monitor to display nothing (out of range) and it's easier for me to get the logs and show why it isn't changing resolutions.

cat /proc/cmdline shows:
real_root=/dev/loop0 looptype=squashfs loop=/livecd.squashfs initrd udev nodevfs cdroot dodmraid  video=768x576ec

I don't see anything in /home/arcade/.gentooarcade/
/home/arcade is writeable

create_xorg.pl: command not found

I have attached the logs you asked me to attach earlier.

--- End quote ---

It's odd that there's no /etc/X11/xorg.conf file being created, and your logs show that, it's not setting up the xorg.conf file.  Also is there a /etc/switchres.conf?  That also might explain switchres not working, although if that's created then it's really odd because that is created when the xorg.conf is.  Also strange there's no files under /home/arcade/.gentooarcade/ at all, should create an xorg.conf and put it there to and use that after the first one is created.  

One thing though is that the TV should be connected to the first video card output, the second one won't be used actually for X Windows so that could explain some issues.  It at least shouldn't when the xorg.conf file is created since it's hard to be able to setup one for all situations like that and like Soft15Khz it's really needing the first video card output to be the arcade output (and have to run all stuff on that output too for starting up things).  The whole way the video card dual output works is really tricky to setup generically in xorg.conf and something I haven't touched on exploring yet, but for now am trying to make it the simple one output case.  So that could be one thing causing it not to work as expected, although it's just really odd the xorg.conf isn't there.  Manually creating it with the `/root/create_xorg.pl pal >/etc/X11/xorg.conf` command is a work around but I'm really curious why it's not working in the first place.  




Update:

Another thing to check, have you got a directory already setup as /home/arcade for mounting?  If so, try removing the .gentooarcade/ directory for that partition/drive.  If there's already a config setup there it might cause some issues with getting things setup at first since it thinks they already have been.  That might explain why the xorg.conf isn't being created.   Basically remove that .gentooarcade directory if it exists and reboot, or from another installed system on the machine.

bitbytebit:
Something to try, on the usbstick edit /boot/grub/menu.lst and change the following...

Remove the 'cdroot' option and replace with root=/dev/XXX   where XXX is the device your usb stick will show up as to the system.  That might allow it to find it, and not use the cdrom for the root directory (which is what cdroot seems to force).

If that doesn't work then try 'cdroot=/dev/XXX' instead, that might act different I think.  From what I can tell this is the issue, finding the USB stick as the root drive which right now the grub setup is told it's a CD so it tries to use the cdrom as the root which is why you don't see the squashfs file in /. 

Quinny:

--- Quote from: bitbytebit on December 08, 2010, 03:27:04 pm ---Something to try, on the usbstick edit /boot/grub/menu.lst and change the following...

Remove the 'cdroot' option and replace with root=/dev/XXX   where XXX is the device your usb stick will show up as to the system.  That might allow it to find it, and not use the cdrom for the root directory (which is what cdroot seems to force).

If that doesn't work then try 'cdroot=/dev/XXX' instead, that might act different I think.  From what I can tell this is the issue, finding the USB stick as the root drive which right now the grub setup is told it's a CD so it tries to use the cdrom as the root which is why you don't see the squashfs file in /. 

--- End quote ---

I still can't get this to work. Changing those settings didn't help. Using root=... locks up when it tries to mount root.

However I have good news! Now I am testing with only the TV connected. It is connected via a SCART-VGA cable. There's a sticky thread in the Monitor forum about how to do this. Mine is working quite well. This connects to RGB SCART on the TV.
I found the free roms in /data/roms. When I use "switchres <rom> --monitor pal" I seem to be getting the right resolution!! YAY!
I've only tested with some of the roms so far. Some colours (red in particular) bleed a bit but I suspect that is a hardware issue.

X still will not let me see a decent resolution! Configuring the xorg, copying it and running startup.pl caused a crash. Plus I can't see what I am doing so it's all guess work.
I noticed this line when it boots:
Use of uninitialized value $k in string ne in at ./startup.pl line 112

That is possibly why startup doesn't run and there's no xorg.conf file.

So the only issue I have at the moment is getting a resolution in X that I can see with.

bitbytebit:

--- Quote from: Quinny on December 09, 2010, 10:02:45 am ---
--- Quote from: bitbytebit on December 08, 2010, 03:27:04 pm ---Something to try, on the usbstick edit /boot/grub/menu.lst and change the following...

Remove the 'cdroot' option and replace with root=/dev/XXX   where XXX is the device your usb stick will show up as to the system.  That might allow it to find it, and not use the cdrom for the root directory (which is what cdroot seems to force).

If that doesn't work then try 'cdroot=/dev/XXX' instead, that might act different I think.  From what I can tell this is the issue, finding the USB stick as the root drive which right now the grub setup is told it's a CD so it tries to use the cdrom as the root which is why you don't see the squashfs file in /. 

--- End quote ---

I still can't get this to work. Changing those settings didn't help. Using root=... locks up when it tries to mount root.

However I have good news! Now I am testing with only the TV connected. It is connected via a SCART-VGA cable. There's a sticky thread in the Monitor forum about how to do this. Mine is working quite well. This connects to RGB SCART on the TV.
I found the free roms in /data/roms. When I use "switchres <rom> --monitor pal" I seem to be getting the right resolution!! YAY!
I've only tested with some of the roms so far. Some colours (red in particular) bleed a bit but I suspect that is a hardware issue.

X still will not let me see a decent resolution! Configuring the xorg, copying it and running startup.pl caused a crash. Plus I can't see what I am doing so it's all guess work.
I noticed this line when it boots:
Use of uninitialized value $k in string ne in at ./startup.pl line 112

That is possibly why startup doesn't run and there's no xorg.conf file.

So the only issue I have at the moment is getting a resolution in X that I can see with.


--- End quote ---

Great, at least for the resolutions working :) I need to get a USB stick tonight and figure that out, sounds good to get that working and it probably is just some weird grub thing or I might need to make a custom linuxrc for the initrd ram disk.

I am making quite a few changes in setup, I think I might see some of the issue happening with the main X setup and so hopefully these fix that.  I'm also working on using the lxde window manager, setup having more options, and wahcade setup during setup.  I think the xorg.conf issue might be something about how my logic in the startup.pl script works, I did fix that $k issue actually but also have now reworked that whole part to be a bit nicer in how it figures out what boot prompt was chosen. 

Will let you know when I figure out the USB stick part, and hopefully later tonight will have an .iso at least with fixes to xorg.conf setup which hopefully will allow the normal desktop display to work for you too.  I think that's mostly just my xorg.conf setup had an issue or two, hopefully is the problem and is fixed.

This new way I'm doing the output hopefully will work, you'll need to test it and might be some issue with the grub command line.  I'm trying to do things where the first output is the only one used, and choosing the specific output which can be DVI/VGA or TV.  I am seeing yours is DVI-I-1: from your logs, so on this new grub menu there will be a [PAL DVI Output] option.  That way the other TV one will be for S-Video type setups.  What this will do is get what your seeing now most likely even if your other monitor was connected originally, since it seems that as your seeing the whole xrandr setup only really works if only one 'monitor' for the mode switching is attached/enabled.  It seems in X Windows the two video outputs of the card are always combined together with modeswitching like we are doing and also very tricky to tell which one your actually using actively.  So that should explain what you saw before, and now, which hopefully I've made this become less tricky to figure out with the way I'm turning off all other outputs besides the main one for the arcade/TV monitor.

Quinny:

--- Quote from: bitbytebit on December 09, 2010, 10:29:43 am ---This new way I'm doing the output hopefully will work, you'll need to test it and might be some issue with the grub command line.  I'm trying to do things where the first output is the only one used, and choosing the specific output which can be DVI/VGA or TV.  I am seeing yours is DVI-I-1: from your logs, so on this new grub menu there will be a [PAL DVI Output] option.  That way the other TV one will be for S-Video type setups.  What this will do is get what your seeing now most likely even if your other monitor was connected originally, since it seems that as your seeing the whole xrandr setup only really works if only one 'monitor' for the mode switching is attached/enabled.  It seems in X Windows the two video outputs of the card are always combined together with modeswitching like we are doing and also very tricky to tell which one your actually using actively.  So that should explain what you saw before, and now, which hopefully I've made this become less tricky to figure out with the way I'm turning off all other outputs besides the main one for the arcade/TV monitor.

--- End quote ---

Just from what I noticed. With the AVGA 3000, it has a VGA port and DVI port. The VGA port is the only one that can be used with an arcade monitor/TV. The DVI one is only for computer monitors. With both connected, the computer monitor (DVI port) is DVI-1 and the TV is DVI-0. With only the TV connected (VGA port) it shows up as DVI-1. So I am not sure if this confusion will impact on what you are doing.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version