LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-14-2005, 08:14 AM   #31
cab15625
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 11.0/current
Posts: 23

Rep: Reputation: 15

I've never seen that error message before, and I'm afraid I don't understand it. However, I do have a suggestion for something you might try. I recently upgraded to 2.6.14 and noticed that it worked with the kernel's native drivers (ie, the ones that you can get from the make menuconfig) without having to compile the additional drivers from freedesktops.org. This might be peculiar to my distro (Slackware 10.2) but it may be worth a try.
 
Old 11-14-2005, 08:30 AM   #32
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
On 2.6.12.3 with XFree 4.3.0.1 , with a 855GM :

kernel .config:

CONFIG_DRM=m
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m

XF86Config-4 :
Section "Device"
BusID "PCI:00:02:0"
Driver "i810"
Identifier "Vid"
Videoram 64000
EndSection

Section "DRI"
Mode 0666
EndSection


Works nicely, no need for external drivers
 
Old 11-14-2005, 10:04 AM   #33
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
Slackware 10.1 (upgraded to current), Xorg 6.8.2, Linux 2.6.14.2, Intel 915

Still the same..

I recompiled kernel 2.6.14.2

.config:

Code:
CONFIG_DRM=m
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
edited /etc/X11/xorg.conf :

Code:
Section "Device"

    Identifier "Card0"
    Driver "i810"
    BusID "PCI:00:02:0" 
    VendorName "Intel"
    BoardName "Intel i915"
    Videoram 128000                      (I tried without this too)
EndSection

Section "DRI"
Mode 0666
EndSection
and tried to load different combinations of these modules :
drm
i915
i810
i810fb

And still have the same :

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)

I just don't know what to do more

Can someone tell me what's going on and what can I do ? ;(

Last edited by kemro; 11-14-2005 at 10:48 AM.
 
Old 11-14-2005, 04:37 PM   #34
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
version numbers

Perhaps you could try using an older snapshot? I got mine a little while ago, and it works ok. It reports back:

(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.99.15, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7

Note that my Xorg -version is:
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2

Perhaps the newer module uses a different interface. In any case it was compiled against a newer version of x.org. Note that this *is* also true in my case, where it does work of course. I would try downloading and using the previous snapshot you had and see if that still works.

It might be that they upgraded the ABI (interface) specification making the module code incompatible with the older server version(s). In that case I suppose you'd have to compile a newer version of x.org (i.e. a CVS version or something). (Then it might be easier to revert to an older snapshot
 
Old 11-15-2005, 08:58 AM   #35
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
Great.. still and still problems

I did what you tell.. I tried to back to earlier dri version..
I recompiled 2.6.14.2 with "drm=n" and tried to install

i915-20050707

I used this version always before - it always worked.. and now.. :

compiling ok, insterting module (from dri.log) :

Code:
make DRM_MODULES=i915.o modules
make[1]: Entering directory `/home/kemro/new/dripkg/drm/linux-core'
make -C /lib/modules/2.6.14.2/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.14.2'
  Building modules, stage 2.
  MODPOST
*** Warning: "pci_pretty_name" [/home/kemro/new/dripkg/drm/linux-core/i915.ko] undefined!
make[2]: Leaving directory `/usr/src/linux-2.6.14.2'
make[1]: Leaving directory `/home/kemro/new/dripkg/drm/linux-core'
FATAL: Error inserting i915 (/lib/modules/2.6.14.2/kernel/drivers/char/drm/i915.ko): Unknown symbol in module, or unknown parameter (see dmesg)



---------
update :


I have back to 2.6.13.1, installed older version of dri (20050707) and there was the same during starting X server..

I think, there was problem with i810 module (from xorg), so I did rm /usr/X11R6/....../modules/i810* and upgradepkg --reinstall x11-6.8.2....

Compiled once again i915 20050707 and now I have this :

Code:
(II) Module i810: vendor="X.Org Foundation"
	compiled for 6.8.2, module version = 1.3.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 0.7      # like you see - it's loading now ! :)
(II) LoadModule: "mouse"

...

(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
	i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected.

Fatal server error:
no screens found
but in xorg.conf I have :

Code:
Section "Device"

    Identifier "Card0"
    BusID "PCI:00:02:0"
    Driver "i810"
    VendorName "Intel"
    BoardName "Intel i915"

EndSection
Why it's still trying PCI:0:2:1 when in xorg.conf is PCI:00:02:0 ?
And what can I do now ?
(Now I still am on vesa driver :/ )

Last edited by kemro; 11-18-2005 at 06:31 AM.
 
Old 11-26-2005, 03:35 PM   #36
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
some info for suse 9.3

Don't worry about the BusID warning. It's normal. I am also getting that warning with my working setup:

(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
915GM, 945G
(II) Primary Device is: PCI 00:02:0
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(--) Chipset 915GM found

I know I played with that initially as well, but it is not the cause of the problem.

By the way, I think I got my system to work without needing to recompile the kernel. I am using the default suse 9.3 kernel (2.6.11.4-21.8-default). All I did was:
1. Get i915 and common packages from http://dri.freedesktop.org/snapshots/
2. Switch to /usr/src/linux/, run as root: make scripts
3. Unpack above packages and run install.sh as root
This should compile and install the modules/drivers
3. Modify your /etc/X11/xorg.conf (I'll try to put up a link to it...see also this post )
- select i810 as device driver
- enable loading "dri" module
- insert modelines for 1280x800 resolution
4. Use 915resolution (website http://www.geocities.com/stomljen/) to enable
1280x800 resolutions
5. Some instructions that I found here for getting 915resolution to load on startup.

I am not sure what else to say. Is your i915 kernel module loaded? For me lsmod lists it:
i915 18944 1
drm 62872 2 i915

Last edited by suselapper; 11-26-2005 at 03:46 PM.
 
Old 11-27-2005, 07:50 AM   #37
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
It's working !
Tank you suselapper !


module's working xvideo's working, I have 1280x800, It's great !

But now.. what can I do for games ?

I'm making video tests form Cedega and I have :

OpenGL direct rendering : FAILED
Code:
Your OpenGL drivers do not appear to be setup correctly. Please check the documentation for your Linux distribution and your graphics card drivers to ensure proper installation.


3D Acceleration : FAILED
Code:
Your graphics card does not appear to be setup correctly.
Please check the documentation for your Linux distribution
and your graphics card drivers to ensure proper installation.


What to do now ?
 
Old 11-27-2005, 08:46 AM   #38
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
Hmmm. Did you include the option "DRI" "true" in your device configuration? See the section below:


Code:
Section "Device"
#Regular LCD screen setup:
  Identifier   "i915CRT0"
  Driver       "i810"
  VendorName   "Intel"
  BoardName    "915 GM"
  BusID        "0:2:0"
  Screen       0
  Option       "NoDDC"
  Option       "RenderAccel" "true"
  Option       "Rotate" "off"
  Option       "DevicePresence" "yes"
#  Option       "MonitorLayout"  "CRT,LFP"
  Option       "DRI" "true"
EndSection
You can also look for the string DRI in your /var/log/Xorg.0.log file, and see if reports anything back. I see something like this when things work:
Code:
linux:/var/log # grep DRI Xorg.*
Xorg.0.log:(II) Loading extension XFree86-DRI
Xorg.0.log:(**) I810(0): Option "DRI" "true"
Xorg.0.log:(II) I810(0): [DRI] installation complete
 
Old 11-27-2005, 09:45 AM   #39
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
It begins...

Xorg.log :

Code:
(EE) I810(0): [dri] I830DRIScreenInit failed because of a version mismatch.
[dri] libdri version is 4.1.0 bug version 5.0.x is needed.
[dri] Disabling DRI.

I have i915 20050707

Because this always worked.. Should I download newer version ?
There is 20051126 (yesterday) now... Download it ? Will it be good ?
Which version will work for 100% ?

I'm affraid, because as you can see on the top, that newer version wasn't good for me..

Last edited by kemro; 11-29-2005 at 01:07 PM.
 
Old 11-29-2005, 01:09 PM   #40
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
I knewet..

I tried the latest dri (from yesterday) and everything *&#$%%^&^*#$....

There were problems with ABI again (like on the top), now I don't have strength anymore..

I tried remove everyting (xorg, modules from /usr/X11R6/lib/modules/dri and /lib/modules/kernel/.....drm etc.) and start from beginning, still and still something was wrong

I think, everything what I can do is waiting for newer Xorg version..
(xorg from cvs isn't for my possibilities...)

Has anybody from you working opengl and direct rendering on i915 on xorg 6.8.2 ?

Is it possible ?
 
Old 11-29-2005, 02:11 PM   #41
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
Xorg log output when things work

It is unfortunate that I can't exactly retrace which exact DRI snapshot I used at the time, but it works for me, on SuSE 9.3, using that exact version. (based on results from glxgears) At this point all I can offer is a detailed listing of DRI/DRM related messages from /var/log/Xorg.0.log:

Code:
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux linux 2.6.11.4-21.8-default #1 Tue Jul 19 12:42:37 UTC 2005 i686
Build Date: 22 March 2005
===========================
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
        compiled for 6.8.99.15, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
        compiled for 6.8.99.15, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
        compiled for 6.8.99.15, module version = 1.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7

=================

II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/X11R6/lib/modules/extensions/libdri.a
(II) UnloadModule: "dri"
(EE) I810: Failed to load module "dri" (once-only module, 0)


======================

(**) I810(1): Option "DRI" "true"


========================

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] loaded kernel module for "i915" driver
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe069d000
(II) I810(0): [drm] mapped SAREA 0xe069d000 to 0xb7ca3000
(II) I810(0): [drm] framebuffer handle = 0xc0660000
(II) I810(0): [drm] added 1 reserved context for kernel

===============================

(II) I810(0): [drm] Registers = 0xb0080000
(II) I810(0): [drm] Back Buffer = 0xcf800000
(II) I810(0): [drm] Depth Buffer = 0xcf400000
(II) I810(0): [drm] ring buffer = 0xc0000000
(II) I810(0): [drm] textures = 0xc0b00000
(II) I810(0): [drm] dma control initialized, using IRQ 10
(II) I810(0): [drm] Initialized kernel agp heap manager, 115867648
(II) I810(0): [dri] visual configs initialized

============================

(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled

===========================
One more comment: the file /usr/X11R6/lib/modules/extensions/libdri.a has the date of 2005-08-21, suggesting that my dri snapshot must have been from around that time (or older). I noticed that they suggest upgrading Xorg on the dri snapshot website. Note that I did *not* do that at the time. I am not sure if that is *now* required.
 
Old 11-29-2005, 02:24 PM   #42
kemro
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
1. So... OpenGLand Direct Rendering are normally working on your xorg 6.8.2 ?

Can you normally play in games like quake3, tuxracer etc. (aren't they slow ?) ?

2. I see, that /usr/X11R6/lib/modules/extensions/libdri.a comes from x11-6.8.2, and I think that means, that you have installed your xorg on 21.08.05... Do I think good ?

If I think good, then your dri should be a little newer than 21.08.05 ?

Last edited by kemro; 11-29-2005 at 02:27 PM.
 
Old 11-29-2005, 02:37 PM   #43
suselapper
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
Well, I do not run any demanding 3D games on my system. I think I tried tuxracer once, and it was not working so well. I do think that DRI is working, but the performance is just not very good. I kind of expect that for such a shared-memory graphics card though.

In glxgears I get ~1200. Not sure how bad or good that is, but at least better than with DRI disabled. I do seem to get 3D accelaration in some programs that I use, but that are not *that* demanding.

Quote:
2. I see, that /usr/X11R6/lib/modules/extensions/libdri.a comes from x11-6.8.2, and I think that means, that you have installed your xorg on 21.08.05... Do I think good ?

If I think good, then your dri should be a little newer than 21.08.05 ?
I am not sure that I understand you here. The xorg is from SuSE. I don't believe I installed it. It would have been newer otherwise. The DRI *is* from 21.08.05, since that is the filedate. I don't see that it can be newer than that. I assume that I got a snapshot that was current at that time, but that I deleted the tar files in the mean time.

Note that I did do all kinds of stuff earlier, including attempting to compile new(er) versions of xorg (from cvs and all), until I got it to work with the older version that came from suse...
 
  


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
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 07:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration