Skip to contentSkip to conversation

wmaker at 16 bpp, X crashes

DISCUSSION ÀÌÁ¤À± 4 participants 4 messages Jan 8, 1999 – Jan 10, 1999

lore
Share & tools
lore
#0 lore raw

ultrapenguin 1.1.9, xf86 3.3.2.3-26, kernel 2.2.0pre4

is this a known bug? tmw and fvwm2 works just fine at 16 bpp

Signature · 2 lines
 / http://www.elim.net/~jeongyun /
/ mailto:[email protected]      /
#1 lore raw

Date: Fri, 08 Jan 1999 21:30:40 +0900
From: =?ISO-8859-1?Q?������?= <[email protected]>

ultrapenguin 1.1.9, xf86 3.3.2.3-26, kernel 2.2.0pre4

is this a known bug? tmw and fvwm2 works just fine at 16 bpp

Are you on a PCI machine with a mach64/ATI (sun calls is "PGX") graphics card in it? If so, I've seen this before. The same will happen if you load up a jpg file in gimp at 16 bpp, usually the X server calls abort.

Later,
David S. Miller
[email protected]

#2 lore raw
In reply to ÀÌÁ¤À±
Quoted 3 lines · ������

ultrapenguin 1.1.9, xf86 3.3.2.3-26, kernel 2.2.0pre4

is this a known bug? tmw and fvwm2 works just fine at 16 bpp

I sent Jakub this patch a few weeks ago. I discovered the problem while porting Debian to the UltraSparc. It fixes the problem. (It's very easy to track these things down with gdb if you have a Debug build of X lying around.)

programs/Xserver/cfb/cfb8line.c renamed from programs/Xserver/cfb/cfb8line.c.orig +4 -0
@@ -898,7 +898,11 @@
 		if (x1_or_len)
 		  {
 		    maskpartialbits(y1_or_e1, x1_or_len, e)
+#ifdef __sparc__
+		      RROP_SOLID_MASK_lu((unsigned long *) addrp, e);
+#else
 		      RROP_SOLID_MASK((unsigned long *) addrp, e);
+#endif
 		  }
 	      }
 	    else
#3 lore raw
In reply to ÀÌÁ¤À±
Quoted 8 lines
Quoted 3 lines

ultrapenguin 1.1.9, xf86 3.3.2.3-26, kernel 2.2.0pre4

is this a known bug? tmw and fvwm2 works just fine at 16 bpp

I sent Jakub this patch a few weeks ago. I discovered the problem while porting Debian to the UltraSparc. It fixes the problem. (It's very easy to track these things down with gdb if you have a Debug build of X lying around.)

Yep, I have this in my XFree86 patch queue, but have not managed to make new rpms yet (I'd like to do some hacks in it still). Sorry.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | [email protected] | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.0-pre6 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________