LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 08-26-2005, 08:52 AM   #1
michalceri
LQ Newbie
 
Registered: Aug 2005
Location: Slovakia
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Angry Configuration troubles on XFree86 4.5.0 with i915GM


Greetings!

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'.
GUI started!!
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'...
/dev/agpgart...
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!

Last edited by michalceri; 08-26-2005 at 09:00 AM.
 
Old 08-27-2005, 11:30 AM   #2
thedeadhead
LQ Newbie
 
Registered: Aug 2005
Location: Somewhere in one of the continents
Posts: 22

Rep: Reputation: 15
I think you may need to edit/create a ./xinitrc file, because your X may not know what Window Manager to use, so create a file in your /home/yourusername/ directory called .xinitrc.

In that file write:
gnome
kde

And highlight the one you dont want to use, so if you want to use gnome highlight kde out
gnome
#kde

and so on,


thedeadhead
 
Old 09-16-2005, 02:36 AM   #3
michalceri
LQ Newbie
 
Registered: Aug 2005
Location: Slovakia
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
Lightbulb

Finally, i915 works with Xorg.

I returned to XFree 4.3 and installed xorg modules over it.

I also upgraded the kernel to 2.6.11 with i915 support, so even DRI works fine ( just DirectDraw through WINEHQ works strange, but it is another chapter, I think ).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 6000 and i915GM not working R4cOOn Linux - Laptop and Netbook 2 09-20-2005 10:23 PM
Troubles compiling xfree86 4.4.0 Codegen Linux - Software 12 01-06-2005 10:29 AM
XFree86 4.4 upgrade is giving me video troubles. murray_linux Slackware 9 05-04-2004 08:19 PM
Xfree86 Configuration Dan Angelescu Linux - General 1 01-26-2002 09:12 PM
Configuration Troubles - Help! farmer jane Linux - Software 2 11-11-2001 08:01 PM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration