[Nouveau] [TEST REQUEST] fermi (GeForce 4xx/5xx) ucode

2011-05-25 Thread Ben Skeggs
Hey,

I've just committed, to nouveau git, an initial attempt at a replacement
for NVIDIA's PGRAPH ucode.  It's been tested on NVC0 and NVC4 thus far,
but in theory has support for NVC1, NVC3, NVC8 and NVCE also, it'd be
good to see how people with these chipsets fare.

If you're on NVC1/NVC8/NVCE, current nouveau git will disable
acceleration by default anyway, as NVC1 is known broken, and NVC8/NVCE
I'm not sure has ever been tested.  To force nouveau to attempt
acceleration, simply pass noaccel=0 as an option to the nouveau kernel
module.

Also, if there's someone out there reading this with a GF119 (NVD9)
chipset, I'd love to get a mmiotrace of the NVIDIA binary driver on your
card.

Nouveau can be configured to use NVIDIA's ucode (ctxfw=1 module
option), I thought it might be useful to switch back and forth to
compare stablity/bugs/etc, at least initially.

There's likely going to be a number of issues to sort out, so please let
me know if you spot any!

Thanks!
Ben.

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] NV50/NV8x/NV9x/NVAx ctxpro g and ctxvals generator

2010-02-24 Thread Marcin Kościelnicki
 Hello,

 Sorry for not answering to the right message, I've just joined the
 mailing list.

 I've tried this patch on my Quadro NVS 140M and it fails to load KDM.
 It shows the background but fails to show the credential edit boxes.
 It seems like the computer is locked up though the mouse can still move
 (can't do any VT switches) and
 I still can ssh on it.

 Needless to say this works without the patch ;)

Aiii... ok, I accidentally introduced a bug in pre-NVA0 branch during last-
minute cleanups... I just uploaded a new version at the same address that 
should fix that issue.

Btw, to anyone reporting success/failure with the generator: please include 
your chipset code number [NV50, NV96, NVA5, etc.]. If you don't know what it 
is, just report the hex number in Detected an NV50 generation card 
(0x086900a2) line

Sorry for that screwup

Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] NV50/NV8x/NV9x/NVAx ctxprog and ctxvals generator

2010-02-24 Thread Martin PERES

Le 24/02/2010 09:22, Marcin Kościelnicki a écrit :

Aiii... ok, I accidentally introduced a bug in pre-NVA0 branch during last-
minute cleanups... I just uploaded a new version at the same address that
should fix that issue.

Btw, to anyone reporting success/failure with the generator: please include
your chipset code number [NV50, NV96, NVA5, etc.]. If you don't know what it
is, just report the hex number in Detected an NV50 generation card
(0x086900a2) line

Sorry for that screwup

Marcin Kościelnicki
   

It works better now, I could not spot any regression.

Thanks,

Martin

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [TEST REQUEST] NV50/NV8x/NV9x/NVAx ctxprog and ctxvals generator

2010-02-23 Thread Marcin Kościelnicki
http://0x04.net/~mwk/0001-drm-nv50-Implement-ctxprog-state-generation.patch

This patch makes nouveau generate its own ctxprogs out of thin air on NV50 
family cards and allows us to get rid of nvidia's firmware.

It differs quite a bit from nvidia progs and needs thorough testing on as many 
chipsets and applications as possible, including gallium3d. Anything that 
works with nvidia firmware, but not with this generator, counts as a bug [yes, 
even if it involves gallium]. Please report back to my mail address, or to mwk 
on IRC.

Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] NV50/NV8x/NV9x/NVAx ctxprog and ctxvals generator

2010-02-23 Thread Martin PERES

Hello,

Sorry for not answering to the right message, I've just joined the 
mailing list.


I've tried this patch on my Quadro NVS 140M and it fails to load KDM.
It shows the background but fails to show the credential edit boxes.
It seems like the computer is locked up though the mouse can still move 
(can't do any VT switches) and

I still can ssh on it.

Needless to say this works without the patch ;)

Martin

dmesg:
[drm] Initialized drm 1.1.0 20060810
nouveau :01:00.0: power state changed by ACPI to D0
nouveau :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16
nouveau :01:00.0: setting latency timer to 64
[drm] nouveau :01:00.0: failed to evaluate _DSM: 5
[drm] nouveau :01:00.0: Detected an NV50 generation card (0x086900a2)
[drm] nouveau :01:00.0: Attempting to load BIOS image from PRAMIN
[drm] nouveau :01:00.0: ... appears to be valid
[drm] nouveau :01:00.0: BIT BIOS found
[drm] nouveau :01:00.0: Bios version 60.86.3e.00
[drm] nouveau :01:00.0: TMDS table revision 2.0 not currently supported
[drm] nouveau :01:00.0: BIT table 'd' not found
[drm] nouveau :01:00.0: Found Display Configuration Block version 4.0
[drm] nouveau :01:00.0: DCB connector table: VHER 0x40 5 14 2
[drm] nouveau :01:00.0:   0: 0x0040: type 0x40 idx 0 tag 0xff
[drm] nouveau :01:00.0:   1: 0x0100: type 0x00 idx 1 tag 0xff
[drm] nouveau :01:00.0:   2: 0x1231: type 0x31 idx 2 tag 0x07
[drm] nouveau :01:00.0:   3: 0x0311: type 0x11 idx 3 tag 0xff
[drm] nouveau :01:00.0: Raw DCB entry 0: 01000323 00010034
[drm] nouveau :01:00.0: Raw DCB entry 1: 02811300 0028
[drm] nouveau :01:00.0: Raw DCB entry 2: 02822312 00010030
[drm] nouveau :01:00.0: Raw DCB entry 3: 014333f1 0080c080
[drm] nouveau :01:00.0: Raw DCB entry 4: 000e 
[drm] nouveau :01:00.0: Parsing VBIOS init table 0 at offset 0xDD0F
[drm] nouveau :01:00.0: Parsing VBIOS init table 1 at offset 0xE04F
[drm] nouveau :01:00.0: Parsing VBIOS init table 2 at offset 0xEAA4
[drm] nouveau :01:00.0: Parsing VBIOS init table 3 at offset 0xEB96
[drm] nouveau :01:00.0: Parsing VBIOS init table 4 at offset 0xED83
[drm] nouveau :01:00.0: Parsing VBIOS init table at offset 0xEDE8
[drm] nouveau :01:00.0: 0xEDE8: Condition still not met after 20ms, 
skipping following opcodes

[drm] nouveau :01:00.0: 0xCE7E: parsing output script 0
[drm] nouveau :01:00.0: 0xCFF4: parsing output script 0
[drm] nouveau :01:00.0: 0xC66A: parsing output script 0
[TTM] Zone  kernel: Available graphics memory: 443326 kiB.
[TTM] Zone highmem: Available graphics memory: 1036578 kiB.
[drm] nouveau :01:00.0: 128 MiB VRAM
[drm] nouveau :01:00.0: 512 MiB GART (aperture)
[drm] nouveau :01:00.0: Allocating FIFO number 1
[drm] nouveau :01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau :01:00.0: Detected a LVDS output
[drm] nouveau :01:00.0: Detected a DAC output
[drm] nouveau :01:00.0: Detected a TMDS output
[drm] nouveau :01:00.0: DCB encoder 1 unknown
[drm] nouveau :01:00.0: Detected a LVDS connector
[drm] nouveau :01:00.0: Detected a VGA connector
[drm] nouveau :01:00.0: Detected a DVI-D connector
[drm] nouveau :01:00.0: allocated 1280x800 fb: 0x4025, bo f6813200
[drm] LVDS-7: set mode 1280x800 1a
[drm] nouveau :01:00.0: 0xCE82: parsing output script 1
[drm] nouveau :01:00.0: 0xCCE3: parsing clock script 0
Console: switching to colour frame buffer device 160x50
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.16 20090420 for :01:00.0 on minor 0
[drm] nouveau :01:00.0: 0xCE41: parsing clock script 1

...

# When loading KDM
[drm] nouveau :01:00.0: Allocating FIFO number 2
[drm] nouveau :01:00.0: nouveau_channel_alloc: initialised FIFO 2
[drm] nouveau :01:00.0: Allocating FIFO number 3
[drm] nouveau :01:00.0: nouveau_channel_alloc: initialised FIFO 3
# Stuck !
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] NV50/NV8x/NV9x ctxprog and ctxvals generator

2009-12-23 Thread Xavier
2009/12/22 Marcin Kościelnicki koria...@0x04.net:
 So, I wrote a generator for ctxprogs on NV50, NV84, NV86, NV92, NV94, NV96,
 NV98. Atm it's only tested with NV86 and I'd like to see if it works for all
 the other cards, especially NV50. NVAx support is still missing due to some
 differences, but should be coming soon. Address is
 http://0x04.net/~mwk/gen.diff , please test it with all mentioned cards, and
 involve as much gallium as possible. Anything that works with nvidia ctxprogs,
 but not with the generator counts as a bug. Report back to my mail address, or
 to mwk on IRC.


Tested on nv84 (G84 [GeForce 8600M GT]). No obvious regressions.
All my games still work fine with gallium. suspend/resuming while
gallium is running does not seem worse than before (I already have
many suspend/resuming problems with proprietary ctxprog , with or
without 3d running).
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [TEST REQUEST] NV50/NV8x/NV9x ctxprog and ctxvals generator

2009-12-21 Thread Marcin Kościelnicki
So, I wrote a generator for ctxprogs on NV50, NV84, NV86, NV92, NV94, NV96, 
NV98. Atm it's only tested with NV86 and I'd like to see if it works for all 
the other cards, especially NV50. NVAx support is still missing due to some 
differences, but should be coming soon. Address is 
http://0x04.net/~mwk/gen.diff , please test it with all mentioned cards, and 
involve as much gallium as possible. Anything that works with nvidia ctxprogs, 
but not with the generator counts as a bug. Report back to my mail address, or 
to mwk on IRC.

Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Tue, 2009-12-15 at 10:09 +, STEVEN WARD wrote:
 Dear Ben,
  I would like to test the firmware for you,but where
 do I exactly put them into?
Ah sorry, I should've been clearer about that.  Make sure you're running
the latest nouveau DRM (from either nouveau git, or latest linux git)
and the driver will look for the firmware in /usr/lib/firmware/nouveau.

Ben.
 Regards,
STEVE555
 
  From: skeg...@gmail.com
  To: nouveau@lists.freedesktop.org
  Date: Tue, 15 Dec 2009 17:14:10 +1000
  Subject: [Nouveau] [TEST REQUEST] nv40 firmware replacement
  
  So, I've spent the last few days messing around with replacing our
 use
  of NVIDIA's context programs on GeForce 6/7 hardware and have
 something
  that works on the 4 (2xNV44, NV46, NV4B) cards I have.
  
  The context programs are *much* less complex than NVIDIA's and don't
  handle nearly everything NVIDIA's do, however they do work for our
  needs, and it's as good a starting point as any.
  
  I've attached the currently generated firmware in the same binary
  format we packages NVIDIA's in. If people with the relevant hardware
  could install them, and report success/failure and the chipset they
  tested on (the whole Detected an NVxx generation card line from
  nouveau's dmesg output would be perfect), that'd be great!
  
  I'm now working on moving the code that generated the firmware in
 the
  below tarball to the DRM, and after some testing before I do!
  
  Ben.
 
 
 __
 Use Hotmail to send and receive mail from your different email
 accounts. Find out how.


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Jimmy Rentz
On Tue, 15 Dec 2009 17:14:10 +1000
Ben Skeggs skeg...@gmail.com wrote:

 So, I've spent the last few days messing around with replacing our use
 of NVIDIA's context programs on GeForce 6/7 hardware and have
 something that works on the 4 (2xNV44, NV46, NV4B) cards I have.
 
 The context programs are *much* less complex than NVIDIA's and don't
 handle nearly everything NVIDIA's do, however they do work for our
 needs, and it's as good a starting point as any.
 
 I've attached the currently generated firmware in the same binary
 format we packages NVIDIA's in.  If people with the relevant hardware
 could install them, and report success/failure and the chipset they
 tested on (the whole Detected an NVxx generation card line from
 nouveau's dmesg output would be perfect), that'd be great!
 
 I'm now working on moving the code that generated the firmware in the
 below tarball to the DRM, and after some testing before I do!
 
 Ben.

I tested this on an nv4e and nv49 and kms+X works fine.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Tue, 2009-12-15 at 21:54 -0500, Jimmy Rentz wrote:
 On Tue, 15 Dec 2009 17:14:10 +1000
 Ben Skeggs skeg...@gmail.com wrote:
 
  So, I've spent the last few days messing around with replacing our use
  of NVIDIA's context programs on GeForce 6/7 hardware and have
  something that works on the 4 (2xNV44, NV46, NV4B) cards I have.
  
  The context programs are *much* less complex than NVIDIA's and don't
  handle nearly everything NVIDIA's do, however they do work for our
  needs, and it's as good a starting point as any.
  
  I've attached the currently generated firmware in the same binary
  format we packages NVIDIA's in.  If people with the relevant hardware
  could install them, and report success/failure and the chipset they
  tested on (the whole Detected an NVxx generation card line from
  nouveau's dmesg output would be perfect), that'd be great!
  
  I'm now working on moving the code that generated the firmware in the
  below tarball to the DRM, and after some testing before I do!
  
  Ben.
 
 I tested this on an nv4e and nv49 and kms+X works fine.
Thank you!  Are you able to also install the gallium driver, and see if
some 3D apps still work fine (where by fine I mean, as well as they do
with NVIDIA's firmware) and don't cause corruption of your X session?

Ben.


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Wed, 2009-12-16 at 01:05 -0500, Jimmy Rentz wrote:
 On Wed, 16 Dec 2009 13:19:11 +1000
 Ben Skeggs skeg...@gmail.com wrote:
 
  On Tue, 2009-12-15 at 21:54 -0500, Jimmy Rentz wrote:
   On Tue, 15 Dec 2009 17:14:10 +1000
   Ben Skeggs skeg...@gmail.com wrote:
   
So, I've spent the last few days messing around with replacing
our use of NVIDIA's context programs on GeForce 6/7 hardware and
have something that works on the 4 (2xNV44, NV46, NV4B) cards I
have.

The context programs are *much* less complex than NVIDIA's and
don't handle nearly everything NVIDIA's do, however they do work
for our needs, and it's as good a starting point as any.

I've attached the currently generated firmware in the same
binary format we packages NVIDIA's in.  If people with the
relevant hardware could install them, and report success/failure
and the chipset they tested on (the whole Detected an NVxx
generation card line from nouveau's dmesg output would be
perfect), that'd be great!

I'm now working on moving the code that generated the firmware in
the below tarball to the DRM, and after some testing before I do!

Ben.
   
   I tested this on an nv4e and nv49 and kms+X works fine.
  Thank you!  Are you able to also install the gallium driver, and see
  if some 3D apps still work fine (where by fine I mean, as well as
  they do with NVIDIA's firmware) and don't cause corruption of your X
  session?
  
  Ben.
 glxgears+openarena work fine with both cards and with no X
 corruption.  I saw no visible differences.
Great, thanks!  That counts as a success for those cards then :)

Ben.
  
  
  ___
  Nouveau mailing list
  Nouveau@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/nouveau
 


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] test

2009-05-04 Thread Ink Bottle




  
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] test again

2009-05-04 Thread Ink Bottle




  
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau