Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Cannot start X - Intel 82865G --SOLVED

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

Cannot start X - Intel 82865G --SOLVED

  • Quote

Post by davejk » Mon Sep 29, 2008 6:05 pm

Sorry, I would like to have search the forums for a proper solution but I am having a hard time navigating using lynx...

I am trying to get Xorg configured on my new Gentoo 2008.0 install. I followed the directions on the Xorg Howto. I am using an i810 intel integrated chip, so I listed my VIDEO_CARDS as intel, i180. However, startx returns the following error:
(EE) intel(0):Unable to read from DVOI2C_E Slave 112
""(a bunch of similar "unable to read" errors)
... Unable to open /dev/agpgart (no such file or directory)
Failed tp allocate framebuffer. Is your VideoRam set too low?
Couldn't allocate memory
Fatal server error:
Addscreen/Screenint failed for Driver 0

XIO: fatal io error 104 on X server (0:0)

I hope that is enough information. I am typing this all by hand switching virtual terminals so I skipped some stuff. I really appreciate some help~
By the way, I get this when running startx using either the xorg.conf.net that xorgcfg generated, or the xorg.conf that I copied from my openSUSE install on another partition.
Last edited by davejk on Wed Oct 01, 2008 9:04 am, edited 3 times in total.
Top
.yankee
Apprentice
Apprentice
User avatar
Posts: 194
Joined: Sun Feb 24, 2008 1:28 am
Location: Polska

  • Quote

Post by .yankee » Mon Sep 29, 2008 6:50 pm

That seems to be a lot too little information - did you try using a console mouse daemon to copy/paste? If not, emerge sys-libs/gpm, configure and start it to use your mouse under console.
From what you've wtitten, I suspect you might not be using a proper graphics Xorg module. Take a look at

Code: Select all

$ man intel
and
$ man i810
and check, which module you should use in your /etc/X11/xorg.conf. If you get confused, as to what model of graphics card you have, check it using lspci (need to have sys-apps/pciutils installed for that).
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Mon Sep 29, 2008 7:08 pm

Try this

Code: Select all

cd
/etc/init.d/xdm stop
X -configure
X -config /root/xorg.conf.new
What happens?
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Mon Sep 29, 2008 7:55 pm

After

Code: Select all

Xorg --configure
Xorg --config xorg.conf.new
I get this (couldn't get gpm to work, so I redirected s error to a file and copied it to a flash drive)

Code: Select all

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux gentoo 2.6.24-gentoo-r5 #1 SMP Thu Jun 26 18:36:15 UTC 2008 i686
Build Date: 29 September 2008
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
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: Mon Sep 29 09:33:34 2008
(++) Using config file: "/root/xorg.conf.new"
(II) Module already built-in
(II) Module already built-in
(EE) intel(0): detecting sil164
(EE) intel(0): Unable to read from DVOI2C_E Slave 112.
(EE) intel(0): Unable to read from DVOI2C_E Slave 236.
(EE) intel(0): ivch: Unable to read register 0x00 from DVOI2C_B:04.
(EE) intel(0): Unable to read from DVOI2C_E Slave 112.
(EE) intel(0): tfp410 not detected got VID FFFFFFFF: from DVOI2C_E Slave 112.
(II) Module already built-in
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Failed to allocate framebuffer. Is your VideoRAM set too low?
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0
Is this more informative? :)
Top
.yankee
Apprentice
Apprentice
User avatar
Posts: 194
Joined: Sun Feb 24, 2008 1:28 am
Location: Polska

  • Quote

Post by .yankee » Mon Sep 29, 2008 8:17 pm

Well, it still looks like a bad module to me... But could be also lack of kernel agp support - what does

Code: Select all

zgrep AGP /proc/config.gz
give?
And also

Code: Select all

lspci
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Mon Sep 29, 2008 8:22 pm

and output of
ls /usr/lib/xorg/modules/extensions/
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Mon Sep 29, 2008 8:35 pm

Code: Select all

zgrep AGP /proc/config.gz:

CONFIG_AGP=m
CONFIG_AGP_ALI=m
CONFIG_AGP_ATI=m
CONFIG_AGP_AMD=m
CONFIG_AGP_AMD64=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_NVIDIA=m
CONFIG_AGP_SIS=m
CONFIG_AGP_SWORKS=m
CONFIG_AGP_VIA=m
CONFIG_AGP_EFFICEON=m

lspci:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 Multimedia audio controller: Creative Labs SB Audigy LS
01:01.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
01:02.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

ls /usr/lib/xorg/modules/extensions/:

libGLcore.so
libdbe.so
libdri.so
libextmod.so
libglx.so
librecord.so
libxtrap.so

By the way, this is still the default kernel from the LiveCD. I haven't had time to compile my own yet; if there is any trick related to this, I would like to know.

And thanks for helping out, guys! With an active (and helpful) community like this; I don't think Gentoo is dying anytime soon, distrowatch or no. ;)

But I do like to run GUI programs once in a while...[/gwn]
Top
.yankee
Apprentice
Apprentice
User avatar
Posts: 194
Joined: Sun Feb 24, 2008 1:28 am
Location: Polska

  • Quote

Post by .yankee » Mon Sep 29, 2008 9:32 pm

Then you should look for 82865G in the manpages to see, if you've selected the proper driver. Or first, just try puting vesa or vga in the xorg.conf file, where it says something like:

Code: Select all

Section "Device"
        Identifier  "card-0"
        Driver      "intel"
        BusID       "PCI:1:0:0"
...
- in place of "intel".
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Mon Sep 29, 2008 10:06 pm

Well, since I only listed intel and i810 in my VIDEO_CARDS,, vga and vesa don't work at all. The man page for intel says that it supports all 8xx intel chipsets. Ditto with i810. In earlier distros, i810 was always automatically chosen for me. Since the newer intel driver came out, that's what I always used. Also, the man page says the VideoRam option is ignored by current versions of the driver. This makes the above error seem stranger to me. Note that I also tried using a working xorg.conf from my openSUSE install, and got the same error.
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Tue Sep 30, 2008 4:04 am

davejk wrote:By the way, this is still the default kernel from the LiveCD. I haven't had time to compile my own yet; if there is any trick related to this, I would like to know.
Please complete your basic installation first. Then we can take a look at any remaining problems (if any) afterwards. It would not make sense to start debudding an incomplete installation. :wink:
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Tue Sep 30, 2008 1:02 pm

I wouldn't say this is an incomplete install. I may not compile my own kernel for some time yet.

No, this is not the LiveCD's kernel. What I meant by "the kernel from the LiveCD" is the kernel installed from the LiveCD installer (which I assume is a genkernel style kernel). This is a "completed" Gentoo installation. Also, X worked fine (and at the correct resolution) on the LiveCD (using the intel driver I assume).

By the way, I added vesa to my VIDEO_CARDS and recompiled Xorg. Using vesa in xorg.conf does work, but at terrible small resolution (800x600 instead of 1600x1200). Also, running Xorg -configure created a xorg.conf.new that seems to match my hardware perfectly; monitor is correctly identified, as is the intel graphics chip. But running Xorg -config /root/xorg.conf.new returns the exact same error.

This is really disturbing me. I have never had problems like this before Gentoo (or on previous Gentoo installs with similar hardware). This chip is very well supported by linux. I am using nothing but standard installation procedures; I ran the dialog-installed from the liveCD; emerged some tools from a chrooted environment (I needed wireless-tools and dhcpcd to get my internet working); rebooted into Gentoo, edited my VIDEO_CARDS as listed in Gentoo's Xorg config Howto,I emerged xorg-x11 and xorg-server (the howto mentioned both but did not say which was needed, so I emerged both of them). I tried xorgcfg, xorgconfigure, Xorg -configure, and even tried a working xorg.conf from another linux install on the same machine. What am I missing?
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Tue Sep 30, 2008 5:04 pm

Problem solved! Turns out the needed modules were not being detected (despite the 2 minutes the initrd takes to "autodetect" hardware). So I just

Code: Select all

modprobe intel_agp
modprobe agpgart
And then X starts perfectly (and at the correct resolution).

Quick question; how do I get these modules to be loaded at boot? I can't seem to figure out how.

Thanks for the help guys!
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Tue Sep 30, 2008 6:02 pm

I never used a liveCD. So I misunderstood.

About modules, did you run update-modules? That should be sufficient.
Top
.yankee
Apprentice
Apprentice
User avatar
Posts: 194
Joined: Sun Feb 24, 2008 1:28 am
Location: Polska

  • Quote

Post by .yankee » Tue Sep 30, 2008 6:06 pm

Code: Select all

echo -e "intel_agp\nagpgart" >> /etc/modules.autoload.d/kernel-2.6
Actually I thought it should also be done automatically by udev... Or maybe you don't have it? (sys-fs/udev).
Top
davejk
n00b
n00b
Posts: 33
Joined: Thu Feb 28, 2008 8:04 pm

  • Quote

Post by davejk » Tue Sep 30, 2008 6:28 pm

Yes, udev runs at boot time. For now, I just added the modules manually to autoload.d/kernel-2.6. Will that work?
Top
notHerbert
Advocate
Advocate
User avatar
Posts: 2228
Joined: Tue Mar 11, 2008 11:55 pm
Location: 45N 73W

  • Quote

Post by notHerbert » Tue Sep 30, 2008 6:37 pm

Code: Select all

update-modules
should be sufficient. You can also manually add them if you prefer using .yankee's one-liner. :wink:
Top
.yankee
Apprentice
Apprentice
User avatar
Posts: 194
Joined: Sun Feb 24, 2008 1:28 am
Location: Polska

  • Quote

Post by .yankee » Tue Sep 30, 2008 6:38 pm

Well, you can run update-modules - it won't hurt anyway ;)
Top
Post Reply

17 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic