View previous topic :: View next topic |
Author |
Message |
hans_aks n00b
Joined: 25 Dec 2005 Posts: 9
|
Posted: Wed Dec 28, 2005 11:02 am Post subject: 'agpgart' problem (I think) |
|
|
Hi all Gentoo'ers
I am facing a problem with getting my 128MB GeForce4 FX 4000 graphics card working under X. I think it's a problem with 'agpgart'.
Let me list down all the important stats:
1. Onboard AGP also present, but not used ('intel-agp' module is not loaded)
2. 'nvidia' module autoloaded; 'agpgart' loaded automatically by 'nvidia'
3. 'nvidiafb' autoloaded
Code: |
/proc/mtrr shows :
reg00: base=0x00000000 ( 0MB), size=983552MB: write-back, count=1
|
Before executing 'startx' :
I discovered from /proc/driver/nvidia/agp/status that AGP isn't working upon bootup :
Code: |
/proc/driver/nvidia/agp/status shows :
Status: Disabled
|
Code: |
/proc/driver/nvidia/agp/card shows :
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x00000000
|
dmesg : No errors displayed
After executing 'startx' :
Code: | Error displayed on console :
NVIDIA: failed to set MTRR 0xe0000000, 128M (write-combining)
NVIDIA: failed to set MTRR 0xe0000000, 128M (write-combining)
NVIDIA: failed to set MTRR 0xe0000000, 128M (write-combining)
NVIDIA: failed to set MTRR 0xe0000000, 128M (write-combining)
|
Code: |
/proc/driver/nvidia/agp/status :
Status: Disabled
AGP initialization failed, please check the ouput
of the 'dmesg' command and/or your system log file
for additional information on this problem.
|
Code: |
dmesg :
[ 688.416638] CLASS: registering class device: ID = 'vcs7'
[ 688.416647] kobject vcs7: registering. parent: vc, set: class_obj
[ 688.416672] kobject_hotplug
[ 688.416682] fill_kobj_path: path = '/class/vc/vcs7'
[ 688.416686] class_hotplug - name = vcs7
[ 688.416690] kobject_hotplug: /sbin/udevsend vc seq=535 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/class/vc/vcs7 SUBSYSTEM=vc
[ 688.417008] CLASS: registering class device: ID = 'vcsa7'
[ 688.417013] kobject vcsa7: registering. parent: vc, set: class_obj
[ 688.417035] kobject_hotplug
[ 688.417046] fill_kobj_path: path = '/class/vc/vcsa7'
[ 688.417050] class_hotplug - name = vcsa7
[ 688.417056] kobject_hotplug: /sbin/udevsend vc seq=536 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/class/vc/vcsa7 SUBSYSTEM=vc
[ 690.927409] mtrr: type mismatch for f0000000,8000000 old: write-back new: write-combining
[ 690.927418] NVRM: cannot write-combine 0xf0000000, 128M
[ 691.182059] mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
[ 691.563534] mtrr: type mismatch for f0000000,8000000 old: write-back new: write-combining
[ 691.563540] NVRM: cannot write-combine 0xf0000000, 128M
[ 691.817485] mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
[ 691.867251] mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
[ 691.872958] mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
[ 695.447274] CLASS: Unregistering class device. ID = 'vcs7'
[ 695.447284] kobject_hotplug
[ 695.447303] fill_kobj_path: path = '/class/vc/vcs7'
[ 695.447308] class_hotplug - name = vcs7
[ 695.447317] kobject_hotplug: /sbin/udevsend vc seq=537 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove DEVPATH=/class/vc/vcs7 SUBSYSTEM=vc
[ 695.448199] kobject vcs7: cleaning up
[ 695.448204] device class 'vcs7': release.
[ 695.448209] CLASS: Unregistering class device. ID = 'vcsa7'
[ 695.448213] kobject_hotplug
[ 695.448221] fill_kobj_path: path = '/class/vc/vcsa7'
[ 695.448236] class_hotplug - name = vcsa7
[ 695.448241] kobject_hotplug: /sbin/udevsend vc seq=538 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove DEVPATH=/class/vc/vcsa7 SUBSYSTEM=vc
[ 695.453039] kobject vcsa7: cleaning up
[ 695.453044] device class 'vcsa7': release.
|
Code: |
'glxinfo' shows :
Error: unable to open display (null)
|
Upon starting X, I get a black screen with a mouse pointer (movable). nVidia logo is shown if I set it appropriately in /etc/X11/xorg.conf.
I did not find any mtrr (continuous v/s discrete) setting in my BIOS as described in the Gentoo documentation. I have tried everything I can, even recompiled the kernel with agpgart built-in and re-emerged nvidia-kernel (btw, X works fine with my onboard graphics card, its only nvidia giving me problems).
Any help would be appreciated. |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Wed Dec 28, 2005 11:09 am Post subject: |
|
|
When using the nvidia module, you can disable agpgart and other X11 rendering stuff completely in the kernel, since the module provides support for that by itself (and in my case, at better speeds even). However, since you seem to be getting a working X server already (with mouse pointer and everything), maybe your problem is that no window manager gets loaded (or rather, not the right one). |
|
Back to top |
|
|
hans_aks n00b
Joined: 25 Dec 2005 Posts: 9
|
Posted: Wed Dec 28, 2005 11:12 am Post subject: |
|
|
Actually I am not able to disable 'agpgart'. The module gets loaded by the 'nvidia' module automatically.
modprobe -r 'agpgart' gives a fatal error.
Window manager 'twm' should load even with nvidia, since it does load with the 'intel-agp' module... However, it doesn't. |
|
Back to top |
|
|
hans_aks n00b
Joined: 25 Dec 2005 Posts: 9
|
Posted: Wed Dec 28, 2005 11:14 am Post subject: |
|
|
I think the problem is either due to agpgart or something else related to the mtrr stuff. (See console error and dmesg o/p)... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|