From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16027 invoked from network); 17 Jun 1999 08:41:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 Jun 1999 08:41:04 -0000 Received: from mailhost.xandmail.com (firewall-user@mailhost.xandmail.com [195.25.228.65]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA23780 for ; Thu, 17 Jun 1999 03:49:01 -0400 Received: by mailhost.xandmail.com; id KAA25758; Thu, 17 Jun 1999 10:08:36 +0200 (MET DST) Received: from unknown(1.0.0.204) by mailhost.xandmail.com via smap (3.0) id xma025751; Thu, 17 Jun 99 10:08:34 +0200 From: "Vignaud Jean-Baptiste" To: Subject: RE: framebuffer and ggi Date: Thu, 17 Jun 1999 09:38:44 +0200 Message-ID: <000501beb894$6d8bc660$cc000001@PC_VIGNAUD.xandmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 > > > Check this out, this might help you: > http://www.alphalinux.org/docs/fbcon_faq.shtml > I'v checked this, but i have some questions: I first compiled the matroxfb in module mode, and after a modprobe the screen goes covered by stranges pixels, the box was frozen, only a hard reset unlock it. I'v compiled it in the kernel and added video:vesa:0x318. This time the kernel booted correctly, and cat /proc/fb gives me '0 MATROX VGA'. Any trie to use fbset results in an error like SETMODE something (dont remember the exact error code) I'v downloaded the latest version of ggi (degas snapshot of yesterday) and compiled libggi with kgi and fbcon support. All tries to run a demo result in the same error than with fbset. I' compiled the kgicon module (after fixing a 'register' problem in changing "register struct task_struct *current __asm__("$8");" to "struct task_struct *current __asm__("$8");" maybe this was not the correct way to fix the error...), i'v compiled the utils part of the kgicon, instaled the two .o in /lib/modules/.../video done a depmod -a and modprobe kgicon this results in a kernel 'oops': ------ Matrox Millennium (I/II) accelerator driver rev $Revision: 1.9 $ loaded Matrox Graphics Matrox mga2x64 (I/II) driver loaded. error: kgifb_set_var: Unsupported bpp '1'. error: kgifb_set_var: Unsupported bpp '1'. kgifb_init: xres 640 yres 480 bpp 8 vaddr 0xa000000 paddr 0xa000000 size 4194304fb1: KGI frame buffer device using 4096K of video memory Unable to handle kernel paging request at virtual address 0000000000000008 insmod(379): Oops 0 pc = [] ra = [] ps = 0000 r0 = fffffc0007cd4340 r1 = 0000000000000001 r2 = 0000000000000001 r3 = 00000000000003ff r4 = fffffe00000d0000 r5 = fffffc00044f2ad8 r6 = fffffc0000000000 r7 = 0000000000000000 r8 = 0000000000000000 r9 = 0000000000000000 r10= 0000000000000015 r11= 00000000000d2000 r12= 00000000000d0000 r13= fffffc0007cd6000 r14= 00000000000d2000 r15= fffffe00000d0000 r16= 0000000000000015 r17= 0000000000000000 r18= 0000000000000000 r19= fffffffffffffffb r20= 0000000000000000 r21= 0000000000000020 r22= 0000000000000000 r23= fffffc0000478504 r24= 0000000000000001 r25= 000000000000000a r27= fffffc000033ac70 r28= 0000000000000000 gp = fffffc0000501a20 sp = fffffc00046b3cd8 Code: 46310409 412137a1 e42000a4 48217681 f0200026 a43d9970 a49db2d0 a0210000 Trace: [] [] [] [] [] fbcon-cfb8: Device or resource busy ------ this happend this morning, i'll try to trace this Trace this evening to see... After this i'v done a lsmod: Module Size Used by kgicon 70648 1 (uninitialized) fbcon-cfb8 4048 0 [kgicon] fbcon-cfb32 4112 0 [kgicon] fbcon-cfb16 4360 0 [kgicon] fbcon-cfb24 4336 0 [kgicon] awe_wave 173000 0 sb 48136 0 uart401 7752 0 [sb] sound 87624 0 [awe_wave sb uart401] soundlow 336 0 [sound] soundcore 3848 7 [sb sound] and a cat /proc/fb: 0 MATROX VGA 1 KGI So my questions are: Has anybody succeded with the framebuffer fbcon or kgicon? Can someone give me an example of fbset parameter to change the mode of the matroxfb... My system is a SX164, redhat 5.2, kernel 2.3.6 and a matrox millenium II. tanx Jean-Baptiste Vignaud.