You are not logged in.

#1 2009-11-20 03:35:39

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Nouveau driver issues

I have a machine here I've been using for some testing, its an old athlon 1.2, 512mb ram, with a geforce 3, its on an MSI k7t266 motherboard, if any of that matters

I'm having some issues with the nouveau drivers with my trimmed down zen kernel. It works fine with the Arch kernel though, other than KMS, but I can't use that because of my KVM switch.

anyway, what I've done to get started here, is booted both kernels, and placed the logs from each into seperate folders.

now I'm trying to use the diff command to figure out what the arch kernel is doing that mine isn't.

essentially, i ran this

diff logs/kernel26/kernel.log logs/kernel26-zen/kernel.log >>difflog

but thats giving me too much info in the new file, any suggestions that might help me sort this out?

or is there perhaps a better way to do this, because diff at the moment doesn't seem like the best option. the logs differ right from the beginning? like this

Nov 19 22:09:21 myhost kernel: Linux version 2.6.31-ARCH (roo |    Nov 19 22:05:01 myhost kernel: [    0.000000] Linux version 2
Nov 19 22:09:21 myhost kernel: KERNEL supported cpus:          |    Nov 19 22:05:01 myhost kernel: [    0.000000] KERNEL supporte
Nov 19 22:09:21 myhost kernel: Intel GenuineIntel          |    Nov 19 22:05:01 myhost kernel: [    0.000000]   AMD Authentic
Nov 19 22:09:21 myhost kernel: AMD AuthenticAMD              |    Nov 19 22:05:01 myhost kernel: [    0.000000] BIOS-provided p
Nov 19 22:09:21 myhost kernel: NSC Geode by NSC              |    Nov 19 22:05:01 myhost kernel: [    0.000000]  BIOS-e820: 000
Nov 19 22:09:21 myhost kernel: Cyrix CyrixInstead          |    Nov 19 22:05:01 myhost kernel: [    0.000000]  BIOS-e820: 000
Nov 19 22:09:21 myhost kernel: Centaur CentaurHauls          |    Nov 19 22:05:01 myhost kernel: [    0.000000]  BIOS-e820: 000
Nov 19 22:09:21 myhost kernel: Transmeta GenuineTMx86          |    Nov 19 22:05:01 myhost kernel: [    0.000000]  BIOS-e820: 000
Nov 19 22:09:21 myhost kernel: Transmeta TransmetaCPU          |    Nov 19 22:05:01 myhost kernel: [    0.000000]  BIOS-e820: 000

Last edited by ssl6 (2009-11-21 01:30:53)


this is a signature

Offline

#2 2009-11-20 15:19:23

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Nouveau driver issues

You could try Meld.  Meld is a good graphical tool, though I think that it might use diff too, but it seems to do better with lines that may not be of the same order which might be why you are having this problem.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2009-11-20 16:20:29

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Nouveau driver issues

Your main problem is the 'timestamp' which makes every line different.
Infact - the best thing to do may be to 'chop' off the start of every line (up to and including the ':' in 'myhost kernel:')

Offline

#4 2009-11-20 16:32:15

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: Nouveau driver issues

Run

sed 's/^.*myhost/myhost/' logs/kernel26/kernel.log > logs/kernel26/kernel.log.clean
sed 's/^.*myhost/myhost/' logs/kernel26-zen/kernel.log > logs/kernel26-zen/kernel.log.clean
diff logs/kernel26/kernel.log.clean logs/kernel26-zen/kernel.log.clean > difflog.clean

Last edited by arkham (2009-11-20 16:33:42)


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#5 2009-11-20 16:58:36

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Nouveau driver issues

'tkdiff' is a good visual tool to compare two similar files (after you have made them 'clean' as indicated above)

Offline

#6 2009-11-20 18:01:42

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: Nouveau driver issues

i ended up using dwdiff i think it is actually, after doing pacman -Ss diff, looking for alternatives.

but after going throguh, and going over my kernel config for the zen kernel, i don't think thats the problem. because i have an almost identical kernel on another machine, which an Athlon XP instead of athlon, and a few different drivers since it has a different mobo, but i actually took the config from the athlon xp machine, and brougt it over to the athlon machine, and tweaked the drivers

they both have nvidia cards, except the athlon system has a geforce 3, and the athlon XP has an FX5950. the nouveau driver works on the athlon XP system, with pretty well the same same zen kernel. so what i did was swap the cards, and i can't get the nouveau driver to work on the geforce 3 with the zen kernel in the athlon XP machine either......but it can't be the driver support for the nv20's, because the arch kernel works....

there's got to be something i'm missing, I would submit a bug in the nouveau tracker, but i don't feel its really a bug, so much as a configuration issue on my part....or maybe something in the zen patch thats causing this?

but basically what happens, with the geforce 3 and nouveau driver on the zen kernel, is X will start, but the whole system locks up on a balck screen with a cursor, i can move the mouse around, but thats it, i can't switch to a terminal, or anything, the only thing i can do is hit the reset button

i think i found a bug report on the issue, or something similar, its hard to say, i'm looking at the comments, and it seems to go off track a little
https://bugs.freedesktop.org/show_bug.cgi?id=3168

Last edited by ssl6 (2009-11-20 19:21:42)


this is a signature

Offline

#7 2009-11-21 01:36:08

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: Nouveau driver issues

well, i think i got somewhere. I enabled the NoAccel option on the machine with the geforce 3, and X starts fine now when running the zen kernel. its odd because its only the zen-kernel that requires me to do that, the Arch kernel is fine with the nouveau driver

I also recompiled a new zen kernel on the Athlon XP system, to support the hardware on the older Athlon system, so now they're both using the same kernel, same libgl-git, libdrm-git, nouveau-dri-git, and xf86-video-nouveau-git packages. both systems can start X just fine using the nouveau driver while running the Arch kernel on the FX5950 and the geforce 3's. But with the zen kernel, X locks up with the geforce 3's, but the 5950 is fine


this is a signature

Offline

#8 2009-11-28 20:32:13

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Nouveau driver issues

One thing to note when using multiple kernels is that the nouveau DRM module is only installed on one of them, generally the arch kernel (but if you build it yourself, it will install to the currently running kernel).

Offline

Board footer

Powered by FluxBB