[Nouveau] [Bug 86987] Requesting a New Account

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86987

--- Comment #1 from Samuel Pitoiset  ---
Created attachment 110428
  --> https://bugs.freedesktop.org/attachment.cgi?id=110428&action=edit
GPG key

-- 
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


[Nouveau] [Bug 86987] New: Requesting a New Account

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86987

Bug ID: 86987
   Summary: Requesting a New Account
   Product: xorg
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/nouveau
  Assignee: nouveau@lists.freedesktop.org
  Reporter: samuel.pitoi...@gmail.com
QA Contact: xorg-t...@lists.x.org

Created attachment 110427
  --> https://bugs.freedesktop.org/attachment.cgi?id=110427&action=edit
SSH key

Hi,

Real name: Samuel Pitoiset
email: samuel.pitoiset at gmail.com
User name: hakzsam

Thanks in advance.

-- 
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


Re: [Nouveau] Testers needed for NVAA/NVAC kernel patch

2014-12-03 Thread poma
On 02.12.2014 23:29, Pierre Moreau wrote:
> Hello everyone,
> 
> I would need testers to check that this patch doesn't break working
> NVAA/NVAC configurations. It fixes an issue where some NVAC would hang on 
> boot;
> if similar issues exist on NVAA, it may fix them too.
> You will find the patch below in two different versions: one will apply on Ben
> Skeggs' repository, the other one will apply on a regular Linux tree.
> 
> Thanks in advance,
> 
> Pierre Moreau
> 


git://people.freedesktop.org/~darktama/nouveau
commented the following "dumb" lines & patched with "If you are using Ben 
Skeggs' repository"

/NV/nouveau/drm/nouveau_gem.c: In function ‘validate_list’:
/NV/nouveau/drm/nouveau_gem.c:447:22: error: ‘struct drm_gem_object’ has no 
member named ‘dumb’
   WARN_ONCE(nvbo->gem.dumb,
  ^
include/asm-generic/bug.h:121:27: note: in definition of macro ‘WARN_ONCE’
  int __ret_warn_once = !!(condition);   \
   ^
/NV/nouveau/drm/nouveau_display.c: In function ‘nouveau_display_dumb_create’:
/NV/nouveau/drm/nouveau_display.c:879:9: error: ‘struct drm_gem_object’ has no 
member named ‘dumb’
  bo->gem.dumb = true;
 ^
/NV/nouveau/drm/nouveau_display.c: In function 
‘nouveau_display_dumb_map_offset’:
/NV/nouveau/drm/nouveau_display.c:900:18: error: ‘struct drm_gem_object’ has no 
member named ‘dumb’
   WARN_ONCE(!(gem->dumb || gem->import_attach),
  ^
include/asm-generic/bug.h:121:27: note: in definition of macro ‘WARN_ONCE’
  int __ret_warn_once = !!(condition);   \
   ^
/NV/nouveau/drm/nouveau_display.c: In function ‘nouveau_display_dumb_create’:
/NV/nouveau/drm/nouveau_display.c:879:9: error: ‘struct drm_gem_object’ has no 
member named ‘dumb’
  bo->gem.dumb = true;
 ^

# dmesg | grep nouveau
[   25.348109] nouveau: module verification failed: signature and/or  required 
key missing - tainting kernel
[   25.392337] fb: switching to nouveaufb from VESA VGA
[   25.410386] nouveau  [  DEVICE][:01:00.0] BOOT0  : 0x0ace80b1
[   25.410408] nouveau  [  DEVICE][:01:00.0] Chipset: MCP79/MCP7A (NVAC)
[   25.410419] nouveau  [  DEVICE][:01:00.0] Family : NV50
[   25.426804] nouveau  [   VBIOS][:01:00.0] using image from PRAMIN
[   25.427343] nouveau  [   VBIOS][:01:00.0] BIT signature found
[   25.427361] nouveau  [   VBIOS][:01:00.0] version 62.79.78.00.00
[   25.450604] nouveau :01:00.0: irq 26 for MSI/MSI-X
[   25.450635] nouveau  [ PMC][:01:00.0] MSI interrupts enabled
[   25.450698] nouveau  [ PFB][:01:00.0] RAM type: stolen system memory
[   25.450710] nouveau  [ PFB][:01:00.0] RAM size: 256 MiB
[   25.450719] nouveau  [ PFB][:01:00.0]ZCOMP: 0 tags
[   25.482512] nouveau  [  PTHERM][:01:00.0] FAN control: none / external
[   25.482581] nouveau  [  PTHERM][:01:00.0] fan management: automatic
[   25.482602] nouveau  [  PTHERM][:01:00.0] internal sensor: yes
[   25.502658] nouveau  [ CLK][:01:00.0] 03: core 200 MHz shader 400 
MHz vdec 200 MHz
[   25.502684] nouveau  [ CLK][:01:00.0] 05: core 300 MHz shader 600 
MHz vdec 300 MHz
[   25.502701] nouveau  [ CLK][:01:00.0] 07: core 350 MHz shader 800 
MHz vdec 350 MHz
[   25.502717] nouveau  [ CLK][:01:00.0] 0f: core 450 MHz shader 1100 
MHz vdec 450 MHz
[   25.502753] nouveau  [ CLK][:01:00.0] --: core 450 MHz shader 1100 
MHz vdec 450 MHz
[   25.503536] nouveau  [ DRM] VRAM: 256 MiB
[   25.503550] nouveau  [ DRM] GART: 1048576 MiB
[   25.503570] nouveau  [ DRM] TMDS table version 2.0
[   25.503584] nouveau  [ DRM] DCB version 4.0
[   25.503599] nouveau  [ DRM] DCB outp 00: 02000300 001e
[   25.503616] nouveau  [ DRM] DCB outp 01: 01011322 0030
[   25.503631] nouveau  [ DRM] DCB outp 02: 02022332 00020010
[   25.503645] nouveau  [ DRM] DCB conn 00: 
[   25.503659] nouveau  [ DRM] DCB conn 01: 1131
[   25.503672] nouveau  [ DRM] DCB conn 02: 2261
[   25.548615] nouveau  [ DRM] MM: using M2MF for buffer copies
[   25.637542] nouveau  [ DRM] allocated 800x600 fb: 0x5, bo 
8800bc6d3c00
[   25.637949] fbcon: nouveaufb (fb0) is primary device
[   25.705760] nouveau :01:00.0: fb0: nouveaufb frame buffer device
[   25.705791] [drm] Initialized nouveau 1.2.1 20120801 for :01:00.0 on 
minor 1

# grep -w connected /var/log/Xorg.0.log
[34.783] (II) NOUVEAU(0): Output HDMI-1 connected

# modinfo nouveau -n
/lib/modules/3.18.0-0.rc7.git0.1.fc22.x86_64/updates/nouveau.ko


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


[Nouveau] [Bug 86935] [NV106] unknown kepler chipset 0x106

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86935

--- Comment #11 from Sven  ---
nouveau :01:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with
error -2
nouveau :01:00.0: Direct firmware load for nouveau/nv106_fuc084d failed
with error -2
nouveau E[PBSP][:01:00.0] unable to load firmware data
nouveau E[PBSP][:01:00.0] init failed, -2

Does extract_firmware.py need updating?
(I have Gentoo's nvidia-firmware-340.32 installed)

-- 
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


[Nouveau] [Bug 86935] [NV106] unknown kepler chipset 0x106

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86935

--- Comment #10 from Sven  ---
There is an error in dmesg with the patch applied:
nouveau E[PBUS][:01:00.0] MMIO read of 0x FAULT at 0x500c30 [
IBUS ]

It doesn't seem to matter though. Is it something serious?

-- 
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


[Nouveau] [Bug 86935] [NV106] unknown kepler chipset 0x106

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86935

Sven  changed:

   What|Removed |Added

 Attachment #110361|0   |1
is obsolete||

--- Comment #9 from Sven  ---
Created attachment 110407
  --> https://bugs.freedesktop.org/attachment.cgi?id=110407&action=edit
proper patch

-- 
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


[Nouveau] [PATCH] Add support for GK208B, resolves bug 86935

2014-12-03 Thread Sven Köhler
---
 drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 33 +++
 1 file changed, 33 insertions(+)

diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c 
b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
index b1b2e48..975cfab 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
@@ -248,6 +248,39 @@ nve0_identify(struct nouveau_device *device)
device->oclass[NVDEV_ENGINE_PPP] = &nvc0_ppp_oclass;
device->oclass[NVDEV_ENGINE_PERFMON] = &nvf0_perfmon_oclass;
break;
+   case 0x106:
+   device->cname = "GK208B";
+   device->oclass[NVDEV_SUBDEV_VBIOS  ] = &nouveau_bios_oclass;
+   device->oclass[NVDEV_SUBDEV_GPIO   ] =  nve0_gpio_oclass;
+   device->oclass[NVDEV_SUBDEV_I2C] =  nve0_i2c_oclass;
+   device->oclass[NVDEV_SUBDEV_FUSE   ] = &gf100_fuse_oclass;
+   device->oclass[NVDEV_SUBDEV_CLOCK  ] = &nve0_clock_oclass;
+   device->oclass[NVDEV_SUBDEV_THERM  ] = &nvd0_therm_oclass;
+   device->oclass[NVDEV_SUBDEV_MXM] = &nv50_mxm_oclass;
+   device->oclass[NVDEV_SUBDEV_DEVINIT] =  nvc0_devinit_oclass;
+   device->oclass[NVDEV_SUBDEV_MC ] =  gk20a_mc_oclass;
+   device->oclass[NVDEV_SUBDEV_BUS] =  nvc0_bus_oclass;
+   device->oclass[NVDEV_SUBDEV_TIMER  ] = &nv04_timer_oclass;
+   device->oclass[NVDEV_SUBDEV_FB ] =  nve0_fb_oclass;
+   device->oclass[NVDEV_SUBDEV_LTC] =  gk104_ltc_oclass;
+   device->oclass[NVDEV_SUBDEV_IBUS   ] = &nve0_ibus_oclass;
+   device->oclass[NVDEV_SUBDEV_INSTMEM] =  nv50_instmem_oclass;
+   device->oclass[NVDEV_SUBDEV_VM ] = &nvc0_vmmgr_oclass;
+   device->oclass[NVDEV_SUBDEV_BAR] = &nvc0_bar_oclass;
+   device->oclass[NVDEV_SUBDEV_PWR] =  nv108_pwr_oclass;
+   device->oclass[NVDEV_SUBDEV_VOLT   ] = &nv40_volt_oclass;
+   device->oclass[NVDEV_ENGINE_DMAOBJ ] =  nvd0_dmaeng_oclass;
+   device->oclass[NVDEV_ENGINE_FIFO   ] =  nv108_fifo_oclass;
+   device->oclass[NVDEV_ENGINE_SW ] =  nvc0_software_oclass;
+   device->oclass[NVDEV_ENGINE_GR ] =  nv108_graph_oclass;
+   device->oclass[NVDEV_ENGINE_DISP   ] =  nvf0_disp_oclass;
+   device->oclass[NVDEV_ENGINE_COPY0  ] = &nve0_copy0_oclass;
+   device->oclass[NVDEV_ENGINE_COPY1  ] = &nve0_copy1_oclass;
+   device->oclass[NVDEV_ENGINE_COPY2  ] = &nve0_copy2_oclass;
+   device->oclass[NVDEV_ENGINE_BSP] = &nve0_bsp_oclass;
+   device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
+   device->oclass[NVDEV_ENGINE_PPP] = &nvc0_ppp_oclass;
+   break;
case 0x108:
device->cname = "GK208";
device->oclass[NVDEV_SUBDEV_VBIOS  ] = &nouveau_bios_oclass;
-- 
2.0.4

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


[Nouveau] [Bug 86935] [NV106] unknown kepler chipset 0x106

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86935

--- Comment #8 from Sven  ---
(In reply to Ilia Mirkin from comment #4)
> (In reply to Sven from comment #2)
> > Adding 0x106 seems to have worked. I can now boot with nouveau framebuffer
> > and nouveau Xorg driver also works.
> 
> Awesome. Please confirm that you're using the nouveau 3d driver (you'll need
> at least mesa 10.2). Try running some semi-stressing 3d thing too? Not sure
> if you use gnome-shell or something. [glxgears isn't really enough, although
> it's a start.]

I'm using mesa 10.3.4 and glxinfo confirms that I'm using "Gallium 0.4 on
NV106" and not software rendering or nvidia binary driver. I can confirm that
glxgears, quake3-demo, and 0ad alpha 17 run fine. Everything looks like it
should.

Sorry, no gnome-shell here. I'm using the MATE Desktop Environment (good old
fast 2D stuff).

-- 
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


[Nouveau] [Bug 86935] [NV106] unknown kepler chipset 0x106

2014-12-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86935

--- Comment #7 from Sven  ---
(In reply to Ilia Mirkin from comment #6)
> (In reply to Sven from comment #5)
> > I will try to do the mmiotrace of the blob. Problem is, that the binary
> > nvidia drivers gives me a kernel OOPS. Yay!
> 
> D'oh! Maybe try a newer driver? If it oopses "later" rather than on load/X
> start, then that should be enough for a mmiotrace.

I'm on gentoo. I was using the newest nvidia driver. But I suspect the kernel
was too new. Anyhow, on the 3rd try it didn't oops. Trace has been emailed.

-- 
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