Michel Lanners <[EMAIL PROTECTED]> writes: > (II) R128(0): Cannot access BIOS: info->VBIOS==NULL.
Yeah, I just looked at this. Same problem on mach64, it finds that the VBIOS pointer is NULL, reports it, and happily tries to dereference it a couple lines down. (hence the segfault) alert, this may be a cheap hack, but it makes the xvideo module work great on my Lombard. (attached) now, it looks like that code is duplicated throughout the r128_video.c and radeon_video.c file as well, so you might want to try changing that too. (for r128) ttyl, -- Josh Huber | [EMAIL PROTECTED] |
Index: atixv.c =================================================================== RCS file: /cvs/livid/gatos-ati/ati_xv/ati.2/atixv.c,v retrieving revision 1.14 diff -u -r1.14 atixv.c --- atixv.c 2001/07/29 17:57:46 1.14 +++ atixv.c 2001/08/28 21:54:05 @@ -1048,7 +1048,9 @@ if(pATI->VBIOS==NULL){ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Cannot access BIOS: info->VBIOS==NULL.\n"); + mm_table = 0; } + else { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "0x%02x 0x%02x\n", pATI->VBIOS[0], pATI->VBIOS[1]); @@ -1057,6 +1059,8 @@ /* mach64 table is at different address than r128 one */ mm_table=pATI->VBIOS[bios_header+0x46]; + } + if(mm_table==0) { xf86DrvMsg(pScrn->scrnIndex,X_INFO,"No MM_TABLE found\n",bios_header,mm_table);