Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Hardware & Laptops
FedoraForum Search

Forgot Password? Join Us!

Hardware & Laptops Help with your hardware, including laptop issues

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th February 2010, 09:40 PM
MKHayes Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfedorafirefox
Intel graphic driver needs agpgart kernel module Where do I find it?

Hi all,

I have a new Dell Inspiron 15 with a Core i3 chip and Intel's HD Graphics. I can't get this laptop out of 1024x768. (Plain vanilla vesa driver.)

Smolt profile: pub_83446ddb-11c8-4d73-aea2-66febe4f1847

Trying to install and run Intel driver xf86-video-intel 2.10.0 from here:
http://intellinuxgraphics.org/2009Q4.html

As per instructions I have install kernel 2.6.32.7-37.fc12.x86_64

That went fine, broke my wireless but that was expected. (Broadcom 4312)

Instructions here: http://intellinuxgraphics.org/install.html tell me I need kernel module agpgart and drm

modprobe -l | grep drm gives me numerous results.

modprobe -l | grep agpgart returns nothing.

I'm not a Linux noob, been using Fedora for years, but I'm mostly a user, fixing problems from following directions here. I can't find anything about installing (or loading if installed) agpgart.

Thanks in advance,
MK

---------- Post added at 04:40 PM CST ---------- Previous post was at 12:11 PM CST ----------

OK, didn't need it, got it to work

Instructions to follow.
Reply With Quote
  #2  
Old 6th February 2010, 09:47 PM
MKHayes Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfedorafirefox
Core i3 with Intel HD Graphics

I have succeeded in getting the Intel driver to work on a Core i3 laptop with Intel HD Graphics chip to run at native resolution.

My laptop is a Dell 1564, but hopefully this will work with other makes.

I have yet to test 3D stuff, as my primary goal was to get it out of 1024x768.

I got the driver here:
http://intellinuxgraphics.org/2009Q4.html

The instructions on this page recommend 2.6.32 and I built it using kernel-2.6.32.7.37.fc12.x86_64 from the updates-testing repository. But I have since booted to 2.6.31.12-174.2.3.fc12.x86_64 and it works!

I started from a scratch standard anaconda install of F12. Anaconda had trouble with the monitor from the start, so I had to install with basic video drivers. (VESA in otherwords.) I then ran yum update.

intellinuxgraphics.org recommends these packages to go with the xf86-video-intel 2.10.0 tarball:

mesa 7.7 or later
libdrm-2.4.16 or later
xserver-1.7.3 or later
Kernel 2.6.32 as mentioned

Also:
- autoconf
- automake
- libtool
- hwdata (for PCI IDs)
- xorg-x11-server-Xorg >= 1.3.0.0-6
- xorg-x11-server-sdk >= 1.3.0.0-6
- libXvMC-devel
- mesa-libGL-devel >= 6.5-9
- libdrm-devel >= 2.0-1

I installed much more than these to get it to work. See attachment for complete list. Many of these were dependencies, but I figures I'd be complete. (I was missing gcc.)

I untarred the xf86-video-intel driver, cd'ed into that new directory and did

Code:
$ ./configure
$ make
$ su
# make install
This process put the driver in:
/usr/local/lib/xorg/modules/drivers/intel_drv.so

This is the wrong place, it needs to be in:
/usr/lib64/xorg/modules/drivers/intel_drv.so

I mv the original file to intel_drv.orig before I cp'd the new one.
I also moved the intel_drv.la file into this directory for good measure.

I cp'd /etc/X11/xorg.conf to /etc/X11/xorg.conf.vesa
Created /etc/X11/xorg.conf.intel

Code:
Section "Device"
	Identifier  "Videocard0"
	Driver      "intel"
EndSection

Section "Module"
	Load "glx"
	Load "dri"
EndSection

Section "DRI"
	Mode 0666
EndSection
Then cp'd xorg.conf.intel to xorg.conf

I added i915.modeset=1 to the kernel line in grub.conf. As in:

Code:
kernel /vmlinuz-2.6.32.7-37.fc12.x86_64 ro root=/dev/mapper/vg_saavik-lv_root nomodeset
 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb 
quiet i915.modeset=1
Rebooted, and it worked.

I also added the i915.modeset=1 to the 2.6.31.12 kernel and it also worked. (Important, if like me you have a Broadcom 4312 wireless card.)
Attached Files
File Type: txt rpms_installed.txt (1.6 KB, 216 views)
Reply With Quote
  #3  
Old 21st February 2010, 04:44 PM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
linuxfedorafirefox
Thanks for the information. I have an Inspiron 1464. I was using the generic vesa video driver, and your instructions worked Thought it looks like my wireless Broadcom 4312 is broken now. I can seem to boot the previous kernel and get X to work correctly.
Reply With Quote
  #4  
Old 21st February 2010, 04:57 PM
MKHayes Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfedorafirefox
Don't forget to add i915.modeset=1 to grub.conf for the 2.6.31 kernel boot line. Then you should be fine.
Reply With Quote
  #5  
Old 22nd February 2010, 02:30 AM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
linuxfedorafirefox
Yes I have that

kernel /boot/vmlinuz-2.6.32.8-58.fc12.x86_64 ro root=UUID=c625c564-ee39-48c6-8518-5aaf0b2bd597 nomodeset LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet i915.modeset=1

But still no wireless.
Reply With Quote
  #6  
Old 22nd February 2010, 02:40 AM
MKHayes Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfedorafirefox
You won't get wireless with the 2.6.32 kernel until the wireless drivers are updated for it. So you need to boot into the 2.6.31 kernel.

And to get that kernel to boot with the graphics card fix, you need to fix that kernel line in grub.conf to look like this:

Code:
kernel /vmlinuz-2.6.31.12-174.2.3.fc12.x86_64 ro root=/dev/mapper/vg_saavik-lv_root 
nomodeset LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb 
quiet i915.modeset=1
Reply With Quote
  #7  
Old 23rd February 2010, 02:02 AM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
linuxfedorafirefox
Right you are, my bad, it's working fine now Is there any way to use the external video port?
Reply With Quote
  #8  
Old 25th February 2010, 07:49 PM
jbladder's Avatar
jbladder Offline
Registered User
 
Join Date: Jan 2010
Location: Michigan
Posts: 17
windows_xp_2003firefox
small question

I am pretty new to Linux in general. I have used fedora on and off but have never upgraded a kernel manually like this.

I believe I have installed all of the stuff that needs to be for the kernel with various guides I found but I am not quite sure how to alter grub properly to get it to boot. I have added the heading and thought I was adding the correct parameters but it will not allow me to boot it.

I am not quite sure what to put after: ro root=

I am obviously not putting the right info in there. I understand adding the mod section for the i915 driver but not the root portion.

If anyone could offer a tip or two on the proper syntax and contents of that section I would love it. I tried to model it after the original entry for the other working kernel in grub but still no joy. Most of the guides out there dealing with manual kernel updating don't go into very much detail of what to actually put in grub just that it has to be altered to include your new kernel. I know once I do it correctly one time I will understand it.

Thanks for the helps. I really want to figure this out so because I really prefer fedora over other distro's
Reply With Quote
  #9  
Old 25th February 2010, 11:26 PM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
windows_xp_2003firefox
You shouldn't need to 'manual' upgrade the kernel

use yum install kernel-2.6.32.8-58.fc12.x86_64 kernel-headers-2.6.32.8-58.fc12.x86_64 --enablerepo=updates-testing

You need to edit /etc/grub.conf and append i915.modeset=1 kernel line. Yours should be similar to mine, if your running F12. Just in case make a back up of your grub.conf, just in case.

Code:
kernel /boot/vmlinuz-2.6.31.12-174.2.22.fc12.x86_64 ro root=UUID=c625c564-ee39-48c6-8518-5aaf0b2bd597 nomodeset LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet i915.modeset=1

Last edited by YellowDog; 26th February 2010 at 12:54 AM.
Reply With Quote
  #10  
Old 26th February 2010, 03:35 AM
jbladder's Avatar
jbladder Offline
Registered User
 
Join Date: Jan 2010
Location: Michigan
Posts: 17
windows_7firefox
Quote:
Originally Posted by YellowDog View Post
You shouldn't need to 'manual' upgrade the kernel

use yum install kernel-2.6.32.8-58.fc12.x86_64 kernel-headers-2.6.32.8-58.fc12.x86_64 --enablerepo=updates-testing

You need to edit /etc/grub.conf and append i915.modeset=1 kernel line. Yours should be similar to mine, if your running F12. Just in case make a back up of your grub.conf, just in case.

Code:
kernel /boot/vmlinuz-2.6.31.12-174.2.22.fc12.x86_64 ro root=UUID=c625c564-ee39-48c6-8518-5aaf0b2bd597 nomodeset LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet i915.modeset=1


I will give that a try this weekend. I did try to update already like that but I can see my syntax was not correct which is why it failed. Hopefully I can get it going and get the video working and starting using Fedora more. Thanks for the hints.
Reply With Quote
  #11  
Old 26th February 2010, 07:02 PM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
linuxfedorafirefox
I can boot the kernel-2.6.31.5-127 and both the Intel graphic driver and the Broadcom wireless to work. However video playback in VLC is choppy. When I boot the kernel-2.6.32.8-58 kernel, which breaks the wireless, I get smooth playback. I looked in updates-testing for broadcom-wl & kmod-wl, but none are available. I'm not exactly sure how to update the wireless to work with the 2.6.32 kernel.
Reply With Quote
  #12  
Old 27th February 2010, 04:05 AM
jbladder's Avatar
jbladder Offline
Registered User
 
Join Date: Jan 2010
Location: Michigan
Posts: 17
windows_xp_2003firefox
I am hoping that I do not have any wireless chipset issues. I have an Atheros chipset in my laptop can't remember specifically which one. On my first install of fedora 12 it had no issue detecting and installing a good working driver so I am thinking I should be fine with that.


Hopefully gonna try and modify grub and get 2.6.32 going tonight and then set up the graphics driver. I will post back when I have it working.

---------- Post added at 11:05 PM CST ---------- Previous post was at 02:25 PM CST ----------

At this point I am pretty certain that I have all the dependencies installed and the intel drivers correctly, but I must have done something wrong along the way.

I got the kernel updated and it booted to vesa drivers. However after installing the intel driver and changing grub.conf I get no monitor support at all it begins to boot and the hard drive spins but then hangs.

Not really sure what I did at this point. I may start over and do a fresh install for two reasons one being so I can partition it in a more secure fashion and two to make sure that none of the crazy change I may have made since I installed this are interfering with something here. I did some miscellaneous things here and there experimenting and may have botched something.

Any hints would be great. If anyone wants more info just let me know what and I will try and post it.

As far as I can tell all the driver files are in the proper directories.

thanks
Reply With Quote
  #13  
Old 27th February 2010, 02:13 PM
YellowDog's Avatar
YellowDog Offline
Registered User
 
Join Date: Feb 2010
Posts: 52
windows_xp_2003firefox
If your booting with the vesa drivers, you can run system-config-display to reconfigure your display. Then select the "Intel integrated graphics chipset"

Alternatively you can create your own /etc/X11/xorg.conf as described above.
Reply With Quote
  #14  
Old 27th February 2010, 06:16 PM
jbladder's Avatar
jbladder Offline
Registered User
 
Join Date: Jan 2010
Location: Michigan
Posts: 17
windows_7firefox
I fubard something in my installation and have to start over and reinstall lol.

Oh well. I didn't have anything on this laptop. In some way it is good because it give me practice I need and teaches me something.

I did try the above listed xorg.conf file that was posted but it didn't work for me before I crapped on my install.

I am going to try from scratch again using the method of kernel updating you listed. Then go through the list of stuff the gentleman attached and make sure I have all of them installed.

Then I will try his instructions again and see what happens.
Reply With Quote
  #15  
Old 2nd March 2010, 01:25 PM
tushargokhale Offline
Registered User
 
Join Date: Jun 2008
Location: Pune, India
Posts: 11
linuxkonqueror
I have HP dv6-2150 laptop with i3 processor and Intel HD audio and video. I've similar issue on live CD due to the new hardware. However I just received information and in upcoming Fedora 13, Ubuntu 10.4 both will have intel graphic support. However you will have to wait for final release. In other case you can use alpha release of FC13 or Ubuntu.
Reply With Quote
Reply

Tags
agpgart, driver, graphic, intel, kernel, module

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
intel graphic driver iM- Hardware & Laptops 2 19th September 2007 05:50 PM
How can I recompile the kernel with AGPGART as a module and will this help with DRI? Iodmys Using Fedora 21 7th October 2006 01:26 AM


Current GMT-time: 22:49 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat