LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   agpgart suddenly missing - stuck to low-res (https://www.linuxquestions.org/questions/linux-hardware-18/agpgart-suddenly-missing-stuck-to-low-res-318857/)

morrolan 04-30-2005 04:43 PM

agpgart suddenly missing - stuck to low-res
 
Hi, my apologies as this will probably be quite long.

For the past 3 months I've been running Fedora Core 3 very happily, everything was working fine, i even had my firewire working (the bane of my linux experience for a long time).

Recently, my brother had been using linux in my absence to help me download a few files over bit torrent using Azureus.

I came back from a week away and upon first boot Kudzu appeared and said it had discovered new hardware - my graphics card. Thinking this was a little odd i chose the configure option and let it do what it wanted. Upon login I discovered that my screen was now in 800x600 instead of it's normal 1024x768 (i'm on a laptop) and that several windows opened on boot for various things, such as my home dir, a game, XMMS etc, and whatever i did they re appeared on each boot. Also, GNOME refused to log out properly or reboot, i have to do CTRL+ALT+BACKSPACE to kill GNOME and logout from GDM.

When I went to change my resolution back, 800x600 was the highest it would go, and I can't find any stale lockfile if the laptop had lost power or been reset abruptly, which was causing the windows opening etc. On my logout screen I used to have the option of "Save this setup" but somehow I have removed it from the logout screen, and i would like to get it back to see if that helps with the windows.

My kernel is: 2.6.10-1.770_FC3
and that has been working fine in 1024x768 for several weeks, and YUM update is not automatic.

The contents of lspci are as follows:

Quote:

00:00.0 Host bridge: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corp. 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
The 4th line down is the relevant one, it hasn't changed and i know that my graphics card uses the i810 driver. However, when I do lsmod I get:

Code:

Module                  Size  Used by
i915                  74821  3
parport_pc            26629  1
lp                    12077  0
parport                37001  2 parport_pc,lp
autofs4                23493  0
rfcomm                36829  2
l2cap                  26437  5 rfcomm
bluetooth              48453  4 rfcomm,l2cap
sunrpc                156325  1
pcmcia                20805  2
nls_utf8                2113  1
ntfs                  156688  1
video                  15813  0
button                  6609  0
battery                9285  0
ac                      4805  0
md5                    4033  1
ipv6                  231681  19
joydev                  9217  0
ohci1394              34777  0
ieee1394              300313  1 ohci1394
yenta_socket          19137  0
pcmcia_core            50945  2 pcmcia,yenta_socket
uhci_hcd              31449  0
ehci_hcd              32585  0
i2c_i801                8141  0
i2c_core              20801  1 i2c_i801
snd_intel8x0m          18309  0
snd_intel8x0          33249  0
snd_ac97_codec        67489  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            47989  0
snd_mixer_oss          17089  1 snd_pcm_oss
snd_pcm                93001  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              29125  1 snd_pcm
snd                    52645  7 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10017  1 snd
snd_page_alloc          9541  3 snd_intel8x0m,snd_intel8x0,snd_pcm
8139too                26433  0
mii                    4673  1 8139too
dm_snapshot            16901  0
dm_zero                2497  0
dm_mirror              23213  2
ext3                  116297  2
jbd                    69977  1 ext3
dm_mod                55637  6 dm_snapshot,dm_zero,dm_mirror

I can't see i810 in there and I know from reading the i810 readme that the driver requires the agpgart module - but that is missing also.

I decided to try Knoppix and it displays in 1024x768, but when i logout I can see an error message saying the agpgart module couldn't be initialised, and now i'm stuck for ideas.

Google didn't find anything of use, and neither did searching the forums on LQ.

If anyone has had anything similar or knows of possible avenues I could now explore, I would be extremely grateful.


Many thanks in Advance,
Morrolan

morrolan 05-01-2005 05:48 PM

Does anyone have an idea for even a part of problem? I'm willing to try in stages and fix one thing at once if anyone has a clue!

tw001_tw 05-01-2005 07:04 PM

I'm no expert with agpgart stuff, but I think the first thing you would do is check if
/dev/agpgart is present.

Code:

ls /dev/agp*
If its not, then I think you would make it, if it is there, skip this step:

Code:

mknod /dev/agpgart c 10 175
Check your kernel:

Code:

cd /usr/src/linux (or linux-2.6.xxx whatever you have )
make menuconfig

And look under:
Character Devices -> /dev/agpgart
Mine is built in to the kernel.
If it is built as a module, you may try to simply run:

Code:

insmod agpgart
if an error occurs, ( like "agpgart module not found" ), type:

Code:

cd /usr/src/linux  (or linux-2.6.xxx whatever you have )
make menuconfig (navigate to Character Devices -> /dev/agpgart and make it a module)
make modules && make modules_install

to recreate the agpgart module. Then make sure its being called to load by your startup scripts.


By the way, here is a i810 how-to if you havn't found it yet - it might help

http://www.tldp.org/HOWTO/i810-HOWTO/x21.html

questions or problems, post back. Good luck
-tw


All times are GMT -5. The time now is 10:31 AM.