Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] problem with X
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
regnnick
n00b
n00b


Joined: 20 Dec 2003
Posts: 19

PostPosted: Thu Dec 01, 2005 5:43 pm    Post subject: [solved] problem with X Reply with quote

Hello,

I'm installing Gentoo on my new dual opteron 265 and I have some problems with xorg. The video card I have is a GeForce 6800GS using PCI express port.

Current stable release of nvidia drivers (1.0.6629) produces modules with unknown symbols (like unregister_ioctl32_conversion). The latest drivers (1.0.7676-r1) which make the computer crash (even magic keys don't work!). With the nv drivers, X still doesn't work and the cursor disappears in the console but I can do a clean shutdown or look at dmesg. I've got the foolowing error:

Code:
mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining


/proc/mtrr gives the following results

Code:

reg00: base=0x00000000 (   0MB), size=8192MB: write-back, count=1
reg01: base=0x200000000 (8192MB), size=2048MB: write-back, count=1
reg02: base=0x80000000 (2048MB), size=2048MB: uncachable, count=1


X works with Vesa drivers but the mouse is slow and the screen is flickering. The same kind of problem with mtrr seems to be present in Xorg.0.log

Code:

VESA(0): Failed to set up write-combining range (0xc0000000,0x10000000)



Does anybody have the same kind of problem (of course solution are welcome ;) )? If you need more config or log files, just tell me.


Last edited by regnnick on Sun Dec 04, 2005 9:09 am; edited 1 time in total
Back to top
View user's profile Send private message
get sirius
Guru
Guru


Joined: 27 Apr 2002
Posts: 316
Location: Madison, WI

PostPosted: Thu Dec 01, 2005 8:56 pm    Post subject: Reply with quote

You would be helping us to help you by including more info regarding your system, in particular, the motherboard used, and, consequently, its chipset can be a large factor. :)
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 846
Location: New Zealand

PostPosted: Thu Dec 01, 2005 11:45 pm    Post subject: Reply with quote

Dual Opteron chips and a 6800? I trust you have an adequate PSU like 600W. Check the voltages on your rails in bios setup.
Back to top
View user's profile Send private message
regnnick
n00b
n00b


Joined: 20 Dec 2003
Posts: 19

PostPosted: Fri Dec 02, 2005 2:17 am    Post subject: Reply with quote

Thanks for your help.

I use a [url http://www.tyan.com/products/html/thunderk8we.html] Thunder K8WE motherboard[/url] (based on nforce Pro 2200/2050) with 8Gbytes of memory and a Titan 550 Antec case (using its 550W PSU). In BIOS, I've tried both memhole mapping set to disable and software (only software mode allows to access the full 8Gbytes of memory).

I've installed Gentoo including KDE and gnome without any compilation problem. I think this is a good test of the motherboard/CPUs/memory (but not the video card).

Here is some partial (but I hope relevant) informations of the lspci -v command

Code:

0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: b1000000-b2ffffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000cff00000
        Capabilities: [40] Power Management version 2
        Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+
        Capabilities: [58] #08 [a800]
        Capabilities: [80] #10 [0141]

0000:02:00.0 VGA compatible controller: nVidia Corporation NV41.0 (rev a2) (prog-if 00 [VGA])
        Subsystem: LeadTek Research Inc.: Unknown device 2a0a
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [78] #10 [0001]


Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 846
Location: New Zealand

PostPosted: Fri Dec 02, 2005 3:33 am    Post subject: Reply with quote

8GB of ram, hmmm. You could try taking out half and/or recompiling the kernel against different memory modes. On the subject of ram, test it with memtest86. Fast cpu but it could take a while to get through 8GB.
Back to top
View user's profile Send private message
regnnick
n00b
n00b


Joined: 20 Dec 2003
Posts: 19

PostPosted: Fri Dec 02, 2005 3:29 pm    Post subject: Reply with quote

whig wrote:
8GB of ram, hmmm. You could try taking out half


With 4GB, I still have the same problem. But with 2GB, vesa and even nvidia (but not nv) is running perfectly (including GLX). The mtrr error messages have disppeared.
Unfortunately, the mtrr support in the kernel can't be disable if I want to use the nvidia drivers :cry:
Back to top
View user's profile Send private message
regnnick
n00b
n00b


Joined: 20 Dec 2003
Posts: 19

PostPosted: Sun Dec 04, 2005 9:09 am    Post subject: Reply with quote

OK. I've solved my problem. What I have done is to tweak the BIOS. Here are the setting I used


Main:
-> Installed O/S : Linux


Advanced / Hammer configuration

* Memory hole
-> 4GB Memory Hole adjust: Auto
-> IOMMU : Enable
-> Memhole mappaing: Software

* MTRR Mapping : Discrete


Thanks for all the hints!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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