Date: Sun, 4 Jan 2004 19:30:51 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Subject: Graphics mode on a Compaq Armada 1580? Message-ID: <20040104193051.591e4e10.torfinn.ingolfsen@broadpark.no>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart_Sun__4_Jan_2004_19:30:51_+0100_081d2000 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit A friend gave me this old laptop, and I am trying to turn it into a digital pictureframe. The laptop is a Compaq Armada 1580DMT. It has a Pentium/P55C processor @ 150MHz, 16MB RAM, a 2 GB hard drive and a cd-rom. The LCD screen is 800x600, and it has a Cirrus Logic GD7548 graphics controller with 1 MB of VideoRAM. (I told you it was an old laptop.) So, how do I turn it into a picture frame? I installed FreeBSD 4.9-RELEASE on it, and then I have two options: a) install SVGAlib and seejpeg or zgv b) install XFree86 and use xloadimage or another program to show the pictures on the X root window Option a. I installed SVGAlib, and seejpeg. However, testing with vgatest shows that SVGAlib only detects the GD7548 as having 512k memory, and this limits my display options somewhat (I get 800x600 with 256 colors, so it's not too bad). Does anybody know how to make svaglib see the full 1MB of VideoRAM on this machine? Sadly, zgv is not ported to FreeBSD, and it doesn't look like an easy task to do so. Option b. I have XFree86 4.3.0 installed, my /etc/X11/XF86Config set up, and when I start XFree86 on its own, I get a screen and can move the mouse, and kill the X server (with Ctrl-Alt-Backspace). Everything working, right? Unfortunately, no. When I try to start XFree86 with just one client (ie. 'xterm -geometry +0-100' in my .xinitrc), the X screen freezes before the client comes up on the display. I can see the grey screen, but the mouse cursor is not moving. Using ps and top, I can see that the XFree86 process is running, the xterm process is idle. I can kill the XFree86 process, but then the text terminals (Alt-F1 etc.) are also dark. No error messages in any logs. I have to shutdown the machine in order to get the display working again. Hmm... just a minute. Ok, setting the NoAccel option in the XF86Config fixed that. The problem is that it takes a while to start up the X server. Do I need to trim my XFree86 setup in order to reduce memory usage? (see the attached XF86Config file) Finally, does anybody know of a nice script to do the picture slideshow? I will load pictures either from a CD, or from a network share (Samba). -- Torfinn Ingolfsen, Norway --Multipart_Sun__4_Jan_2004_19:30:51_+0100_081d2000 Content-Type: application/octet-stream; name="XF86Config.frame" Content-Disposition: attachment; filename="XF86Config.frame" Content-Transfer-Encoding: base64 U2VjdGlvbiAiU2VydmVyTGF5b3V0IgoJSWRlbnRpZmllciAgICAgIlhGcmVlODYgQ29uZmlndXJl ZCIKCVNjcmVlbiAgICAgIDAgICJTY3JlZW4wIiAwIDAKCUlucHV0RGV2aWNlICAgICJNb3VzZTAi ICJDb3JlUG9pbnRlciIKCUlucHV0RGV2aWNlICAgICJLZXlib2FyZDAiICJDb3JlS2V5Ym9hcmQi CkVuZFNlY3Rpb24KClNlY3Rpb24gIkZpbGVzIgoJUmdiUGF0aCAgICAgICIvdXNyL1gxMVI2L2xp Yi9YMTEvcmdiIgoJTW9kdWxlUGF0aCAgICIvdXNyL1gxMVI2L2xpYi9tb2R1bGVzIgoJRm9udFBh dGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvbWlzYy8iCglGb250UGF0aCAgICAgIi91 c3IvWDExUjYvbGliL1gxMS9mb250cy9TcGVlZG8vIgoJRm9udFBhdGggICAgICIvdXNyL1gxMVI2 L2xpYi9YMTEvZm9udHMvVHlwZTEvIgoJRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEv Zm9udHMvNzVkcGkvIgoJRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvMTAw ZHBpLyIKRW5kU2VjdGlvbgoKU2VjdGlvbiAiTW9kdWxlIgoJTG9hZCAgImRiZSIKCUxvYWQgICJk cmkiCglMb2FkICAiZXh0bW9kIgoJTG9hZCAgImdseCIKCUxvYWQgICJyZWNvcmQiCglMb2FkICAi eHRyYXAiCglMb2FkICAic3BlZWRvIgoJTG9hZCAgInR5cGUxIgpFbmRTZWN0aW9uCgpTZWN0aW9u ICJJbnB1dERldmljZSIKCUlkZW50aWZpZXIgICJLZXlib2FyZDAiCglEcml2ZXIgICAgICAia2V5 Ym9hcmQiCkVuZFNlY3Rpb24KClNlY3Rpb24gIklucHV0RGV2aWNlIgoJSWRlbnRpZmllciAgIk1v dXNlMCIKCURyaXZlciAgICAgICJtb3VzZSIKCU9wdGlvbgkgICAgIlByb3RvY29sIiAiYXV0byIK CU9wdGlvbgkgICAgIkRldmljZSIgIi9kZXYvc3lzbW91c2UiCkVuZFNlY3Rpb24KClNlY3Rpb24g Ik1vbml0b3IiCglJZGVudGlmaWVyICAgIk1vbml0b3IwIgoJVmVuZG9yTmFtZSAgICJDb21wYXEi CglNb2RlbE5hbWUgICAgIkFybWFkYSAxNTgwRE1UIExDRCIKCUhvcml6U3luYwkyOCAtIDQwCglW ZXJ0UmVmcmVzaAk0MyAtIDcyCkVuZFNlY3Rpb24KClNlY3Rpb24gIkRldmljZSIKICAgICAgICAj IyMgQXZhaWxhYmxlIERyaXZlciBvcHRpb25zIGFyZTotCiAgICAgICAgIyMjIFZhbHVlczogPGk+ OiBpbnRlZ2VyLCA8Zj46IGZsb2F0LCA8Ym9vbD46ICJUcnVlIi8iRmFsc2UiLAogICAgICAgICMj IyA8c3RyaW5nPjogIlN0cmluZyIsIDxmcmVxPjogIjxmPiBIei9rSHovTUh6IgogICAgICAgICMj IyBbYXJnXTogYXJnIG9wdGlvbmFsCiAgICAgICAgI09wdGlvbiAgICAgIkhXY3Vyc29yIiAgICAg ICAgICAgCSMgWzxib29sPl0KICAgICAgICBPcHRpb24gICAgICJOb0FjY2VsIiAgICAgICAgICAg IAkjIFs8Ym9vbD5dCiAgICAgICAgI09wdGlvbiAgICAgIk1NSU8iICAgICAgICAgICAgICAgCSMg Wzxib29sPl0KICAgICAgICAjT3B0aW9uICAgICAiU2hhZG93RkIiICAgICAgICAgICAJIyBbPGJv b2w+XQogICAgICAgICNPcHRpb24gICAgICJSb3RhdGUiICAgICAgICAgICAgIAkjIFs8c3RyPl0K ICAgICAgICAjT3B0aW9uICAgICAiTWVtQ0ZHMSIgICAgICAgICAgICAJIyA8aT4KICAgICAgICAj T3B0aW9uICAgICAiTWVtQ0ZHMiIgICAgICAgICAgICAJIyA8aT4KCUlkZW50aWZpZXIgICJDYXJk MCIKCURyaXZlciAgICAgICJjaXJydXMiCglWZW5kb3JOYW1lICAiQ2lycnVzIExvZ2ljIgoJQm9h cmROYW1lICAgIkdEIDc1NDgiCglCdXNJRCAgICAgICAiUENJOjA6MjowIgpFbmRTZWN0aW9uCgpT ZWN0aW9uICJTY3JlZW4iCglJZGVudGlmaWVyICJTY3JlZW4wIgoJRGV2aWNlICAgICAiQ2FyZDAi CglNb25pdG9yICAgICJNb25pdG9yMCIKCVN1YlNlY3Rpb24gIkRpc3BsYXkiCgkJRGVwdGggICAg IDEKCUVuZFN1YlNlY3Rpb24KCVN1YlNlY3Rpb24gIkRpc3BsYXkiCgkJRGVwdGggICAgIDQKCUVu ZFN1YlNlY3Rpb24KCVN1YlNlY3Rpb24gIkRpc3BsYXkiCgkJRGVwdGggICAgIDgKCQkjTW9kZXMJ IjgwMHg2MDAiCglFbmRTdWJTZWN0aW9uCglTdWJTZWN0aW9uICJEaXNwbGF5IgoJCURlcHRoICAg ICAxNQoJRW5kU3ViU2VjdGlvbgoJU3ViU2VjdGlvbiAiRGlzcGxheSIKCQlEZXB0aCAgICAgMTYK CUVuZFN1YlNlY3Rpb24KCVN1YlNlY3Rpb24gIkRpc3BsYXkiCgkJRGVwdGggICAgIDI0CgkJTW9k ZXMJIjgwMHg2MDAiCglFbmRTdWJTZWN0aW9uCkVuZFNlY3Rpb24KCg== --Multipart_Sun__4_Jan_2004_19:30:51_+0100_081d2000--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040104193051.591e4e10.torfinn.ingolfsen>