Hi!
On Thu, 26 Jul 2001, Matan Ziv-Av wrote:
> > I tried the 1.4.3 with Rage128 driver.
> >
> > Everything seemed to be OK, dvisvga works OK, vgatest passed all available
> > modes, zgv in fileselector is OK.
> >
> > But after a click on the picture in zgv, the system frozen hard.
>
> I think I found a work around for this problem:
> Please try this and tell me if it solves the problem.
I tried your fix and it somehow helped (attached patch). At least, it
doesn't hang the system anymore. But there is still a problem with
changing video modes.
After a mode change, the screen is usually out of sync (monitor turns
off). A change to another mode usually fixes the sync. For instance, in
zgv after ^P (previous picture -- always changes videomode) it also brake
the sync.
Changing to another mode can be done -- switch, back and again. After
this, the sync is OK.
But, this happened only to jpegs, gifs seem to be unaffected.
Maybe problems with only some modes?
Regards
Michal
diff -uwr svgalib-1.4.3/src/r128.c svgalib-1.4.3.orig/src/r128.c
--- svgalib-1.4.3/src/r128.c Fri Jul 27 10:16:02 2001
+++ svgalib-1.4.3.orig/src/r128.c Wed May 30 10:02:14 2001
@@ -313,7 +313,7 @@
OUTREG(R128_AMCGPIO_MASK, restore->amcgpio_mask);
OUTREG(R128_AMCGPIO_EN_REG, restore->amcgpio_en_reg);
OUTREG(R128_CLOCK_CNTL_INDEX, restore->clock_cntl_index);
- //OUTREG(R128_GEN_RESET_CNTL, restore->gen_reset_cntl);
+ OUTREG(R128_GEN_RESET_CNTL, restore->gen_reset_cntl);
OUTREG(R128_DP_DATATYPE, restore->dp_datatype);
R128RestoreCommonRegisters( restore);
@@ -443,7 +443,6 @@
save->mem_vga_wp_sel = 0;
save->mem_vga_rp_sel = 0;
save->bus_cntl = BusCntl;
- save->config_cntl = INREG(R128_CONFIG_CNTL);
/*
* If bursts are enabled, turn on discards and aborts
*/