My system is Debian Sarge with kernel 2.4.27 on HP Compaq nx6110 laptop.
On installation CD there was XFree86 4.3 which has not support for Intel 915GM gr. accelerator. After few months using VESA mode I had finally decided to upgrade to XFree86 4.5.0. from XFree86.org According to its documentation there is i915 support implemented.
Firstly I downloaded XInstall.sh to check glibc version ( result was glibc_23).
Then I downloaded all binaries from corresponding directory, made X backup by copying X11, X11R6 directories and ran Xinstall.sh as root outside X environment.
Last step of installation was to make DRM modules. I choosed yes, but compilation was breaked with message $CONFIG_X86_CMPXCHG not enabled or something like that.
I'm the real newbie...how can I enable that variable??
I went through this trouble by modifying Makefile in /usr/X11R6/src/..., so the variable was not checked. Then I ran 'make' and 'make install' and new modules were exported to '/lib/modules/2.4.27-2-386/kernel/drivers/char/drm: gamma.o, i810.o, i830.o, mga.o, r128.o, radeon.o, sis.o, tdfx.o.
I really don't know whether modifying Makefile this way was right.
After installation I ran 'export PATH=$PATH:/usr/X11R6/bin' and then 'XFree86 -configure'. There was an error, which I repaired by making a link to libglide2x.so. Next run of 'XFree -configure' passed and I just had to change touchpad to '/dev/psaux' in config file.
I tested configuration with 'XFree -xf86config /etc/X11/XF86Config' and X started.
BUT: After reboot, the X environment couldn't start due to Xserver error.
I didn't know...what's wrong...
I tried to reinstall XFree one more time. I removed all existing X directiories and installed again without any previous installation...
After reboot I let XFree automatically detect configuration 'on fly'.
BUT: After login, my or root's Gnome or KDE session can't be accessed and I get just "nice" X terminal. I think that this is due nonexisting XSession files. However, rescue Gnome session works (but windows have no frames!!)
Does anybody know how to repair and access my sessions and settings without crashing X server again? Which files should I restore from backup?
Next trouble is that DRI mode has been stopped because there was not enough memory. Performance is too slow!
XFree Log file also tells me these errors/warnings
Current Operating System: Linux debian 2.4.27-2-386
(EE) open /dev/fb0: No such device
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
(WW) I810(0): /dev/agpgart is either not available, or no memory is available
for allocation. Using pre-allocated memory only.
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte
(--) I810(0): VideoRAM: 7932 kByte
(II) I810(0): 2212 kBytes additional video memory is required to
enable tiling mode for DRI.
(II) I810(0): 4 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
GetModeLine - scrn: 0 clock: 63345
GetModeLine - hdsp: 1024 hbeg: 1072 hend: 1176 httl: 1328
vdsp: 768 vbeg: 769 vend: 772 vttl: 795 flags: 0
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 11. Server aborting
/dev/fb0 sounds like 'framebuffer'...
Can anybody help me how to setup these devices and start DRI?
Are there steps I forgot to do?
I'll add whole XFree86.0.log if somebody needs it...
Thanks for help!