Re: i830 driver still not reserving memory (4.3.0-5)

2004-03-25 Thread Mark Zimmerman
On Tue, Mar 16, 2004 at 05:35:39PM +0100, Christian Guggenberger wrote:
 On 16.03.2004   17:15 Mark Zimmerman wrote:
 On Mon, Mar 15, 2004 at 11:59:05PM +0100, Christian Guggenberger wrote:
  On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
   Greetings:
  
   I am running a mixed testing/unstable setup on a Dell system with the
   Intel 865G onboard graphics device. I installed the latest Xfree86
   packages 4.3.0-5 and everything works fine with one exception: I still
   need to run the 865patch program to reserve video memory prior to
   starting the X server. The changelog comments in xserver-xfree86
   indicate that this should no longer be the case.
  
  I'm not sure, if even XFree86 4.4 can work around all broken Dell
  Bioses...
 
  Well you could give it try:
  Basically, it should be sufficient to replace the following files
  (make a backup of the old ones)
  /usr/X11R6/bin/XFree86
  /usr/X11R6/lib/modules/libpcidata.a
  /usr/X11R6/lib/modules/libscanpci.a
  /usr/X11R6/lib/modules/drivers/i810_drv.o
 
  with those found at http://www.xfree86.org/~alanh/drivers/x86/
 
  See, if it works better then...
   - Christian
 
 Good news and bad news: It looks like it is reserving memory properly.
 The old log showed this:
 (--) I810(0): Maximum space available for video modes: 832 kByte
 and the new log shows this:
 (--) I810(0): Maximum space available for video modes: 32576 kByte
 
 However, the X server fails to start. Here is what I see on the console:
 
 giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X server
 xinit:  No such process (errno 3):  Server error.
 
 
 
 I'm busy right now, but I could check (actually not check, just merge into 
 4.3.0-5) all changes from HEAD's i810 driver within a week, or so, and 
 build some homebrew debian packages.
 I'll drop you a note, when I'm finished - maybe it would work then.
 
  - Christian

I have tried a few more experiments, with discouraging results:

1. I downloaded the files (noted above) from xfree86.org and tried
   them. No luck.
2. I tried various combinations of these with the ones from ~alanh.
   No luck.
3. I went back to all of the ones from ~alanh and was unable to
   reproduce the partial success.
4. I installed the latest OpenBSD snapshot which includes driver
   updates as recent as a week ago. No luck.

My bios revision is A03; this is the latest version available from
Dell. Perhaps older ones are better (less bad?) but I have no access
to them.

In any event, it may not be the best use of your time to think too
much about this. I'm just wondering: if this is working on a Dell
machine of yours, how is yours different?

-- Mark



Re: i830 driver still not reserving memory (4.3.0-5)

2004-03-25 Thread Christian Guggenberger
On Thu, 2004-03-25 at 18:03, Mark Zimmerman wrote:
 On Tue, Mar 16, 2004 at 05:35:39PM +0100, Christian Guggenberger wrote:
  On 16.03.2004   17:15 Mark Zimmerman wrote:
  On Mon, Mar 15, 2004 at 11:59:05PM +0100, Christian Guggenberger wrote:
   On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
Greetings:
   
I am running a mixed testing/unstable setup on a Dell system with the
Intel 865G onboard graphics device. I installed the latest Xfree86
packages 4.3.0-5 and everything works fine with one exception: I still
need to run the 865patch program to reserve video memory prior to
starting the X server. The changelog comments in xserver-xfree86
indicate that this should no longer be the case.
   
   I'm not sure, if even XFree86 4.4 can work around all broken Dell
   Bioses...
  
   Well you could give it try:
   Basically, it should be sufficient to replace the following files
   (make a backup of the old ones)
   /usr/X11R6/bin/XFree86
   /usr/X11R6/lib/modules/libpcidata.a
   /usr/X11R6/lib/modules/libscanpci.a
   /usr/X11R6/lib/modules/drivers/i810_drv.o
  
   with those found at http://www.xfree86.org/~alanh/drivers/x86/
  
   See, if it works better then...
- Christian
  
  Good news and bad news: It looks like it is reserving memory properly.
  The old log showed this:
  (--) I810(0): Maximum space available for video modes: 832 kByte
  and the new log shows this:
  (--) I810(0): Maximum space available for video modes: 32576 kByte
  
  However, the X server fails to start. Here is what I see on the console:
  
  giving up.
  xinit:  No such file or directory (errno 2):  unable to connect to X server
  xinit:  No such process (errno 3):  Server error.
  
  
  
  I'm busy right now, but I could check (actually not check, just merge into 
  4.3.0-5) all changes from HEAD's i810 driver within a week, or so, and 
  build some homebrew debian packages.
  I'll drop you a note, when I'm finished - maybe it would work then.
  
   - Christian
 
 I have tried a few more experiments, with discouraging results:
 
 1. I downloaded the files (noted above) from xfree86.org and tried
them. No luck.
 2. I tried various combinations of these with the ones from ~alanh.
No luck.
 3. I went back to all of the ones from ~alanh and was unable to
reproduce the partial success.
 4. I installed the latest OpenBSD snapshot which includes driver
updates as recent as a week ago. No luck.
 
 My bios revision is A03; this is the latest version available from
 Dell. Perhaps older ones are better (less bad?) but I have no access
 to them.
 

Hi Mark.

I did some further tests on our Dell Optiplex GX270 Systems.

To sum up:
a) Neither XFree4.4 nor debian's 4.3.0-7 is able to work on the GX270 if
BIOS a03 is used  - it would only work with the help of 865patch program
by C. Zietz.

b) Dowgrading the BIOS to a02 _and_ setting it's BIOS VideoBuffer Option
to 8MB helps. (with both 4.4 and 4.3.0-7)

The Bios image's called gx270a02.exe  - go grab it from dell's ftp
server (in subdir 'bios'), if you have a GX270, of course.

I've heard rumours that some GX270 refuse to downgrade to a02 - don't
force it, it might destroy your Bios completely.

cheers.
Christian





Re: i830 driver still not reserving memory (4.3.0-5) - FIXED

2004-03-25 Thread Mark Zimmerman
On Thu, Mar 25, 2004 at 08:30:34PM +0100, Christian Guggenberger wrote:
 On Thu, 2004-03-25 at 18:03, Mark Zimmerman wrote:
  On Tue, Mar 16, 2004 at 05:35:39PM +0100, Christian Guggenberger wrote:
   On 16.03.2004   17:15 Mark Zimmerman wrote:
   On Mon, Mar 15, 2004 at 11:59:05PM +0100, Christian Guggenberger wrote:
On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
 Greetings:

 I am running a mixed testing/unstable setup on a Dell system with the
 Intel 865G onboard graphics device. I installed the latest Xfree86
 packages 4.3.0-5 and everything works fine with one exception: I 
 still
 need to run the 865patch program to reserve video memory prior to
 starting the X server. The changelog comments in xserver-xfree86
 indicate that this should no longer be the case.

I'm not sure, if even XFree86 4.4 can work around all broken Dell
Bioses...
   
Well you could give it try:
Basically, it should be sufficient to replace the following files
(make a backup of the old ones)
/usr/X11R6/bin/XFree86
/usr/X11R6/lib/modules/libpcidata.a
/usr/X11R6/lib/modules/libscanpci.a
/usr/X11R6/lib/modules/drivers/i810_drv.o
   
with those found at http://www.xfree86.org/~alanh/drivers/x86/
   
See, if it works better then...
 - Christian
   
   Good news and bad news: It looks like it is reserving memory properly.
   The old log showed this:
   (--) I810(0): Maximum space available for video modes: 832 kByte
   and the new log shows this:
   (--) I810(0): Maximum space available for video modes: 32576 kByte
   
   However, the X server fails to start. Here is what I see on the console:
   
   giving up.
   xinit:  No such file or directory (errno 2):  unable to connect to X 
   server
   xinit:  No such process (errno 3):  Server error.
   
   
   
   I'm busy right now, but I could check (actually not check, just merge 
   into 
   4.3.0-5) all changes from HEAD's i810 driver within a week, or so, and 
   build some homebrew debian packages.
   I'll drop you a note, when I'm finished - maybe it would work then.
   
- Christian
  
  I have tried a few more experiments, with discouraging results:
  
  1. I downloaded the files (noted above) from xfree86.org and tried
 them. No luck.
  2. I tried various combinations of these with the ones from ~alanh.
 No luck.
  3. I went back to all of the ones from ~alanh and was unable to
 reproduce the partial success.
  4. I installed the latest OpenBSD snapshot which includes driver
 updates as recent as a week ago. No luck.
  
  My bios revision is A03; this is the latest version available from
  Dell. Perhaps older ones are better (less bad?) but I have no access
  to them.
  
 
 Hi Mark.
 
 I did some further tests on our Dell Optiplex GX270 Systems.
 
 To sum up:
 a) Neither XFree4.4 nor debian's 4.3.0-7 is able to work on the GX270 if
 BIOS a03 is used  - it would only work with the help of 865patch program
 by C. Zietz.
 
 b) Dowgrading the BIOS to a02 _and_ setting it's BIOS VideoBuffer Option
 to 8MB helps. (with both 4.4 and 4.3.0-7)
 
 The Bios image's called gx270a02.exe  - go grab it from dell's ftp
 server (in subdir 'bios'), if you have a GX270, of course.
 
 I've heard rumours that some GX270 refuse to downgrade to a02 - don't
 force it, it might destroy your Bios completely.
 

Downgrading to A02 fixed everything -- both debian 4.3.0-7 and OpenBSD
4.4. Thanks for the insight.

-- Mark



Re: i830 driver still not reserving memory (4.3.0-5)

2004-03-16 Thread Mark Zimmerman
On Mon, Mar 15, 2004 at 11:59:05PM +0100, Christian Guggenberger wrote:
 On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
  Greetings:
  
  I am running a mixed testing/unstable setup on a Dell system with the
  Intel 865G onboard graphics device. I installed the latest Xfree86
  packages 4.3.0-5 and everything works fine with one exception: I still
  need to run the 865patch program to reserve video memory prior to
  starting the X server. The changelog comments in xserver-xfree86
  incicate that this should no longer be the case.
  
 I'm not sure, if even XFree86 4.4 can work around all broken Dell
 Bioses...
 
 Well you could give it try:
 Basically, it should be sufficient to replace the following files
 (make a backup of the old ones)
 /usr/X11R6/bin/XFree86
 /usr/X11R6/lib/modules/libpcidata.a
 /usr/X11R6/lib/modules/libscanpci.a
 /usr/X11R6/lib/modules/drivers/i810_drv.o
 
 with those found at http://www.xfree86.org/~alanh/drivers/x86/ 
 
 See, if it works better then...
  - Christian

Good news and bad news: It looks like it is reserving memory properly.
The old log showed this:
(--) I810(0): Maximum space available for video modes: 832 kByte
and the new log shows this:
(--) I810(0): Maximum space available for video modes: 32576 kByte

However, the X server fails to start. Here is what I see on the console:

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

There is no indication in the log about the reason for the failure.

There may be something wrong with the XFree86 file I downloaded
(re-downloading made no difference). I was looking for missing library
dependencies but ldd fails:

alien$ ldd ./XFree86
ldd: /lib/ld-linux.so.2 exited with unknown exit code (135)

ldd works fine on the original XFree86:

alien$ ldd /usr/X11R6/bin/XFree86
libz.so.1 = /usr/lib/libz.so.1 (0x4001f000)
libm.so.6 = /lib/tls/libm.so.6 (0x4003)
libdl.so.2 = /lib/tls/libdl.so.2 (0x40054000)
libc.so.6 = /lib/tls/libc.so.6 (0x40057000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

-- Mark



Re: i830 driver still not reserving memory (4.3.0-5)

2004-03-16 Thread Christian Guggenberger

On 16.03.2004   17:15 Mark Zimmerman wrote:

On Mon, Mar 15, 2004 at 11:59:05PM +0100, Christian Guggenberger wrote:
 On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
  Greetings:
 
  I am running a mixed testing/unstable setup on a Dell system with the
  Intel 865G onboard graphics device. I installed the latest Xfree86
  packages 4.3.0-5 and everything works fine with one exception: I still
  need to run the 865patch program to reserve video memory prior to
  starting the X server. The changelog comments in xserver-xfree86
  incicate that this should no longer be the case.
 
 I'm not sure, if even XFree86 4.4 can work around all broken Dell
 Bioses...

 Well you could give it try:
 Basically, it should be sufficient to replace the following files
 (make a backup of the old ones)
 /usr/X11R6/bin/XFree86
 /usr/X11R6/lib/modules/libpcidata.a
 /usr/X11R6/lib/modules/libscanpci.a
 /usr/X11R6/lib/modules/drivers/i810_drv.o

 with those found at http://www.xfree86.org/~alanh/drivers/x86/

 See, if it works better then...
  - Christian

Good news and bad news: It looks like it is reserving memory properly.
The old log showed this:
(--) I810(0): Maximum space available for video modes: 832 kByte
and the new log shows this:
(--) I810(0): Maximum space available for video modes: 32576 kByte

However, the X server fails to start. Here is what I see on the console:

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.




I'm busy right now, but I could check (actually not check, just merge into 
4.3.0-5) all changes from HEAD's i810 driver within a week, or so, and build 
some homebrew debian packages.

I'll drop you a note, when I'm finished - maybe it would work then.

 - Christian



i830 driver still not reserving memory (4.3.0-5)

2004-03-15 Thread Mark Zimmerman
Greetings:

I am running a mixed testing/unstable setup on a Dell system with the
Intel 865G onboard graphics device. I installed the latest Xfree86
packages 4.3.0-5 and everything works fine with one exception: I still
need to run the 865patch program to reserve video memory prior to
starting the X server. The changelog comments in xserver-xfree86
incicate that this should no longer be the case.

Since no one else is complaining about this I am posting my config and
log files in case someone can spot a misconfiguration before I submit
a bug report.

I am running kernel 2.6.3, here are some lines from dmesg:

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 865 Chipset.
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xe800
[drm] Initialized i830 1.3.2 20021108 on minor 0

and lsmod:

Module  Size  Used by
ipv6  224000  10 
i830   68120  2 
intel_agp  17432  1 
agpgart31820  3 intel_agp
usb_storage29056  0 
scsi_mod   75300  1 usb_storage
uhci_hcd   30344  0 
usbcore   100180  4 usb_storage,uhci_hcd
e1000  80384  0 

XF86Config-4 and XFree86.0.log are appended below. The log file is for
a failed attempt; if anyone needs to see a successful log (after
running 865patch) then let me know.

-- Mark


# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPath/usr/lib/X11/fonts/misc
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
#   FontPath/usr/lib/X11/fonts/cyrillic
#   FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
EndSection

Section Module
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  ImPS/2
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
EndSection

Section Device
Identifier  Intel
Driver  i810
VideoRam32768
EndSection

Section Monitor
Identifier  Sun Monitor
HorizSync   30-96
VertRefresh 48-160
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Intel
Monitor Sun Monitor
DefaultDepth24
SubSection Display
Depth   1
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes   1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   16
Modes   1280x1024 

Re: i830 driver still not reserving memory (4.3.0-5)

2004-03-15 Thread Christian Guggenberger
On Mon, 2004-03-15 at 16:44, Mark Zimmerman wrote:
 Greetings:
 
 I am running a mixed testing/unstable setup on a Dell system with the
 Intel 865G onboard graphics device. I installed the latest Xfree86
 packages 4.3.0-5 and everything works fine with one exception: I still
 need to run the 865patch program to reserve video memory prior to
 starting the X server. The changelog comments in xserver-xfree86
 incicate that this should no longer be the case.
 
I'm not sure, if even XFree86 4.4 can work around all broken Dell
Bioses...

Well you could give it try:
Basically, it should be sufficient to replace the following files
(make a backup of the old ones)
/usr/X11R6/bin/XFree86
/usr/X11R6/lib/modules/libpcidata.a
/usr/X11R6/lib/modules/libscanpci.a
/usr/X11R6/lib/modules/drivers/i810_drv.o

with those found at http://www.xfree86.org/~alanh/drivers/x86/ 

See, if it works better then...
 - Christian