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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-31-2011, 11:04 PM   #1
redss
Member
 
Registered: Jun 2003
Posts: 168

Rep: Reputation: 16
What video driver file is my Ubuntu liveUSB using?


I have a computer intel 2.4 GHz, 1.5 GB

When I run ubuntu 10.04 GDM (gnome) crashes after a couple hours. It doesn't happen when running Ubuntu 10.10.

My research tells me it must have to do with a bug in the video driver for the particular video card I have.

How can I identify the exact video driver file that is loaded by the kernel? Is it a .ko file?

If I take the replace the driver file in Ubuntu 10.04 (2.6.32-28-generic kernel) with the video driver file from Ubuntu 10.10 (2.6.35-22-generic kernel), would that work when running Ubuntu 10.04?
 
Old 08-31-2011, 11:09 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by redss View Post
If I take the replace the driver file in Ubuntu 10.04 (2.6.32-28-generic kernel) with the video driver file from Ubuntu 10.10 (2.6.35-22-generic kernel), would that work when running Ubuntu 10.04?
No.

To see if the kernel is the problem then:

What you can do is to compile the maverick kernel on lucid.

Then run the maverick kernel on lucid and see if your problems persist.
 
Old 09-01-2011, 07:59 AM   #3
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
Thanks for you reply. Are you saying that the video driver is embedded in the kernel, and not loaded separately as something like a .ko file?
 
Old 09-01-2011, 09:03 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by redss View Post
I have a computer intel 2.4 GHz, 1.5 GB

When I run ubuntu 10.04 GDM (gnome) crashes after a couple hours. It doesn't happen when running Ubuntu 10.10.

If I take the replace the driver file in Ubuntu 10.04 (2.6.32-28-generic kernel) with the video driver file from Ubuntu 10.10 (2.6.35-22-generic kernel), would that work when running Ubuntu 10.04?
Intel 2.4GHz....is that using a i8XX chipset (probably i845 or i865) with onboard video? IIRC there have been lots of problems with older intel video and newer ubuntu releases.

As far as I know, the 'problem' with the i8XX chipsets was from xorg, not the kernel. To get it working right, you might need just a newer xorg, or xorg and a newer kernel. I have no idea how you would do that with ubuntu though.
 
Old 09-01-2011, 09:10 AM   #5
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
# dmesg | grep -i i8
[ 0.000000] ACPI: ASF! 5fe444d0 00084 (v16 AMIASF I845GASF 00000001 MSFT 0100000D)

I see I845 there...

The thing is ubuntu 10.10 works fine. I wonder if I can take the 10.10 source code for that video driver, and recompile the 10.04 kernel with it. Does that sound plausible?
 
Old 09-01-2011, 02:06 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Does that sound plausible?
It'll take you all of 5mins to try it.
If it doesn't work, why don't you just upgrade to 10.10? Or 11.04?
Re-compiling a module is a lot faster than re-compiling the whole kernel (which can take a couple of hours on a decent machine). If it fails, it'll say so, and why.

Improvements to linux happen faster than for other OSs, so sometimes it is useful to keep up to date.

That said, I am happy with 10.04(LTS), because all that I need, works.

Last edited by tredegar; 09-01-2011 at 02:10 PM.
 
Old 09-02-2011, 06:42 PM   #7
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
I ran a hardware detection tool that told me that the motherboard is intel corp D845GVAD2 chipset: intel 845G/GL/GV and the onboard video is Intel 82845G/GL/[brookdale-G]/GE chipset integrated vga compatible controller

Is this enough information to identify the video driver source which I assume is compiled into the kernel from the C source files in the kernel.org source tree under linuxversion/drivers/video? My idea is to copy newer C source from a newer kernel, and recompile into the kernel of Ubunto 10.04 (2.6.32-28-generic which doesnt seem to have an exact match in http://www.kernel.org/pub/linux/kernel/v2.6/

Also I read (at the top of http://wiki.ubuntu.org.cn/UbuntuHelp:Kernel/Compile) that you would NOT need to recompile a kernel if you only need to compile a special driver, and would only need to install the linux-headers packages. Would that apply to my video driver?
 
Old 09-02-2011, 07:50 PM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
redss, the open source video drivers in linux exist, essentially, in three different areas:

1) The kernel provided Direct Rendering Manager (DRM) driver (likely i915.ko). This provides functionality to both the DDX and the DRI drivers listed next.
2) The Xorg DDX (2D driver, intel_drv.so)
3) The Mesa Direct Rendering Infrastructure (DRI) driver (3D driver, i915_dri.so or i965_dri.so).

You will likely not just be able to copy the DRM driver from an newer kernel to an older one. These drivers hook into the kernel in various ways. There is a reason why the DRM drivers are no longer developed in a separate git repository on freedesktop.org and are instead now updated via newer versions of the kernel.

Adam
 
Old 09-04-2011, 05:36 PM   #9
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
So you don't think I'll be able to recompile source from a newer kernel where the bug is not present in the kernel? What options do I have? I want to use 10.04 LTS not 10.10
 
Old 09-04-2011, 05:58 PM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
I think there is a greater than 50 percent chance that you won't be able to just copy the source over and have it compile. Even if that works, there are two other areas where the bug could reside.

As I see it, you can try to uprade (either via packages or from source) all three components I mentioned, you can upgrade the entire OS, you can try using another DE/WMn or you can report the bug to Ubuntu and hope (probably in vain) that they fix it.

My suggestion would be to upgrade the OS, despite your desire to stay with 10.04.
 
Old 09-04-2011, 06:05 PM   #11
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
Thanks again. I think the easiest step would be to update each of the 3 components you mentioned to see if that fixes it. If I can use apt-get or synaptic, that sounds relatively easy. I just need to figure out what the package names containing those components are, as known by the package manager. Do you happen to know them ?
 
Old 09-04-2011, 06:16 PM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Mixing packages from different versions of a distribution is not smart, not recommended, and often a sure-fire way to screw things up. It should only be done if you absolutely know what you are doing. If you have to ask me what the package names are then you don't absolutely know what you are doing. Sorry, but I'm not going to help you break your system.
 
Old 09-04-2011, 06:22 PM   #13
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
My system is just a live USB distro, so nothing will break permanently... if something does break, I just reboot. If I find the cause of the problem, I know how to customize the bootable usb image with an updated driver or kernel. My hunch is there is a way to fix or update out there somewhere that will allow this system to run reliably on 10.04, I just have to find out what it is.
 
Old 09-04-2011, 08:58 PM   #14
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Lucidi8xxFreezes

X freezes (GPU lockups) are being experienced on i845, i855 and other 8xx chips.

We experimented with several different settings but could not find a combination which resolved all issues for all 8xx owners. Below are some of the settings that can be changed if the combination we picked for the release did not work for you.
https://wiki.ubuntu.com/X/Bugs/Lucid...erency%20Patch
 
Old 09-07-2011, 08:07 AM   #15
redss
Member
 
Registered: Jun 2003
Posts: 168

Original Poster
Rep: Reputation: 16
cascade9, thanks very much for the link. This my video card:

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

I thought of an idea, could I just purchase another newer PCI video card and disable the onboard video? Sounds like that would be the simplest way to fix the problem, right?
 
  


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
First time user - Ubuntu fails to boot from LiveUSB greenhenry Linux - Newbie 9 11-17-2010 12:21 AM
Ubuntu 9.10 LiveCD (works) vs LiveUSB (doesn't) bltblt Ubuntu 8 01-16-2010 10:41 PM
Ubuntu Video Driver question darklordzim Linux - Newbie 2 05-07-2009 12:34 AM
Installing video driver in a ubuntu thedrew97 Linux - Newbie 1 02-13-2007 04:45 PM
Modifying LiveUSB file system LlamaNerds Linux - Software 5 11-17-2005 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:05 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