LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Amd64 AGP support? (https://www.linuxquestions.org/questions/linux-hardware-18/amd64-agp-support-500100/)

giz2z 11-09-2006 12:12 PM

Amd64 AGP support?
 
Hi, first post here.
I'm attempting hardware acceleration but I don't know if I'm needing driver support or not.
I started out with 2.4.27 kernel and found precomplied
2.6.8-11-amd64-k8 kernel.
Everything works nicely after apt-get install / reboot except glx.

uanme -a
Linux giz2z 2.6.8-11-amd64-k8 #1 Sun Oct 2 21:26:54 UTC 2005 x86_64 GNU/Linux

lspci

0000:00:00.0 Host bridge: ALi Corporation: Unknown device 1689
0000:00:01.0 PCI bridge: ALi Corporation: Unknown device 5246
0000:00:02.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
0000:00:03.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
0000:00:03.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:00:04.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link Controller Audio Device (rev 20)
0000:00:0e.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
0000:00:0e.1 Unknown mass storage controller: ALi Corporation: Unknown device 5289 (rev 10)
0000:00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:0f.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:0f.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:0f.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03)
0000:02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
--------------------------------------------------
lsmod | grep agpgart

giz2z:/var/log# lsmod
Module Size Used by
isofs 36492 0
ipv6 264296 17
af_packet 23308 2
8139cp 21312 0
ehci_hcd 30852 0
snd_intel8x0 35988 0
snd_ac97_codec 73220 1 snd_intel8x0
snd_pcm 100876 1 snd_intel8x0
snd_timer 24968 1 snd_pcm
snd_page_alloc 12944 2 snd_intel8x0,snd_pcm
gameport 5120 1 snd_intel8x0
snd_mpu401_uart 8192 1 snd_intel8x0
snd_rawmidi 26532 1 snd_mpu401_uart
snd_seq_device 9164 1 snd_rawmidi
snd 56936 7 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ohci_hcd 21252 0
ali5455 36132 1
ac97_codec 20568 1 ali5455
soundcore 11232 3 snd,ali5455
8139too 26048 0
mii 6016 2 8139cp,8139too
tsdev 8576 0
mousedev 11852 2
evdev 10944 0
nls_cp437 7296 1
ntfs 89704 1
psmouse 19340 0
ide_cd 42016 0
cdrom 39208 1 ide_cd
ext3 119760 2
jbd 58288 1 ext3
mbcache 9928 1 ext3
ide_generic 1856 0
ide_disk 20864 6
alim15x3 12760 1
ide_core 154336 4 ide_cd,ide_generic,ide_disk,alim15x3
sd_mod 21440 0
ata_piix 9028 0
libata 42632 1 ata_piix
scsi_mod 129696 2 sd_mod,libata
unix 29696 450
font 9152 0
vesafb 6960 0
cfbcopyarea 4160 1 vesafb
cfbimgblt 3328 1 vesafb
cfbfillrect 4352 1 vesafb
-----------------------------------

I'm assuming I cm needing driver support...I can't find any, not even at the manufacturers website.
I attempted to compile from source includeding the appropriate driver for my chipset compiled as module as suggested, only it doesn't appear (anymore), as an option with make xconfig under the /dev/agpgart section...it used to. It may be a matter of just finding the source.

It appears the drivers for the card itself in installed properly.

glxinfo | grep rendering
direct rendering: No

At this point, I don't know which direction to go...note: I've installed this kernel with apt-get install, no source seems to be available with apt-cache search under the same kernel version number via my /etc/apt/sources.list
Any help and/or direction would be greatly appreciated.
Thanks

Lenard 11-09-2006 05:41 PM

Looks like you need to build your own kernel with Matrox graphics support added, first it looks like no agpgart module is loaded and no support for the graphics either;

lsmod | grep mga
mga 57984 2
drm 66324 3 mga


That 2.6.8 kernel is a bit old, get the latest released source (2.6.18.2) from;

http://kernel.org/

and build your own with support for the Matrox video card. A snippet from a kernel .config file as an example;

Code:

#
# Graphics support
#
CONFIG_FIRMWARE_EDID=y
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
CONFIG_FB_MATROX=y
# CONFIG_FB_MATROX_MILLENIUM is not set
# CONFIG_FB_MATROX_MYSTIQUE is not set
CONFIG_FB_MATROX_G=y


giz2z 11-12-2006 04:10 AM

Thanks'a'mil
 
Yes, it does work now.
Thanks for the direction.
--Norman

Lenard 11-12-2006 06:49 AM

Your welcome, glad to help.


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