LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2006, 09:15 AM   #1
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Rep: Reputation: 15
Intel 845GV graphics with ubuntu


Hi, ive been trying to configure the xserver to use my Intel 845GV (64meg) graphics properly, but when I go to the system monitor on ubuntu 6.06, it says there is 496mb of ram in use, which leaves 16mb max for the graphics. I have downloaded the tar.gz (http://downloadfinder.intel.com/scri...ProductID=865), and installed this succesfully, and have also converted the rpm to deb with alien, and installed that, but the graphics is still not 64mb. Below is the section of xorg.conf
Code:
Section "Device"
	Identifier	"Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	VideoRam	64000
EndSection
It appears that the driver from intel hasnt altered the config file - i did a simple dpkg-reconfigure and entered 64000 as the amount of video memory. Below is lspci output
Code:
0000:00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
0000:03:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
And here is my lsmod output
Code:
Module                  Size  Used by
rfcomm                 40216  0
l2cap                  26244  5 rfcomm
bluetooth              49892  4 rfcomm,l2cap
ppdev                   9220  0
i915                   20608  1
drm                    73236  2 i915
speedstep_lib           4484  0
cpufreq_userspace       4696  0
cpufreq_stats           5636  0
freq_table              4740  1 cpufreq_stats
cpufreq_powersave       1920  0
cpufreq_ondemand        6428  0
cpufreq_conservative     7332  0
video                  16260  0
tc1100_wmi              6916  0
sony_acpi               5644  0
pcc_acpi               12416  0
hotkey                 11556  0
dev_acpi               11140  0
container               4608  0
button                  6672  0
acpi_sbs               19980  0
battery                 9988  1 acpi_sbs
ac                      5252  1 acpi_sbs
i2c_acpi_ec             5120  1 acpi_sbs
ipv6                  265728  12
nls_utf8                2176  1
ntfs                  103536  1
dm_mod                 58936  1
af_packet              22920  2
md_mod                 72532  0
lp                     11844  0
tsdev                   8000  0
snd_intel8x0           33692  1
i2c_i810                5252  0
snd_ac97_codec         93088  1 snd_intel8x0
snd_ac97_bus            2304  1 snd_ac97_codec
8139cp                 22528  0
i2c_algo_bit            9608  1 i2c_i810
snd_pcm_oss            53664  0
snd_mixer_oss          18688  1 snd_pcm_oss
8139too                26880  0
rtc                    13492  0
parport_pc             35780  1
parport                36296  3 ppdev,lp,parport_pc
mii                     5888  2 8139cp,8139too
i2c_core               21904  2 i2c_acpi_ec,i2c_algo_bit
floppy                 62148  0
psmouse                36100  0
snd_pcm                89864  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
serio_raw               7300  0
pcspkr                  2180  0
snd_timer              25220  1 snd_pcm
hw_random               5652  0
shpchp                 45632  0
pci_hotplug            29236  1 shpchp
snd                    55268  8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10208  1 snd
snd_page_alloc         10632  2 snd_intel8x0,snd_pcm
intel_agp              22940  1
agpgart                34888  3 drm,intel_agp
evdev                   9856  1
ext3                  135688  2
jbd                    58772  1 ext3
ide_generic             1536  0
ehci_hcd               34184  0
uhci_hcd               33680  0
usbcore               130692  3 ehci_hcd,uhci_hcd
ide_cd                 33028  0
cdrom                  38560  1 ide_cd
ide_disk               17664  5
piix                   11012  1
generic                 5124  0
thermal                13576  0
processor              23360  1 thermal
fan                     4868  0
capability              5000  0
commoncap               7296  1 capability
vga16fb                13704  1
vgastate               10368  1 vga16fb
fbcon                  42784  72
tileblit                2816  1 fbcon
font                    8320  1 fbcon
bitblit                 6272  1 fbcon
softcursor              2304  1 bitblit
Any help is much appreciated.
 
Old 07-15-2006, 10:35 AM   #2
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
AFAIK... the system monitor already includes the memory being eaten by graphics....
 
Old 07-15-2006, 04:00 PM   #3
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
ok, I've now downloaded a new driver from intel as the previous one did not alter the xserver conf file. The output is below:
Code:
DIRECT RENDERING OPEN SOURCE PROJECT  -  DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

==========================================================================

Welcome to the DRI Driver Installation Script

The package you downloaded is for the following driver:

Driver Name    : gdg
Description    : Intel 830M/845G/852GM/855GM/865G/915G Driver
Architecture   : I386
Build Date     : 20040604
Kernel Module  : gdg

Optional Information

Driver Version      :
Special Description :

Press ENTER to continue or CTRL-C to exit.



DIRECT RENDERING OPEN SOURCE PROJECT  -  DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

==========================================================================

Select from the following options:

  1. Install driver (default)
  2. Uninstall driver

Enter reponse [1-2], or CTRL-C to exit

get_osname()










DIRECT RENDERING OPEN SOURCE PROJECT  -  DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

==========================================================================

The script will now compile the agpgart module and DRM kernel modules
for your machine.

Press ENTER to continue or CTRL-C to exit.


Compiling new agpgart module...

ERROR: AGPGART module did not compile

Compiling DRM module...

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
Here is dri.log:
Code:
make -C /lib/modules/2.6.15-26-386/build SUBDIRS=/home/shaun/Desktop/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/lib/modules/2.6.15-26-386/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.15-26-386/build'
make: *** [default] Error 2
Makefile.linux:151: *** Cannot find a kernel config file.  Stop.
I released that there was nothing in the directory /lib/modules/2.6.15-26-386/build (there was no biuld folder), so I typed as root
Code:
make -C /lib/modules/2.6.15-25-386/build SUBDIRS=/home/shaun/Desktop/dripkg/agpgart-2.0 modules
(In my modules directory I have 2.6.15-23-386 (no build) 2.6.15-25-386 and 2.6.15-26-386 (no build)
Which gave the following output
Code:
shaun@ubuntu-server:~/Desktop/dripkg$ sudo make -C /lib/modules/2.6.16-26-386/build SUBDIRS=/home/shaun/Desktop/dripkg/agpgart-2.0 modules
make: *** /lib/modules/2.6.16-26-386/build: No such file or directory.  Stop.
shaun@ubuntu-server:~/Desktop/dripkg$ sudo make -C /lib/modules/2.6.16-26-386/build SUBDIRS=/home/shaun/Desktop/dripkg/agpgart-2.0 modules
make: *** /lib/modules/2.6.16-26-386/build: No such file or directory.  Stop.
shaun@ubuntu-server:~/Desktop/dripkg$ sudo make -C /lib/modules/2.6.15-25-386/build SUBDIRS=/home/shaun/Desktop/dripkg/agpgart-2.0 modules
make: Entering directory `/usr/src/linux-headers-2.6.15-25-386'
  CC [M]  /home/shaun/Desktop/dripkg/agpgart-2.0/backend.o
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:105: error: previous declaration of ‘agp_backend_acquire’ was here
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:106: error: previous declaration of ‘agp_backend_release’ was here
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:220: error: syntax error before ‘drm_agp’
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:220: warning: type defaults to ‘int’ in declaration of ‘drm_agp’
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:221: warning: initialization makes integer from pointer without a cast
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:222: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:222: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:223: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:223: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:224: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:224: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:225: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:225: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:226: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:226: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:227: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:227: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:229: warning: excess elements in scalar initializer
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:229: warning: (near initialization for ‘drm_agp’)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:229: warning: data definition has no type or storage class
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:281: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:571)
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
/home/shaun/Desktop/dripkg/agpgart-2.0/backend.c:301: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:572)
make[1]: *** [/home/shaun/Desktop/dripkg/agpgart-2.0/backend.o] Error 1
make: *** [_module_/home/shaun/Desktop/dripkg/agpgart-2.0] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.15-25-386'
By the way all commands have been done while the xserver wasn't and was running.
Can anyone help me on this one?
 
Old 07-17-2006, 03:05 PM   #4
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
Can anyone help me on this one ?

Last edited by jungleking; 07-17-2006 at 03:10 PM.
 
  


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
AIXGL on intel graphics in ubuntu, howto? sturla Linux - General 1 07-08-2006 04:06 PM
Intel 845GV ("Extreme" Graphics) problem... tuxedo_maskv3 Debian 3 04-12-2006 09:33 PM
Integrated Intel 845GV graphics chip runs rather slowly with OpenGL EOHooligan Linux - Hardware 5 01-30-2005 10:23 AM
Configuring graphics in Linux Advanced Server 2.1 with Intel 845GV chipset platform devandran Linux - Hardware 0 06-29-2004 08:23 AM
Intel 845GV with RH AS 2.1 software mirroring unpraghavendra Linux - Hardware 1 11-22-2003 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 PM.

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