Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-29 Thread David Gamey
X (without dri) is working now up to 1280x1024 on RH9 using the stock 
updated kernel 2.4.20-18.9 and XFree86  4.3.0-2.  (I did not need to 
replace the kernel drivers that were shipped). I will look at DRI in the 
future. 

Thanks all and especially to Thomas Winischhofer.

David



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread david.a.gamey
I recently installed RH 9.0 and have been working on some   
challenges with X.  Some digging and experimentation has got  
things mostly working.  However, DRM won't load and this has  
me stumpped for now.  
  
Hardware:  
ASUS TUSI-M, P3 @ 1GHz, SIS 630ET AGP chipset, 512MB  
RAM w/64MB for video, Samsung 172N flat panel display.  
  
RedHat 9.0 w/all RPM's applied.  
Kernel 2.4.20-18.9 (i686)  
XFree86 4.3.0-2 (all pkgs are i386)  
  
rpm -q --provides kernel-2.4.20-18.9  
module-info
kernel = 2.4.20  
kernel-drm = 4.1.0  
kernel-drm = 4.2.0  
kernel-drm = 4.3.0  
kernel-drm = 4.2.99.3  
kernel = 2.4.20-18.9  
  
ls /lib/modules/2.4.20-18.9/kernel/drivers/char/drm/  
i810.o  
i830.o  
mga.o  
r128.o  
radeon.o  
tdfx.o  
  
From statup:  
PCI: Using IRQ router SIS [1039/0008] at 00:01.0  
SIS5513: IDE controller at PCI slot 00:00.1  
SIS5513: chipset revision 208  
SIS5513: not 100% native mode: will probe irqs later  
  
  
From my X log (the dri and drm modules load but) ...  
drmOpenDevice: Open failed  
drmOpenDevice: minor is 0  
drmOpenDevice: node name is /dev/dri/card0  
drmOpenDevice: open result is -1, (No such device)  
drmOpenDevice: open result is -1, (No such device)  
drmOpenDevice: Open failed  
[drm] failed to load kernel module sis  
(II) SIS(0): [drm] drmOpen failed  
(EE) SIS(0): [dri] DRIScreenInit failed.  Disabling DRI.  
  
My XF86Config-4 is largely based on the sample @  
www.winischhofer.net (the obsolete modules pex5 + xie had to  
be removed)  and his very good documentation.  
  
I checked fbset but it found no device (this seems strange, but  
I not familiar with this level of detail on video) .  The system log  
shows modprobe: modprobe: Can't locate module fb0 yet  
there is a /dev/fb0.  
  
I have not yet updated the drivers/kernel for the SIS modules  
beyond what came with RH9 and updated.   
rpm -qf /lib/modules/2.4.20-18.9/kernel/drivers/video/sis/sisfb.o  
kernel-2.4.20-18.9  
The X log shows:  
(II) SIS(0): SiS driver (31/01/03-1) by Thomas Winischhofer  
[EMAIL PROTECTED]  
.net  
Right after loading /usr/X11R6/lib/modules/libvgahw.a  
  
Next steps:  
1. see if there are any i686 rpms for X next.   
2. *** suggestions are welcome ***  
3. Try the updated SIS modules.  
   
Thanks in advance, David  
 


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread Ian Romanick
[EMAIL PROTECTED] wrote:
I recently installed RH 9.0 and have been working on some   
challenges with X.  Some digging and experimentation has got  
things mostly working.  However, DRM won't load and this has  
me stumpped for now.  
  
Hardware:  
ASUS TUSI-M, P3 @ 1GHz, SIS 630ET AGP chipset, 512MB  
RAM w/64MB for video, Samsung 172N flat panel display.  
  
RedHat 9.0 w/all RPM's applied.  
Kernel 2.4.20-18.9 (i686)  
XFree86 4.3.0-2 (all pkgs are i386)  
  
rpm -q --provides kernel-2.4.20-18.9  
module-info
kernel = 2.4.20  
kernel-drm = 4.1.0  
kernel-drm = 4.2.0  
kernel-drm = 4.3.0  
kernel-drm = 4.2.99.3  
kernel = 2.4.20-18.9  
  
ls /lib/modules/2.4.20-18.9/kernel/drivers/char/drm/  
i810.o  
i830.o  
mga.o  
r128.o  
radeon.o  
tdfx.o  
You did notice that sis.o is on this list, right? :)  Nobody on the DRI 
team has access to any SiS hardware.  Because of that the SiS driver, 
which only supported a couple chips anyway, has fallen waay out of 
date.  There's a few parts to the open-source drivers.  The DRM is the 
kernel part, and it talks directly to the hardware.  In user mode there 
is (basically) a device specific part and a device independent part 
(which mostly comes from Mesa).  The SiS device specific part is based 
on Mesa 3.x, and all the other drivers are based on Mesa 5.x.  As a 
result it doesn't get built any more (and wouldn't build if you tried). 
 Sorry.

I have not yet updated the drivers/kernel for the SIS modules  
beyond what came with RH9 and updated.   
rpm -qf /lib/modules/2.4.20-18.9/kernel/drivers/video/sis/sisfb.o  
kernel-2.4.20-18.9  
The X log shows:  
(II) SIS(0): SiS driver (31/01/03-1) by Thomas Winischhofer  
[EMAIL PROTECTED]  
.net  
Right after loading /usr/X11R6/lib/modules/libvgahw.a  
This is the 2D framebuffer (hence the fb part) driver which has 
nothing to do with the DRM or any of the rest of the 3D driver.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread Thomas Winischhofer
[EMAIL PROTECTED] wrote:
www.winischhofer.net (the obsolete modules pex5 + xie had to  


I see you already found that page. How about actually _reading_ it?

Thomas

--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net  *** http://www.winischhofer.net/
twini AT xfree86 DOT org


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread Thomas Winischhofer
Ian Romanick wrote:
You did notice that sis.o is on this list, right? :)  Nobody on the DRI 
team has access to any SiS hardware. 
If that's the only problem, contact ecs (elitegroup). They donated 
hardware to me. Chances are best in the uk branch of ecs. I could 
provide a mail address on request.

Thomas

--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net  *** http://www.winischhofer.net/
twini AT xfree86 DOT org


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread david.a.gamey
Thomas wrote: 
 
[EMAIL PROTECTED] wrote: 
 
 www.winischhofer.net (the obsolete modules pex5 + xie 
had to   
 
 
I see you already found that page. How about actually 
_reading_ it? 
 
Thomas 
 
Actually I did read it.  Very good stuff. There is quite a lot there 
to digest.  
- I know my kernel doesn't need the DRM patch 
- I know you have newer modules and I'm not there yet 
- You did say you didn't do DRM development 
- Your other page notes DRI needs DRM which needs sisfb, so 
I clearly need DRM if I ever want to attempt to get DRI working. 
- I saw the notes re sis DRI and Mesa4 and users needing to 
back off to Mesa3.  
- It looks like your newer drivers will give higher resolutions on 
my config 
 
I've been somewhat sheltered from looking too closely at X 
and video on linux in the past.  I'm less clear on whether DRM 
has any use without DRI (although I recall you said something 
about higher resolutions).  If not and I decide I can wait to try  
and get DRI going, then I assume I could just omit loading the 
drm module and the error would go away. 
 
The higher resolutions are more important to me than DRI. My 
main concern is that I've missed something and upgrading the 
drivers won't correct it. 
 
My suspicion is that I don't need DRM but I do need the new 
drivers if reolution is all that matters now. 
 
Would this be a correct understanding? 
 
Thanks, David 
 


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DRM won't load on RH9 Pentium 3 w/SIS630

2003-06-27 Thread Thomas Winischhofer
[EMAIL PROTECTED] wrote:
Actually I did read it.  Very good stuff. There is quite a lot there 
to digest.  
- I know my kernel doesn't need the DRM patch 
Depends on the kernel version, dunno.

- I know you have newer modules and I'm not there yet 
?

- You did say you didn't do DRM development 
Correct

- Your other page notes DRI needs DRM which needs sisfb, so 
I clearly need DRM if I ever want to attempt to get DRI working. 
Correct

- I saw the notes re sis DRI and Mesa4 and users needing to 
back off to Mesa3.  
Correct

- It looks like your newer drivers will give higher resolutions on 
my config 
Dunno. Depends on what you were using previously.

I've been somewhat sheltered from looking too closely at X 
and video on linux in the past.  I'm less clear on whether DRM 
has any use without DRI (although I recall you said something 
No.

about higher resolutions). 
Higher resolutions need more RAM, so you need to increase the portion of 
video RAM the X driver may use (MaxXFBMem, mem with sisfb)

 If not and I decide I can wait to try
and get DRI going, then I assume I could just omit loading the 
drm module and the error would go away. 
You could also remove

	load dri

from the modules section. Spares you further hassle.

BTW: The error about the sis kernel module can be ignored (unless you 
want DRI to work, of course).

The higher resolutions are more important to me than DRI. My 
main concern is that I've missed something and upgrading the 
drivers won't correct it. 
If you skip the loading of the dri module, sisfb won't be loaded, and 
unless you have a MaxXFBMem setting, X will use all the video RAM.

Thomas

--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net  http://www.winischhofer.net/
twini AT xfree86 DOT org
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86