1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Nouveau Companion 37

KoalaBR

Published on 20 March 2008
Written by KoalaBR
Page 1 of 2 - Comment On This Article

In the thirty-seventh edition of the Nouveau Companion, the topics covered largely come down to Gallium3D, the status of the Nouveau driver for each of the NVIDIA product families (primarily the GeForce 8 series), and of interest is that RandR 1.2 should soon be enabled by default for this reverse-engineered open-source 2D/3D NVIDIA driver. The Nouveau developers are working on Gallium3D extensively and recent David Airlie had tried the Nouveau Gallium3D driver for PowerPC, but there is a problem with depth buffers. The GeForce 8 (NV50) status is continuing to improve but there's still work to be done, as these GPUs have no NV40 compatibility mode. Read the rest in this edition of the Nouveau Companion.

Hello, you are going to read issue #37 of TiNDC. If you expect this issue to be as long as the last one, please prepare for some disappointment. We will get back to the normal length this time.

All in all, not much obvious progress to report, as people try to get to grips with Gallium or are working to get Gallium working on their cards. If you feel brave, you can try it out according to Hanno Boeck's blog or have a look at our Wiki page.

Please note that we can't and won't give you any support for this yet. If it works, you are lucky, if not, please don't complain. There are known bugs in both Nouveau and Gallium and we are working on it. But we have just started...

The question was raised whether Nouveau would be manipulating things like fan speed. Answer is: No, please use Thunderbirds NVClock for that kind of work.

Last topic for this introduction: We got an 8400 card donated by kho. This card won't leave the greedy little hands of Marcheu who will join Darktama's efforts to get 3D on NV50 cards going. Thanks you very much kho for your generous donation!

GSoC 2008 saw Xorg accepted as a mentor organization. Depending on the results from the last two years we are not that optimistic that we could get a slot with Xorg mentoring us. If it works out, we would like to work on NV5x, so if you have a spare 8x00 card you could donate, please come forward. And no, we don't expect you to donate a 8800 GTS or 9x00 card. Another 8400 or 8500 card would suffice!

And as this got asked a few times on IRC: We consider the latest G92 cards to be part of the NV50 family and we will support them in the future. Please note, that currently there are drawbacks (more on this in the next chapter).

The Current Status

As we hinted at in the last issue, kernel mode-setting is going mainstream soon. Fedora 9 will be there first, getting the necessary plumbing.

Stillunknown and Malc0 continued cleaning up and fixing Randr1.2. Its code path for NV50 was cleaned up to as there was much cruft accumulated. The new edition is now more in tune with the code for the others cards. However, no new functionality was added, only obvious problems were fixed (please note, that neither Malc0 nor Stillunknown have an NV5x card available). So, the code works as well (or as bad) as before.

Still there seems to be some hope: The Xorg-NV got code to parse the BIOS tables of the NV50 based cards. Maybe malc0 will be able to adapt it to our code base. What comes out of it remains to be seen, though.

Beyond that, the time frame was for Randr1.2 was mainly confirmed if no real showstoppers rear their ugly head. By the way, Nouveau does not crash when exiting X. It simply tries to restore text mode and fails horribly, leaving an unusable text console.

Airlied tested PPC Gallium and had some problems with the depth buffer. Further inspection by Darktama and Marcheu hinted at a possible problem in Mesa for PPC. There seems to be a problem with the depth buffers. Look at the green gear for the problem:

Darktama did some work on NV30 helping pmdata to get the card init going. "I just put the NV30GL in for the fun of it, and fixed the main issues, the rest is up to pmdata now :)"

Benkai is still working on summarizing options, problems and possible solutions barring suspend support for Nouveau. After that he started working on testing suspend / resume functionality on NV04 by hacking the code for suspend into EnterVT (Switch to text console) and for resume into LeaveVT. So when entering text console, the status was saved and restored when switching back to X.

For that functionality, an ioctl() was added to the DRM and PGRAPH proved trivial on NV04: Nouveau simply allocates a channel and calls engine->graph.save_context() before PGRAPH init. For resume a call to engine->graph.restore_context() was sufficient. After that Nouveau was working after a LeaveVT/EnterVT (with PMC/PTIMER/PFB/GPRAPH init) cycle.

After that success, benkai added save/restore of all PFIFO registers to the ioctl(). Nouveau now gets a PGRATH context switch interrupt after X starts sending commands through the FIFO again. Unfortunately, the card emits weird errors after wards.

As already noted in an earlier issue, find the current status here. After seeing his power bill, Ahuillet expressed interest too.

And now for some information about the NV50. Originally, we had hoped that the NV50 would have a NV40 compatibility mode, but that hopes were shattered early on. With reverse engineering being a bit behind and tasked to find his way around Gallium, Darktama decided to work on NV4x where most things needed were already known.

Latest Linux Hardware Reviews
  1. AMD Launches New FX CPUs, Cuts Prices On Existing Processors
  2. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  3. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  4. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
Latest Linux Articles
  1. LLVM Clang 3.5 Brings Some Compiler Performance Improvements
  2. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  3. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  4. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
Latest Linux News
  1. New Group Calls For Boycotting Systemd
  2. The Features To Find With The Imminent Release Of LLVM/Clang 3.5
  3. Borderlands 2 Is Coming To Linux
  4. The Witcher 2 Ups The Performance More & Works Around Catalyst Bug
  5. Running Gallium3D's LLVMpipe On The Eight-Core 5GHz CPU
  6. Trying Intel OpenCL On Linux For Video Encoding
  7. GSoC 2014 Yielded Some Improvements For Mesa/X.Org This Year
  8. webOS Lives On As LuneOS With New Release
  9. Marek Lands Radeon Gallium3D HyperZ Improvements
  10. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
Latest Forum Discussions
  1. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  2. nv and xorg.conf under Debian PPC
  3. AMD graphics doesn't work with AMD Catalyst drivers
  4. Best Radeon for a Power Mac G5?
  5. The dangers of Linux kernel development
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. SSD seems slow