LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Intel845 (i810), video memory and AGP (https://www.linuxquestions.org/questions/linux-hardware-18/intel845-i810-video-memory-and-agp-181045/)

gregorya 05-13-2004 08:01 AM

Intel845 (i810), video memory and AGP
 
Hi all,

A bit of a newbie, so be easy on me ;)

Been trying to get my intel845 working properly (i.e. opengl etc.) on Mandrake 10.0 / KDE for some time now. As far as I can see, the reason it won't is because the video memory in the BIOS is set to 1mb, and the BIOS won't let me change it (nor update, damn Phoenix people).

The site http://www.xfree86.org/current/i810.4.html seems to suggest that I can get around this by using an "agp kernel driver".

How do I go about setting this up? I'm totally at a loss as where to even start.

It says that:
"This amount may be changed with the VideoRam entry in the config file Device section"

Whereabouts do I find this config file? Should AGP already be installed on the Mandrake 10.0 Kernel?

Is all of this correct? Is that solution the right one?

If I'm barking up the wrong tree, or something, then you might want to know the following:
I'm running Phoenix BIOS 6.00
On an Emachines machine
Dual boot winXP Mandrake10/KDE
Using an Intel845 graphics card

Thanks,
Alex

gregorya 05-13-2004 09:55 AM

Update:

I found the config file after a bit of searching, but theres no Videoram entry in it.. Should I add it?

And I found an entry for agp-gart and intel_agp in lsmod. I presume that means they're installed.. so should I just add '"Videoram "64"' into the config file under device or what?

320mb 05-13-2004 09:55 AM

the file you seek is in.........

/etc/X11/

find it and post it here so we can look at it and suggest ways to
fix the prob...........

Ya, AGP support should be in your kernel already.........
look in /etc/rc.d/
rc.modules file is what loads/unloads the kernel modules.........

320mb 05-13-2004 09:59 AM

here is mine................
Code:

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "GeForce2 GTS"
    Driver      "nvidia"
    Option      "IgnoreEDID" "1"
    Option      "NvAgp" "1"
    Option      "NoLogo" "1"
    VideoRam    32768
    # Insert Clocks lines here if appropriate
EndSection


gregorya 05-13-2004 10:00 AM

Thanks for the reply, just as I did mine.

XF86Config-4 contains:


# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection

Section "DRI"
Mode 0666
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
HorizSync 30-55
VertRefresh 50-120

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "Intel Corporation"
BoardName "Intel 845"
Driver "i810"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 800 600
EndSubsection

Subsection "Display"
Depth 15
Virtual 800 600
EndSubsection

Subsection "Display"
Depth 16
Virtual 800 600
EndSubsection

Subsection "Display"
Depth 24
Virtual 800 600
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


Thanks again for your help, I've been dying to get linux working properly since I installed it.

gregorya 05-14-2004 01:55 PM

Just to re-iterate, should I just add the line
VideoRam 64000

under device?

Sorry to nag, but its quite urgent, and I don't just want to try that in case it destroys my graphics card in linux.


All times are GMT -5. The time now is 08:09 PM.