Re: [Nouveau] [RFC] Initial power management vbios parsing, voltage clock setting to nouveau.

2010-09-20 Thread Robert Kaiser

Martin Peres schrieb:

Le 15/09/2010 14:58, Robert Kaiser a écrit :

On an only slightly related note, what's the recommended way to read
out the temperature of the GPU when using nouveau? (I have a NV4B
card, but I think I read this is mostly the same for all NVidias, right?)

There is no way to get the temperature using nouveau at the moment. This
feature should land in nouveau git some time this week.


Kewl! You guys are awesome!


Reading the temperature is not as straightforward as just reading a
register. It works that way on nv84+, for earlier cards, you need to
parse the vbios to set-up the sensor and then read the temperature (and
change the value with some additional little calcultations). The
documentation should be available soon, I'm working on merging all the
doc we have.


Duh, would have thought they might make that available pretty easily, 
but good to know you figured it out. I previously had been using nvclock 
to read it, but I think going through nouveau is nicer (and I know it's 
pretty hot most of the time as nouveau is not that good on power 
management as well, good things take time, after all).


Keep up the good work!

Robert Kaiser


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


[Nouveau] Problems with dual head on NVidia Quadro NVS 295

2010-09-20 Thread Stefan Mathe
Hello,

I'm having problems configuring the dual-head display using an NVidia
Quadro NVS 295 display card. It uses two identical LCD monitors (model
HP LP2475w), connected using DP cables. If I connect one single monitor
(either to the DP-1 or to the DP-2 output), the desktop shows up
correctly. If I connect both monitors, only the left monitor shows the
image, and the desktop is extended as if the second monitor were showing
something. But the right monitor remains blank.

I am using OpenSUSE 11.3, with the nouveau drivers included in its
kernel (kernel version 2.6.34). The relevant parts of xorg.conf.d are:

Section Device
  Identifier Default Device
  Option SWcursor true
  Option monitor-DP-1 LeftMonitor
  Option monitor-DP-2 RightMonitor
EndSection

Section Monitor
  Identifier LeftMonitor
  Option PreferredMode 1920x1200
EndSection

Section Monitor
  Identifier RightMonitor
  Option RightOf LeftMonitor
  Option PreferredMode 1920x1200
EndSection

Section Screen
  Identifier Default Screen
  Device Default Device
  Monitor LeftMonitor
  DefaultDepth 24
  SubSection Display
 Depth 24
 Virtual 3840 1200
  EndSubSection
EndSection

Section ServerLayout
  Identifier Layout0
  Screen 0 Default Screen 0 0
EndSection

Note that I had to set the mouse cursor to software rendering because it
was not showing up at all when using hardware rendering (cursor was
entirely invisible but the mouse was operational).

The output of the xrandr command is:

Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192
DP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis)
546mm x 352mm
   1920x1200  60.0*+   59.9 
   1920x1080  60.0 
   1600x1200  60.0 
   1680x1050  60.0 
   1600x1000  60.0 
   1280x1024  75.0 
   1280x960   60.0 
   1152x864   75.0 
   1024x768   75.1 60.0 
   832x62474.6 
   800x60075.0 60.3 
   640x48075.0 60.0 
   720x40070.1 
DP-2 connected 1920x1200+1920+0 (normal left inverted right x axis y
axis) 546mm x 352mm
   1920x1200  60.0*+   59.9 
   1600x1200  60.0 
   1680x1050  60.0 
   1600x1000  60.0 
   1280x1024  75.0 
   1280x960   60.0 
   1152x864   75.0 
   1024x768   75.1 60.0 
   832x62474.6 
   800x60075.0 60.3 
   640x48075.0 60.0 
   720x40070.1 

I have also attached my Xorg.0.log file.

Many thanks in advance for the help,
Stefan.
[11.632] 
X.Org X Server 1.8.0
Release Date: 2010-04-02
[11.643] X Protocol Version 11, Revision 0
[11.643] Build Operating System: openSUSE SUSE LINUX
[11.643] Current Operating System: Linux arrakeen 2.6.34.7-0.2-desktop #1 SMP PREEMPT 2010-09-14 14:21:06 +0200 x86_64
[11.643] Kernel command line: root=/dev/disk/by-id/ata-ST3500418AS_9VM5VZRD-part6 resume=/dev/disk/by-id/ata-ST3500418AS_9VM5VZRD-part5 splash=silent quiet vga=0x314
[11.643] Build Date: 19 August 2010  03:34:22PM
[11.643]  
[11.643] Current version of pixman: 0.18.0
[11.643] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[11.643] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[11.643] (==) Log file: /var/log/Xorg.0.log, Time: Mon Sep 20 18:11:20 2010
[11.644] (==) Using config directory: /etc/X11/xorg.conf.d
[11.651] (==) ServerLayout Layout0
[11.651] (**) |--Screen Default Screen (0)
[11.651] (**) |   |--Monitor LeftMonitor
[11.652] (**) |   |--Device Default Device
[11.652] (==) Automatically adding devices
[11.652] (==) Automatically enabling devices
[11.652] (WW) The directory /usr/share/fonts/TTF/ does not exist.
[11.652] 	Entry deleted from font path.
[11.652] (WW) The directory /usr/share/fonts/OTF/ does not exist.
[11.652] 	Entry deleted from font path.
[11.652] (WW) The directory /usr/share/fonts/misc/sgi does not exist.
[11.652] 	Entry deleted from font path.
[11.652] (==) FontPath set to:
	/usr/share/fonts/misc:unscaled,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/75dpi:unscaled,
	/usr/share/fonts/URW/,
	/usr/share/fonts/cyrillic:unscaled,
	/usr/share/fonts/truetype/
[11.652] (==) ModulePath set to /usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules
[11.652] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[11.652] (II) Loader magic: 0x7d5ba0
[11.652] (II) Module ABI versions:
[11.652] 	X.Org ANSI C Emulation: 0.4
[11.652] 	X.Org Video Driver: 7.0
[11.652] 	X.Org XInput driver : 9.0
[11.652] 	X.Org Server Extension : 3.0
[11.659] (--) PCI:*(0:15:0:0) 10de:06fd:10de:062e nVidia Corporation G98 [Quadro NVS 295] rev 161, Mem @ 

Re: [Nouveau] Problems with dual head on NVidia Quadro NVS 295

2010-09-20 Thread Abelenda Diego
On Mon, 20 Sep 2010 18:21:26 +0300
Stefan Mathe mste...@cs.toronto.edu wrote:

 Hello,
 
 I'm having problems configuring the dual-head display using an NVidia
 Quadro NVS 295 display card. It uses two identical LCD monitors (model
 HP LP2475w), connected using DP cables. If I connect one single
 monitor (either to the DP-1 or to the DP-2 output), the desktop shows
 up correctly. If I connect both monitors, only the left monitor shows
 the image, and the desktop is extended as if the second monitor were
 showing something. But the right monitor remains blank.
 
 I am using OpenSUSE 11.3, with the nouveau drivers included in its
 kernel (kernel version 2.6.34). The relevant parts of xorg.conf.d are:
 
 Section Device
   Identifier Default Device
   Option SWcursor true
   Option monitor-DP-1 LeftMonitor
   Option monitor-DP-2 RightMonitor
 EndSection
 
 Section Monitor
   Identifier LeftMonitor
   Option PreferredMode 1920x1200
 EndSection
 
 Section Monitor
   Identifier RightMonitor
   Option RightOf LeftMonitor
   Option PreferredMode 1920x1200
 EndSection
 
 Section Screen
   Identifier Default Screen
   Device Default Device
   Monitor LeftMonitor
   DefaultDepth 24
   SubSection Display
  Depth 24
  Virtual 3840 1200
   EndSubSection
 EndSection
 
 Section ServerLayout
   Identifier Layout0
   Screen 0 Default Screen 0 0
 EndSection
 
 Note that I had to set the mouse cursor to software rendering because
 it was not showing up at all when using hardware rendering (cursor was
 entirely invisible but the mouse was operational).
 
 The output of the xrandr command is:
 
 Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192
 DP-1 connected 1920x1200+0+0 (normal left inverted right x axis y
 axis) 546mm x 352mm
1920x1200  60.0*+   59.9 
1920x1080  60.0 
1600x1200  60.0 
1680x1050  60.0 
1600x1000  60.0 
1280x1024  75.0 
1280x960   60.0 
1152x864   75.0 
1024x768   75.1 60.0 
832x62474.6 
800x60075.0 60.3 
640x48075.0 60.0 
720x40070.1 
 DP-2 connected 1920x1200+1920+0 (normal left inverted right x axis y
 axis) 546mm x 352mm
1920x1200  60.0*+   59.9 
1600x1200  60.0 
1680x1050  60.0 
1600x1000  60.0 
1280x1024  75.0 
1280x960   60.0 
1152x864   75.0 
1024x768   75.1 60.0 
832x62474.6 
800x60075.0 60.3 
640x48075.0 60.0 
720x40070.1 
 
 I have also attached my Xorg.0.log file.
 
 Many thanks in advance for the help,
 Stefan.

Got exactly the same problem with an nvidia 9600GT and two DVI cables.
Using gentoo and I tested the kernels 2.6.34 2.6.35 and the 2.6.36_rc
nothing changed. Until now I had the two screens connected via a
DVI-to-VGA adapter and there was another problem, there was some
static on the second screen, but the nvidia proprietary driver did the
same thing.


signature.asc
Description: PGP signature
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 30286] New: Rendering Artefacts for EffectFrames with KWin trunk

2010-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30286

   Summary: Rendering Artefacts for EffectFrames with KWin trunk
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/nouveau
AssignedTo: nouveau@lists.freedesktop.org
ReportedBy: k...@martin-graesslin.com


Created an attachment (id=38827)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=38827)
PresentWindows effect showing artefacts.

I noticed that KWin's EffectFrames are rendered incorrectly with nouveau and
current kwin trunk (please see attached screenshot). There has been a change
between 4.5 and current trunk, so I cannot say if the same problem exsists with
4.5. as well.

The EffectFrame is a GLTexture generated with TextureFromPixmap from a Qt
QPixmap. In the screenshot we see that the icons are rendered correctly (also
using QPixmap - TFP - GLTexture conversion) while the other textures are
rendered incorrectly. This includes the pure black background texture, the
textures generated from Plasma's FrameSvg and text textures.

The relevant code is in kwin trunk scene_opengl.cpp [1]
SceneOpenGL::EffectFrame::render() at line 2002. An example for creating a
texture can be found in SceneOpenGL::EffectFrame::updateTextTexture() at line
2264. If you want to have any other information to the code, do not hesistate
to ask, as I recently refactored that code.

I am using nouveau, dri and kernel from debian experimental. glxinfo says it's
Mesa 7.8.2

[1]
http://websvn.kde.org/trunk/KDE/kdebase/workspace/kwin/scene_opengl.cpp?view=markup

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau