LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-03-2010, 01:46 PM   #1
Pratt
Member
 
Registered: Apr 2005
Location: Between Colombia and Germany
Distribution: Slackware Current
Posts: 78

Rep: Reputation: 15
i915 and KMS?


Hi guys!

Im running current and Im having some troubles enabling KMS on my laptop.
I used slackpkg. First removed the obsolete packages (like device-mapper, libgtkhtml, libungif, lbxproxy, liblbxutil............), and then did the whole install-new and upgrade-all.

Ive got a an Intel 945GM integrated card, im booting the huge-smp-2.6.33-smp kernel without an initrd, and use GRUB bootloader.

I created a /etc/modprobe.d/i915.conf file with the line "options i915 modeset=1", but X doesnt get to start.

I get to the "starting up X11 session manager...." part and all I get is a blinking cursosr on the top left of my screen . If I fire up xorgsetup I also get the blinkng cursor

My Xorg.0.log says:
Code:
(II) Loading extension DRI2                                                                                                  
(II) LoadModule: "intel"                                                                                                     
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.5, module version = 2.10.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.7.5, module version = 2.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00@00:02:0
(WW) Falling back to old probe method for vesa
(EE) intel(0): No kernel modesetting driver detected.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
If i run startx manually
Code:
xauth:  creating new authority file /root/.serverauth.2279


X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux parsiphae 2.6.33-smp #2 SMP Sat Feb 27 20:12:16 CST 2010 i686
Kernel command line: root=/dev/sda2 ro vga=773 i915.modeset=0
Build Date: 23 February 2010  02:14:00PM

Current version of pixman: 0.16.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  3 14:31:42 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
WARNING: Error inserting button (/lib/modules/2.6.33-smp/kernel/drivers/acpi/button.ko): Invalid module format
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
FATAL: Error inserting i915 (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  unexpected signal 2.
And if i try to load up the i915 module manually I get:
Code:
WARNING: Error inserting button (/lib/modules/2.6.33-smp/kernel/drivers/acpi/button.ko): Invalid module format
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
FATAL: Error inserting i915 (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
I reinstalled all kernel-* packages, but im still getting that behaviour.

I tried appending i915.modeset=1 and i915.modeset=0 to grub, and that made no difference.

Im out of ideas

Can someone give me a hand with this stuff? I like to have fun with emacs and lynx from time to time and Im having a blast with mpg123, but ive got to get X working eventually.

Thank you!
 
Old 03-03-2010, 02:06 PM   #2
cgp1024
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 1
I noticed that if you use insmod on the actual kernel module, it will load it. modprobe seems to spit these errors... could it be a bug with module-init-tools and 2.6.33 ?
 
Old 03-03-2010, 02:12 PM   #3
conraid
Member
 
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 78

Rep: Reputation: 28
Try -generic kernel, -huge seems to have errors
 
1 members found this post helpful.
Old 03-03-2010, 04:02 PM   #4
razb
LQ Newbie
 
Registered: Oct 2009
Location: Ukraine
Distribution: Slackware
Posts: 9

Rep: Reputation: 1
Perhaps this solution will help you
 
Old 03-03-2010, 06:53 PM   #5
matters
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 281

Rep: Reputation: Disabled
i hope that ur system is properly upgraded to current using slackpkg update, slackpkg install-new, slackpkg upgrade all slackpkg clean system

for intel 945 kms u can get it to work with last kernel from current 2.6.32.7-smp its modules, headers, source first install it then

go to this page http://advamacs.com/pub/intel-slackw...ting%20driver/ upgradepkg those two packages. then in lilo conf add this: append = "i915.modeset=1" without it x wouldnt start.

/sbin/lilo
and reboot the system
that should do

but theres 2 problems with kms on 945 as far as other users expirienced problems when 2.10 intel driver with kms is enabled :

1. xine crashes X
2. mplayer default video output xv dosent work anymore, however opengl2 vo is working but its consuming alot of cpu

intel is aware of that, and they didnt say when it will be fixed.

however intel 2.9.0 you can install http://advamacs.com/pub/intel-slackw...9.0-i486-1.tgz

without kms should work just fine on 2.6.32.7-smp. and you shouldnt expirience problems that i just described.

thanks to witek for the site he also has 945 chipset if i remember right and im telling you from his expirience and from others that i came accross through the net.

i do have 865g chipset and i dont have to explicitly load i915 with append = "i915.modeset=1" and dont have such problems with xine and mplayer and kms works just fine, however i do use xfce instead of kde since i do have slow system. it works for me just much faster than kde.

Last edited by matters; 03-03-2010 at 08:02 PM.
 
Old 03-04-2010, 10:19 AM   #6
Pratt
Member
 
Registered: Apr 2005
Location: Between Colombia and Germany
Distribution: Slackware Current
Posts: 78

Original Poster
Rep: Reputation: 15
I followed conraid's sugestion and everything seems to be working fine.
I had to do the whole "initrd" process though!

It was fun to fool around with lynx for a while XD! Now that my baby is back and that I am no longer sick, its time to get some work done !!

Thank you very much guys!! You rock!

Linuxquestions never dissapoints me!!
 
  


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
Radeon kms works! dolphin77 Slackware 147 01-05-2012 05:32 AM
Nouveau driver + KMS on Slackware64-13.0: it works! (mostly) Didier Spaier Slackware 8 12-12-2009 03:08 AM
Linux KMS Intel 865G: Hacking KMS to use vesa... or disable hardware acceleration eantoranz Linux - Hardware 1 08-01-2009 12:58 PM
KMS with radeon gives garbled screen with x onlyolli Linux - Software 0 06-29-2009 04:14 PM
LXer: The KMS, Plymouth Experience In Fedora 10 LXer Syndicated Linux News 0 11-28-2008 02:40 AM


All times are GMT -5. The time now is 11:26 PM.

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