Re: leo/zx driver toast in X11 4.1 ?
On Wed, Oct 17, Jakub Jelinek wrote:
> On Wed, Oct 17, 2001 at 05:42:58PM +0900, John Wood wrote:
> > i recently upgraded my ss20 from stable to unstable and moved to
> > x11 4.1. according to the docs, and what not the driver exists and
> > works. unfortunately, when i run x, regardless of depth i get:
>
> You need to request depth 32 for leo/zx.
But it would be much better to fix the broken drivers. If it only
works with 32bit it should register itself correct.
--- programs/Xserver/hw/xfree86/drivers/sunleo/leo_driver.c 2001/06/20 11:26:14 1.1.1.1
+++ programs/Xserver/hw/xfree86/drivers/sunleo/leo_driver.c 2001/08/16 09:17:29 1.1.1.1.2.1
@@ -332,7 +332,7 @@
deal with depth
*********************/
- if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support32bppFb)) {
+ if (!xf86SetDepthBpp(pScrn, 32, 0, 32, Support32bppFb)) {
return FALSE;
} else {
/* Check that the returned depth is one we support */
--- programs/Xserver/hw/xfree86/drivers/suncg14/cg14_driver.c 2001/06/20 11:26:10 1.1.1.1
+++ programs/Xserver/hw/xfree86/drivers/suncg14/cg14_driver.c 2001/08/16 09:17:03 1.1.1.1.2.1
@@ -323,7 +323,7 @@
deal with depth
*********************/
- if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support32bppFb)) {
+ if (!xf86SetDepthBpp(pScrn, 32, 0, 32, Support32bppFb)) {
return FALSE;
} else {
/* Check that the returned depth is one we support */
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Deutschherrenstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Reply to: