Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146842 - Kernel modules agpgart and intel-agp missing on LiveCD
Summary: Kernel modules agpgart and intel-agp missing on LiveCD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 08:05 UTC by Torsten Eichstädt
Modified: 2006-09-25 14:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log.old,22.16 KB, text/plain)
2006-09-13 11:57 UTC, Torsten Eichstädt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Eichstädt 2006-09-08 08:05:34 UTC
The autoconfiguration utility of the LivCD fails to detect my laptop graphics components. Mainly: the display, but the graphics card is not configured proper, too (no 3D).  3rd the kernel module "agpgart" is missing.  Manual configuration with "xorgconfig" fails, too (BTW: does this utility offer anything the autoconfiguration is not capable of? IMHO it should not be shipped, it's 15 years old technology, at least it does not provide screen selection for generic laptop displays, which is not acceptable these days).
X error message is: "No screen" or the like.
BTW: Good: Synaptics touchpad is autodetected.

My system:
Acer TM 610 series (613TXV), Graphics Intel 810 (815M) (shared memory, 3D only with max 16 bit colour, description is XOrg docs), Display 1024x768@60Hz)
I think the problem is that these laptop LCD displays run at a fixed vertical refresh rate.
E.g. Kubuntu does detect this system proper, so I have a working xorg.conf that I can copy, but this inability probably affects other laptop users as well.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-08 09:05:37 UTC
We're using a 60Hz refresh rate, so that's not an issue.

Is your laptop capable of 1024x768@60 in 24-bit color?  How much video RAM does it have?
Comment 2 Torsten Eichstädt 2006-09-10 11:00:11 UTC
Update:
the error message is
"Unable to load module libGLcore"
"Make sure your kernel supports agpgart"

I.e. the subject of the bug should be changed from "Autoconfig fails" to
"Kernel modules agpgart and intel-agp missing on LiveCD"
(I didn't check if the i810 module is shipped)

Related to this bug (wishlist): IMHO there should be a fallback to VESA or FB device (I tried VESA, it works but only 800x600)
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-10 16:13:09 UTC
Can you attach the Xorg.0.log file to this bug from a failed attempt?

If VESA only works at 800x600, then you likely do not have enough video RAM allocated to the i810 video.  There is no way to configure a "fallback" when you don' thave enough RAM.  Both errors that you posted are non-fatal, so they would not be the cause of X not working.

I will be sure that we have the AGP modules in the next version, but I can pretty much guarantee you that it has no bearing on your issue.
Comment 4 Csaba Biro 2006-09-11 19:19:39 UTC
I have the same problem. Some folks on Gentoo forums suggest that on board Intel 810 cards communicate via AGP so you need the agpgart module.

http://forums.gentoo.org/viewtopic-t-442417-highlight-livecd+i810.html

I can't start X from LiveCD, even if I copy my working xorg.conf from my hard drive. Of course that works with my on-hard-drive kernel.
Comment 5 Torsten Eichstädt 2006-09-13 11:57:31 UTC
Created attachment 96890 [details]
Xorg.0.log

Here is my X log file from a failed attempt to start.
It is not from the autoconfigured xorg.conf, I saved that as root into my home folder and now I am the gentoo user but thats another bug... this one is from /var/log and the log file rotation count is set to one...

As you can see, DDC fails to read, i.e. the display (or the BIOS?) is not doing that right, although more or less modern (manufactured 2001).  The effect is that the display is not detected proper, so in this case (I dont know how but I know these hardware detection freaks can detect a laptop series number and all that, magic magic) you can safely hard code that the 1st monitor is a LCD capable of 1024x768@60Hz.  Before enabling the external monitor e.g. beamer (in clone mode) there must be a detection with DDC and if that fails a warning that  it runs at the same resolution and refresh rate like the internal display.  For higher resolutions (thats possible) the internal monitor must be switched off.  As said before the 810 graphics device uses system RAM, up to 48 MB from my experience (i815), and the autoconfiguration should be able to compute a reasonable amount for a reasonable resolution (I suggest 16 bbp so 3D can be enabled if the user likes to and not 800x600 but 1024x768).

Likewise, the i810 driver fails because the kernel agpgart and intel-agp modules are not shipped.

The Cards file misses the information how to automagically enable 3D and the external monitor.  The user has to look up the X i810 docs and tweak the xorg.conf manually, which is not acceptable nowadays IMHO.  I remember that SuSE sax utilty did that well. 

Yes I am an "old" Unix veteran but that does not mean I have fun remembering dozens of different conf file syntax and the meaning of several thousand parameter names...  It is proven that human visual recognition corresponds much better with our understanding of connections and contexts.  I hacked in VideoRAM 32768 and Option "VideoRAM" "32768" but both seems to be the wrong syntax but to file in a bug report 800x600 is enough.

I am satisfied when gentoo is usable not only for nerds like us, but autoconfigures itself for (ok, nearly is enough) maximal speed, response time, stability and robustness for the undergraduate user.  Everyone deserves to get full power Linux at his/her computer.

I did not check whether the sound is working, I think it is integrated in the same chip.

BTW the Acer TM 610 series has a Phoenix BIOS -- all? other Acer laptops have another BIOS manufacturer, probably genuine Acer.  Unfortunately I did not manage to update the BIOS (did you ever see a BIOS which 1st release is bug free? Computer technology is still adolescent...) because WinFlash utility does not work and the generic flash utility must be run from a floppy -- but like many modern latops the 610 does not have one...

Proposal: Look how the kernel compilation and graphics setup for the installation media is done in Ubuntu and SuSE and do like them.

Did you read this far? Probably you have more work to do... I stop now :)

Ciao & thanks for your work for gentoo
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-25 14:17:20 UTC
This is now fixed on the ISO images on the mirrors.  If you want to check if the mirror has the updated ISO, look at the .DIGESTS file.  The MD5 for the good iso is: f46c9bcadea4944396f6ecdd7dbf283c