LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   i915 and KMS? (https://www.linuxquestions.org/questions/slackware-14/i915-and-kms-792945/)

Pratt 03-03-2010 01:46 PM

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!

cgp1024 03-03-2010 02:06 PM

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 ?

conraid 03-03-2010 02:12 PM

Try -generic kernel, -huge seems to have errors

razb 03-03-2010 04:02 PM

Perhaps this solution will help you

matters 03-03-2010 06:53 PM

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.

Pratt 03-04-2010 10:19 AM

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!!


All times are GMT -5. The time now is 07:30 AM.