Index: [thread] [date] [subject] [author]
  From: Paul Fredrickson <qmoto@earthlink.net>
  To  : ggi-develop@eskimo.com
  Date: Thu, 25 Mar 1999 22:50:31 -0800

Installing libGGI -- new ATI card


I'm still trying to set up my new computer, and I'm having all kinds of
problems with graphics under linux.  I'll limit this post to GGI stuff, but
I'm having trouble isolating all the different problems.

Building kgicon wasn't a problem, but insmod'ing it complained of an
undefined __bzero (?!&@!).  Well, I updated my compiler to egcs 1.1.2 and my
C library to glibc 2.1 and that error goes away.  Instead, when I insmod it
from the text mode console (vgacon?) the screen just goes white.  Everything
was still working--I could cat /proc/fb and it read:

0 KGI

Now, I couldn't see anything, mind you  ( cat /proc/fb > fb.out.txt and I
had to read it after a clean reboot), but kgicon was definately there--just
not being useful.

Second try:  use the vesafb.  Am I correct in assuming that the fbdev target
works on top of any fb device, or just kgicon drivers acting like the fb
device?  I'm assuming the former.  But when I then try to insmod kgicon, the
screen goes black and shuts off.  Again, my computer doesn't freeze;  I can
still safely shutdown, but I can't see anything.

HOWEVER, with vesafb loaded (0 VESA VGA), some demos (demos, flying_ggis,
and stars) work while the others won't.  I've attached the debug output in
case someone can tell me why GGI  can't switch modes.

My card is an ATI Expert 98 (or Rage 128, I'm still sorting out my
documentation).  It's apparently too new to be supported by X (documentation
notwithstanding), SuperProbe detects 0Kb of video memory.  I'm not looking
for acceleration at this point.  I just want something I can work with.

Am I doing something wrong? Or is my card just unsupported right now.

--Paul

PS. If this is posted in HTML, please tell me.  I have to do everything from
Windows for a little while...


LibGII: Debugging=255
LibGGI: Debugging=255
LibGGI: ggiOpen("display-fbdev") called
LibGGI: Loading driver display-fbdev
LibGGI: _ggiAddDL(0x804fc20, "display-fbdev", "(nil)", 0x1) called
LibGGI: _ggiLoadDL("display-fbdev","(nil)", 0x1) called 
LibGGI: hand.handle=0x804ffe8
LibGGI: hand.init=0x400f3850
LibGGI: hand.cleanup=0x400f3f48
LibGGI: _ggiLoadDL returned 0x80501a0
LibGGI: display-fbdev: GGIdlinit start.
LibGGI: display-fbdev: Using VT 1.
LibGGI: display-fbdev: Determined VT 1 is on FB 0
LibGGI: _ggiAddDL(0x804fc20, "helper-linux-vtswitch", "(nil)", 0x0) called
LibGGI: _ggiLoadDL("helper-linux-vtswitch","(nil)", 0x0) called 
LibGGI: hand.handle=0x8050a50
LibGGI: hand.init=0x400163ac
LibGGI: hand.cleanup=0x400164ec
LibGGI: _ggiLoadDL returned 0x8050c08
LibGGI: L/vtswitch: Using VT 1.
LibGGI: L/vtswitch: open OK.
LibGGI: 0 = dlh->init(0x804fc20,"(null)",0xbfffebd0) - helper-linux-vtswitch
LibGII: Allocating input structure
LibGII: _giiEvQueueAllocate(0x8050ca8) called
LibGII: Got queue_set: 0x8050e28
LibGII: giiOpen adding "linux-kbd", "/dev/tty1", (nil)
LibGII: _giiLoadDL("linux-kbd","(null)") called 
LibGII: hand.handle=0x8050ec8
LibGII: hand.init=0x400f95ac
LibGII: _giiLoadDL returned 0x8051070
LibGII: linux_kbd starting.(args="/dev/tty1",argptr=(nil))
LibGII: Linux-kbd: opening tty
LibGII: Linux-kbd: calling tcgetattr()
LibGII: Linux-kbd: calling tcsetattr()
LibGII: Linux-kbd: going to MEDIUMRAW mode
LibGII: Linux-kbd: init OK.
LibGII: _giiEvQueueAdd(0x8050ca8, 0xbfffe5cc) called
LibGII: calling private filters
LibGII: _giiEvQueueSetup() called
LibGII: _giiEvQueueSetup alloced 0x8051888
LibGII: Adding event type 1, size 116 at pos 0
LibGII: linux_kbd fully up
LibGII: 0=dlh->init(0x8050ca8,"/dev/tty1",(nil)) - linux-kbd
LibGII: _giiUpdateCache(0x8050ca8) called
LibGII: Found fd: 5 
LibGII: Allocating input structure
LibGII: _giiEvQueueAllocate(0x8053898) called
LibGII: Got queue_set: 0x8053a18
LibGII: giiOpen adding "linux-mouse", "auto", 0xbfffec40
LibGII: _giiLoadDL("linux-mouse","(null)") called 
LibGII: hand.handle=0x8053ab8
LibGII: hand.init=0x400fd46c
LibGII: _giiLoadDL returned 0x8053c60
LibGII: linux_mouse starting.(args="auto",argptr=0xbfffec40)
LibGII: linux_mouse: prot=`Microsoft' dev=`/dev/mouse' opts=`'
LibGII: linux-mouse: Opened mouse file '/dev/mouse' ReadWrite.
LibGII: Allocating input structure
LibGII: _giiEvQueueAllocate(0x8053cc0) called
LibGII: Got queue_set: 0x8053e40
LibGII: giiOpen adding "input-mouse", "6,ms", (nil)
LibGII: _giiLoadDL("input-mouse","(null)") called 
LibGII: hand.handle=0x8053ed0
LibGII: hand.init=0x400ff8b4
LibGII: _giiLoadDL returned 0x8054078
LibGII: _giiEvQueueAdd(0x8053cc0, 0xbfffdd1c) called
LibGII: calling private filters
LibGII: _giiEvQueueSetup() called
LibGII: _giiEvQueueSetup alloced 0x8054130
LibGII: Adding event type 1, size 116 at pos 0
LibGII: mouse fully up
LibGII: 0=dlh->init(0x8053cc0,"6,ms",(nil)) - input-mouse
LibGII: _giiUpdateCache(0x8053cc0) called
LibGII: Found fd: 6 
LibGII: giiJoinInputs(0x8053898, 0x8053cc0) called
LibGII: giiEventPoll(0x8053cc0, 0x3ffe, 0xbfffe27c) called
LibGII: Fetching event from 0x8053cc0
LibGII: _giiEvQueueRelease(0x8053cc0, 0xbfffe184, 0x3ffe) called
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = 0x8054130
LibGII: _giiEvQueueRelease: Plausible found.
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, utqueue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: queue = 0x8053e40, queue->queues = 0x8053e44, queue->queues[queue] = (nil)
LibGII: Retrieved event type 1, size 116.
LibGII: Storing event in 0x8053898
LibGII: _giiEvQueueAdd(0x8053898, 0xbfffe184) called
LibGII: calling private filters
LibGII: _giiEvQueueSetup() called
LibGII: _giiEvQueueSetup alloced 0x8056140
LibGII: Adding event type 1, size 116 at pos 0
LibGII: giiEventPoll(0x8053cc0, 0x3ffe, 0xbfffe27c) called
LibGII: _giiPollAll(0x8053cc0, 0x3ffe, (nil)) called
LibGII: GII_mouse_poll(0x8053cc0, (nil)) called
LibGII: _giiEvQueueDestroy(0x8053cc0) called
LibGII: Desttroying 0x8053e40, 0x8053e44
LibGII: _giiEvQueueDestroy going 0, (nil)
LibGII: _giiEvQueueDestroy going 1, 0x8054130
LibGII: _giiEvQueueDestroy going 2, (nil)
LibGII: _giiEvQueueDestroy going 3, (nil)
LibGII: _giiEvQueueDestroy going 4, (nil)
LibGII: _giiEvQueueDestroy going 5, (nil)
LibGII: _giiEvQueueDestroy going 6, (nil)
LibGII: _giiEvQueueDestroy going 7, (nil)
LibGII: _giiEvQueueDestroy going 8, (nil)
LibGII: _giiEvQueueDestroy going 9, (nil)
LibGII: _giiEvQueueDestroy going 10, (nil)
LibGII: _giiEvQueueDestroy going 11, (nil)
LibGII: _giiEvQueueDestroy going 12, (nil)
LibGII: _giiEvQueueDestroy going 13, (nil)
LibGII: _giiEvQueueDestroy done
LibGII: _giiSetQueue(0x8053cc0, 0x8053898) called
LibGII: _giiUpdateCache(0x8053898) called
LibGII: Found fd: 6 
LibGII: linux_mouse fully up
LibGII: 0=dlh->init(0x8053898,"auto",0xbfffec40) - linux-mouse
LibGII: _giiUpdateCache(0x8053898) called
LibGII: Found fd: 6 
LibGII: giiJoinInputs(0x8050ca8, 0x8053898) called
LibGII: giiEventPoll(0x8053898, 0x3ffe, 0xbfffeb60) called
LibGII: Fetching event from 0x8053898
LibGII: _giiEvQueueRelease(0x8053898, 0xbfffea68, 0x3ffe) called
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = 0x8056140
LibGII: _giiEvQueueRelease: Plausible found.
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, ITqueue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, 
isqueue->queues[queue] = (nil)
LibGII: queue = 0x8053a18, queue->queues = 0x8053a1c, queue->queues[queue] = (nil)
LibGII: Retrieved event type 1, size 116.
LibGII: Storing event in 0x8050ca8
LibGII: _giiEvQueueAdd(0x8050ca8, 0xbfffea68) called
LibGII: calling private filters
LibGII: Adding event type 1, size 116 at pos 1
LibGII: giiEventPoll(0x8053898, 0x3ffe, 0xbfffeb60) called
LibGII: _giiPollAll(0x8053898, 0x3ffe, (nil)) called
LibGII: GII_mouse_poll(0x8053cc0, (nil)) called
LibGII: _giiEvQueueDestroy(0x8053898) called
LibGII: Desttroying 0x8053a18, 0x8053a1c
LibGII: _giiEvQueueDestroy going 0, (nil)
LibGII: _giiEvQueueDestroy going 1, 0x8056140
LibGII: _giiEvQueueDestroy going 2, (nil)
LibGII: _giiEvQueueDestroy going 3, (nil)
LibGII: _giiEvQueueDestroy going 4, (nil)
LibGII: _giiEvQueueDestroy going 5, (nil)
LibGII: _giiEvQueueDestroy going 6, (nil)
LibGII: _giiEvQueueDestroy going 7, (nil)
LibGII: _giiEvQueueDestroy going 8, (nil)
LibGII: _giiEvQueueDestroy going 9, (nil)
LibGII: _giiEvQueueDestroy going 10, (nil)
LibGII: _giiEvQueueDestroy going 11, (nil)
LibGII: _giiEvQueueDestroy going 12, (nil)
LibGII: _giiEvQueueDestroy going 13, (nil)
LibGII: _giiEvQueueDestroy done
LibGII: _giiSetQueue(0x8053898, 0x8050ca8) called
LibGII: _giiUpdateCache(0x8050ca8) called
LibGII: Found fd: 5 
LibGII: Found fd: 6 
LibGGI: display-fbdev: accel: 0, supported: 22
LibGGI: display-fbdev: Has accel: "kgicon-generic"
LibGGI: display-fbdev: GGIdlinit success.
LibGGI: 1 = dlh->init(0x804fc20,"(null)",(nil)) - display-fbdev
LibGGI: ggiOpen: returning 0x804fc20
LibGGI: Loading extra inputs/filters for display-fbdev
LibGGI: Checking GGI_INPUT_DISPLAY_FBDEV_1 : (nil)
LibGGI: Checking GGI_INPUT_DISPLAY_FBDEV : (nil)
LibGGI: Checking GGI_INPUT : (nil)
LibGGI: ggiSetSimpleMode(0x804fc20, 0, 0, 0, 0x4000808) called
LibGGI: ggiSetMode(0x804fc20, [P8/8]) called
LibGGI: ggiSetMode: trying (vis 0x0 virt 0x0)
LibGGI: ggiSetMode: trying2 (vis 0x0 virt 0x0)
LibGGI: ggiSetMode: calling 0x400f4d4c
LibGGI: ggiCheckMode(0x804fc20, 0xbffffc9c) called
LibGGI: display-fbdev: checkmode 0x0#0x0F0[0x4000808]
LibGGI: display-fbdev: result 0 1024x768#1024x768F1[0x4000808]
LibGGI: display-fbdev: setmode 1024x768#1024x768F1[0x4000808]
display-fbdev: FBIOPUT_VSCREENINFO: Invalid argument
LibGGI: Failed to set mode: [P8/8]
LibGGI: ggiSetMode: done!
Error switching to 0x0 8 bpp mode.
LibGGI: ggiClose("0x804fc20") called
LibGGI: ggiClose: closing
LibGII: giiClose(0x8050ca8) called
LibGII: _giiEvQueueDestroy(0x8050ca8) called
LibGII: Desttroying 0x8050e28, 0x8050e2c
LibGII: _giiEvQueueDestroy going 0, (nil)
LibGII: _giiEvQueueDestroy going 1, 0x8051888
LibGII: _giiEvQueueDestroy going 2, (nil)
LibGII: _giiEvQueueDestroy going 3, (nil)
LibGII: _giiEvQueueDestroy going 4, (nil)
LibGII: _giiEvQueueDestroy going 5, (nil)
LibGII: _giiEvQueueDestroy going 6, (nil)
LibGII: _giiEvQueueDestroy going 7, (nil)
LibGII: _giiEvQueueDestroy going 8, (nil)
LibGII: _giiEvQueueDestroy going 9, (nil)
LibGII: _giiEvQueueDestroy going 10, (nil)
LibGII: _giiEvQueueDestroy going 11, (nil)
LibGII: _giiEvQueueDestroy going 12, (nil)
LibGII: _giiEvQueueDestroy going 13, (nil)
LibGII: _giiEvQueueDestroy done
LibGII: Linux-kbd cleanup

LibGII: Linux-kbd: exit OK.
LibGII: linux_mouse cleanup
LibGII: linux_mouse: exit OK.
LibGGI: _ggiZapDL(0x804fc20, 0x804f7c4) called
LibGGI: Disposing "display-fbdev"
LibGGI: display-fbdev: GGIdlcleanup start.
LibGGI: display-fbdev: GGIdlcleanup done.
LibGGI: Closing handle: 0x804ffe8
LibGGI: _ggiZapDL(0x804fc20, 0x804fcd8) called
LibGGI: Disposing "helper-linux-vtswitch"
LibGGI: L/vtswitch: close OK.
LibGGI: Closing handle: 0x8050a50
LibGGI: ggiClose: done!
LibGGI: ggiExit called
LibGGI: ggiExit: really destroying.
LibGII: giiExit() called
LibGII: giiExit: really destroying.
LibGII: giiExit: done!
LibGGI: ggiExit: done!


Index: [thread] [date] [subject] [author]