LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-31-2005, 06:13 AM   #16
JensK
LQ Newbie
 
Registered: Jun 2003
Location: Vienna, Austria
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0

@ cab15625: Could you post your kernel .config file? I get the same error as kemro when inserting the module compiled by freedesktop's dri ("unknown symbol drm_cleanup_pci") - maybe I missed some kernel options (although a full grep of the kernel sources for "drm_cleanup_pci" did not find anything).

[EDIT]
Of course it was a kernel configuration problem: I had to disable DRM support in the kernel in order for the DRI implementation of freedesktop.org to work. Otherwise the original kernel module is loaded instead of the freedesktop.org one, thus causing the i915 module to fail (because the original module doesn't have the symbol drm_cleanup_pci the i915 module expects...)... or so I think ;-)

However, now mplayer works in full screen mode. glxgears shows about 50 fps (fullscreen). Doesn't sound so great, but I don't care for 3D on linux anyway.
[/EDIT]

Last edited by JensK; 07-31-2005 at 07:12 AM.
 
Old 07-31-2005, 08:32 AM   #17
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
Can you concretely tell what option to disable ?

Device Drivers -->
Character devices -->
Intel 830M, 845G, 852GM, 855GM, 865G --> (1*
i915 driver


Should I disable just 1* ?

or maybe all "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)" ?

and which version of dri then, 050707 or newest ?


Please, quickly answer, because today I leave my city and I'll be disconected from network for few days and I really want to do this before leaving..


---------------------- update :

I couldn't wait and I disable all "Direct rendering manager", and dri from freedesktop (20050707) compiled and inserted perfectly !

But what should I do now in xorg.conf ?

glxinfo :
"direct rendering: No"

xvinfo :
"X-Video Extension version 2.2
screen #0
no adaptors present"


And in mplayer i still have to type

"-vo x11 -zoom" if I want fullscreen.. ;[

And one more question.. ahve you tried on i915 xorg transparency ?

I do, but when I edit xorg.conf, add composite, and on x type type xcompmgr, everything is so slow.. ;[
There is 128 MB, right ? Shouldn't it be better ?


Last edited by kemro; 07-31-2005 at 08:50 AM.
 
Old 07-31-2005, 01:41 PM   #18
JensK
LQ Newbie
 
Registered: Jun 2003
Location: Vienna, Austria
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
I installed the i915 snapshot with the install script and then I used the "i810" driver instead of "vesa". Nothing else was necessary. Didn't try transparency though, I switch things like that off deliberately
 
Old 07-31-2005, 02:29 PM   #19
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
I don't understand..

Why you used i810 driver (what driver is this ? modprobe i815 - from source of kernel ?)

I have to add something to xorg.conf but I don;t know what..
 
Old 08-01-2005, 08:50 AM   #20
cab15625
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15
Stupid question, but is there a good way to post my kernel config? It's a 38k file and I don't have a web page to set a link up to. I don't see any way to make an attachement to these postings. For now, I'll say that I have drm, dri, agpgart, i810, and i915 enabled in the kernel.

The free-desktop drivers move the kernel versions of drm.ko and i915.ko to dri-old.drm.ko and dri-old.i915.ko, so there doesn't seem to be any interference there.

Also, I have fb stuff compiled as modules for the i810 as well. Don't know if that matters.

Hope that helps for now. If someone could tell me a sane way to post the kernel config file or what sections to cut and slice, that might be more useful in the long run.
 
Old 08-01-2005, 09:34 AM   #21
JensK
LQ Newbie
 
Registered: Jun 2003
Location: Vienna, Austria
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
@ kemro: My xorg.conf says:

Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel"
BoardName "Intel i915"
EndSection

This probably works because the original i810_drv.so from X.org has been replaced with another version from dri.freedesktop.org.

@cab: Never mind; it seems to be the "Direct Rendering Manager" option one has to disable in Character Devices.
 
Old 08-02-2005, 01:06 PM   #22
NaillL
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware 11
Posts: 2

Rep: Reputation: 0
Smile So...i`ve solved

Hi everyone !!!

So, i`ve had this problem... and there is the solution:

1) download file(I`ve founded it on the web page with review of debian on the laptop) http://home.comcast.net/~canez/d610/....10-update.tgz
2) Then you should compile kernel (no matter what version...now I have 2.6.12 and GLX+2.6.12 works BETTER that any linux distro, even Gentoo) with agpgart, i810, drm, dri, i915 MODULES.
3) untargz file from the step 1 to any directory, enter this dir, and type 'sh install.sh' in bash
4) follow instructions, and JUST press enter everywhere(even if agpgart compilation failes....)
5) then the install-program will copy dri and i915 files into the X directory...
6) (even after this 5 steps your X system will not start =))... installation system will rename your existing modules in kernel to smthing like i915_old.ko.... so you shoul enter your /usr/src/linux directory and simply type 'make modules_install'
7) all your config files, which are posted to this forum ARE CORRECT!!! you`ll need to use i810 as your driver...
8) your X is done... you can run startx and enter glxgears... i`ve founded, that this combination of steps made my slackware 10.1 system (which I use as desk on my laptop HP nx6110) the fastest in graphics acceleration =)
believe me, I`ve tryed many distros on it, so, when you hardware is like CONSTANT, you can compare exactly what system is better. SO even Gentoo 2005.0 with nptl and pentium-m optimizations and other features with this compination of steps is slower !!! (it shows 500-600 fps, but SLACKWARE shows apprxmtly 700-800)

so, as I`ve mentioned, this STEPS are good for any distro, and you can use whatever you want!

=) ENJOY

P.S. It`s MY FIRST POST =)))
 
Old 08-06-2005, 04:38 AM   #23
baconbits23
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Unhappy Trouble compiling drivers from dri.freedesktop.org

I got a new Dell inspiron 6000 the other and I've had loads of trouble installing everything, i've just got my newly made kernel (2.6.11.7) up and running, i'm also running Debian (1:3.3.6-7). I think I have the same graphics chips as you chaps, for lspci i get this info and more:

2592 Mobile 915GM/GMS/910GML Express Graphics Controller
2792 Mobile 915GM/GMS/910GML Express Graphics Controller

I have tried http://dri.freedesktop.org/snapshots...x.i386.tar.bz2 and http://home.comcast.net/~canez/d610/....10-update.tgz and neither of the compile

My installation is very basic and minimal it is possible I have some bits missing ?

I am trying to run X Window System Version 6.8.2 Ubuntu 6.8.2-10 20050405154308 if this helps.

I am getting the following error messages at the end of the log from i915-20050718-linux.i386.tar.bz2 install log:

include/linux/sched.h:331: error: storage size of `rlim' isn't known
include/linux/sched.h:602: error: storage size of `start_time' isn't known
include/linux/sched.h:624: error: storage size of `thread' isn't known
include/linux/sched.h:636: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/fs.h:278: error: storage size of `ia_atime' isn't known
include/linux/fs.h:279: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:280: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:223: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:363: error: storage size of `bd_sem' isn't known
include/linux/fs.h:364: error: storage size of `bd_mount_sem' isn't known
include/linux/fs.h:439: error: storage size of `i_atime' isn't known
include/linux/fs.h:440: error: storage size of `i_mtime' isn't known
include/linux/fs.h:441: error: storage size of `i_ctime' isn't known
include/linux/fs.h:449: error: storage size of `i_sem' isn't known
include/linux/fs.h:450: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:586: error: storage size of `f_owner' isn't known
include/linux/fs.h:770: error: storage size of `s_umount' isn't known
include/linux/fs.h:771: error: storage size of `s_lock' isn't known
include/linux/fs.h:800: error: storage size of `s_vfs_rename_sem' isn't known
include/linux/file.h:33: error: storage size of `fd_array' isn't known
include/linux/pci.h:537: error: storage size of `dev' isn't known
/usr/store/download/dripkg/drm/linux-core/drmP.h:578: error: storage size of `fops' isn't known
/usr/store/download/dripkg/drm/linux-core/drmP.h:645: error: storage size of `ctxlist_sem' isn't known
make[3]: *** [/usr/store/download/dripkg/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/usr/store/download/dripkg/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11.7'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/store/download/dripkg/drm/linux-core'
make: *** [i915.o] Error 2

and loads more problems before this one.

Is there an easier way to get X up and running or do I need to get the above working ?
Am I haveing so much trouble because the chipset is new ?

Thanks for any help you chaps can give me,
Steve

BTW here is a link to all of my configuration files and logs etc.
http://www.baconbits.demon.co.uk/debian_info_n_logs/

Last edited by baconbits23; 08-06-2005 at 05:00 AM.
 
Old 08-06-2005, 05:45 AM   #24
JensK
LQ Newbie
 
Registered: Jun 2003
Location: Vienna, Austria
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Do you have the sources of your kernel installed?
 
Old 08-06-2005, 11:26 AM   #25
baconbits23
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
its sort of working now

Yes I do have the kernel source. I have just used vesa in xorg.config and X stared ok. I have just run glxgears and got 360 FPS which seems a it slow so I don't know if i'm using the graphics card to its full potential. But using mplay videos play fine full screen.

I'm quite happy with the way it is now but any suggestions to improve speed would be good !

Thanks for the reply !!
 
Old 08-06-2005, 01:57 PM   #26
NaillL
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware 11
Posts: 2

Rep: Reputation: 0
Wink if it doesn`t compile... it`s not the end of the world

If You`ve read my post, I`ve posted that it can be uncompileable!!! but it`s not a problem...
you just can`t compile drm and agpgart modules.... but then YOU JUST PRESS ENTER !!! so at the end of installation of dri-i915-update.......gz you should enter your /usr/src/linux dir and type 'make modules_install' (you kernel should be configured also...)
so,...
1 - you must have your sources of the kernel you are running!
2 - you shold make link to /usr/src/linux by typing 'ln -s /usr/src/linux-2.6.x.y /usr/src/linux'
3 - run my steps (above)
 
Old 08-06-2005, 02:46 PM   #27
cab15625
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15
Just a note to be careful that you don't just tell it /usr/src/linux. Make sure you point to the path for the kernel source that you are actually using.

For example, I'm running slackware 10.1 which installs kernel source to /usr/src/linux-2.x.x and then links /usr/src/linux to that (if you ask it to install kernel source). However, I've dl'd and installed 2.6.12.2 and untared it to /usr/local/src/linux-2.6.12.2, and it is this path that I have to point the drm compile at in order for all the correct include files to be found. Basically, double check to make sure you are compiling against the correct kernel source tree.
 
Old 08-19-2005, 03:57 PM   #28
TNTPOP
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
hey...

right just got in....

I got a laptop (HP nx6110) and it has the Intel 915GM
problem is that the board seems to have the BusID:0:2:0 whereas the driver is searching on the BusID:0:2:1

I suppose the driver I have is Ok, I tried recompiling as said previously in the topic but it just does'nt get to scan the correct BusID...

Any idea?

please.... please ....
 
Old 08-21-2005, 02:09 PM   #29
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
compiling kernel modules / dri package

I just finished compiling the DRI package from freedesktop.org (see http://dri.freedesktop.org/snapshots/). It turns out that with the packages that I downloaded *do* require that the kernel modules are successfully compiled and otherwise exits with an error message.

The good news is that for my case it was relatively easy to get it working. I just needed to compile some scripts/helper programs in the kernel source directories. Go to /usr/src/linux and run (as root) "make scripts". This should compile the required programs. After this the kernel module compilation worked and everything installed fine...

The bad news is that in my case, the DRI does not seem to work as yet... but we're getting there, I guess

My system:
Suse 9.3; xorg 6.8.2; acer aspire with intel 915 graphics card, 1280x800
 
Old 11-13-2005, 04:37 AM   #30
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
Hi !

I need help again

For now I was on Linux 2.6.13.2 with dri 20050718 and in xorg.conf have :
driver "i810"

Today I migrated on Linux 2.6.14.2 and dri 20051112..

Before compiling dri everything was well (byt without dri :P )
after compiling dri, it inserted "i915" and "drm" modules.

I'm making startx and have :


Code:
(==) Using config file: "/etc/X11/xorg.conf"

(EE) module ABI minor version (8) is newer than the server's version (7)
(EE) Failed to load module "i810" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
Xorg.0.log :

Code:
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.so
(II) Module i810: vendor="X.Org Foundation"
	compiled for 6.8.99.902, module version = 1.4.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 0.8
(EE) module ABI minor version (8) is newer than the server's version (7)
(II) UnloadModule: "i810"
(II) Unloading /usr/X11R6/lib/modules/drivers/i810_drv.so
(EE) Failed to load module "i810" (module requirement mismatch, 0)

Now I'm on "vesa" driver in xorg.conf and I even can't watch movie on mplayer (vo xv is not working)


What to do ?
Why driver "i810" in xorg.conf stopped to work ?
 
  


Reply



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
Xorg 915 "Sonoma" chipset viniosity Linux - Newbie 2 07-28-2006 01:04 AM
i915 module matrixon Linux - Software 1 06-24-2005 10:40 PM
Xorg stuck at 640x480 on Sis 5597/98 chipset chris_J_W Ubuntu 3 06-09-2005 01:34 PM
xorg i810 driver problem : Dell2001FP monitor with i915 card (Dell Dimension D610) EdoardoC Linux - Hardware 0 05-20-2005 04:49 AM
proper support for intel i915 chipset motherboards? TheOneAndOnlySM Linux - Hardware 8 02-15-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration