You are not logged in.

#1 2015-03-27 10:26:03

diraimondo
Member
Registered: 2014-03-28
Posts: 61

nouveau driver on 3.19.2

Hi all,
I got a Sony Vaio VPCZ13M9E with a double video card (Intel + nvidia). I daily use only the Intel card. Until kernel 3.18.6-1-ARCH I was able to use vga_switcheroo to automatically deactivate the nvidia card (nouveau driver, no proprietary driver installed). Since the upgrade to kernel 3.19.2-1-ARCH the nouveau driver stopped to work, so vga_switcheroo doesn't disable the hardware card and my system power usage goes up! sad

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 330M] (rev a2)

this is using kernel 3.18.2:

mar 19 09:59:00 gandalf kernel: VGA switcheroo: detected DSM switching method \_SB_.PCI0.P0P2.DGPU handle [0/1823]
mar 19 09:59:00 gandalf kernel: nouveau 0000:01:00.0: enabling device (0004 -> 0007)
mar 19 09:59:00 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0a5580a2
mar 19 09:59:00 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] Chipset: GT216 (NVA5)
mar 19 09:59:00 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] Family : NV50
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] ... signature not found
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] checking PROM for image...
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] ... signature not found
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] checking ACPI for image...
mar 19 09:59:00 gandalf kernel: Switched to clocksource tsc
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] using image from ACPI
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] BIT signature found
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] version 70.16.67.00.04
mar 19 09:59:00 gandalf kernel: nouveau  [ DEVINIT][0000:01:00.0] adaptor not initialised
mar 19 09:59:00 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] running init tables
mar 19 09:59:00 gandalf kernel: nouveau 0000:01:00.0: irq 26 for MSI/MSI-X
mar 19 09:59:00 gandalf kernel: nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
mar 19 09:59:00 gandalf kernel: nouveau  [     PFB][0000:01:00.0] RAM type: DDR3
mar 19 09:59:00 gandalf kernel: nouveau  [     PFB][0000:01:00.0] RAM size: 1024 MiB
mar 19 09:59:00 gandalf kernel: nouveau  [     PFB][0000:01:00.0]    ZCOMP: 1920 tags
mar 19 09:59:00 gandalf kernel: nouveau  [    VOLT][0000:01:00.0] GPU voltage: 1100000uv
mar 19 09:59:00 gandalf kernel: nouveau  [  PTHERM][0000:01:00.0] FAN control: none / external
mar 19 09:59:00 gandalf kernel: nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
mar 19 09:59:00 gandalf kernel: nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
mar 19 09:59:00 gandalf kernel: nouveau  [     CLK][0000:01:00.0] 03: core 135 MHz shader 270 MHz memory 135 MHz
mar 19 09:59:00 gandalf kernel: nouveau  [     CLK][0000:01:00.0] 07: core 405 MHz shader 810 MHz memory 324 MHz
mar 19 09:59:00 gandalf kernel: nouveau  [     CLK][0000:01:00.0] 0f: core 450 MHz shader 990 MHz memory 700 MHz
mar 19 09:59:00 gandalf kernel: nouveau  [     CLK][0000:01:00.0] --: core 405 MHz shader 810 MHz memory 324 MHz
mar 19 09:59:00 gandalf kernel: vga_switcheroo: enabled
mar 19 09:59:00 gandalf kernel: [TTM] Zone  kernel: Available graphics memory: 3922376 kiB
mar 19 09:59:00 gandalf kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
mar 19 09:59:00 gandalf kernel: [TTM] Initializing pool allocator
mar 19 09:59:00 gandalf kernel: [TTM] Initializing DMA pool allocator
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] VRAM: 1024 MiB
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] GART: 1048576 MiB
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] TMDS table version 2.0
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB version 4.0
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB outp 00: 02000300 00000000
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB outp 01: 048113b6 0f220014
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB outp 02: 02002362 00020010
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB outp 03: 08003382 00000010
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 00: 00000000
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 01: 00020147
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 02: 00010261
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 03: 01000331
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 04: 00002430
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] DCB conn 05: 00000560
mar 19 09:59:00 gandalf kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
mar 19 09:59:00 gandalf kernel: [drm] Driver supports precise vblank timestamp query.
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] MM: using COPY for buffer copies
mar 19 09:59:00 gandalf kernel: nouveau 0000:01:00.0: No connectors reported connected with modes
mar 19 09:59:00 gandalf kernel: [drm] Cannot find any crtc or sizes - going 1024x768
mar 19 09:59:00 gandalf kernel: nouveau  [     DRM] allocated 1024x768 fb: 0x70000, bo ffff88008e934400
mar 19 09:59:00 gandalf kernel: nouveau 0000:01:00.0: fb1: nouveaufb frame buffer device
mar 19 09:59:00 gandalf kernel: [drm] Initialized nouveau 1.2.1 20120801 for 0000:01:00.0 on minor 1

this is using kernel 3.19.2:

mar 24 21:47:11 gandalf kernel: nouveau 0000:01:00.0: enabling device (0004 -> 0007)
mar 24 21:47:11 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0a5580a2
mar 24 21:47:11 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] Chipset: GT216 (NVA5)
mar 24 21:47:11 gandalf kernel: nouveau  [  DEVICE][0000:01:00.0] Family : NV50
mar 24 21:47:11 gandalf kernel: Switched to clocksource tsc
mar 24 21:47:11 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] using image from ACPI
mar 24 21:47:11 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] BIT signature found
mar 24 21:47:11 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] version 70.16.67.00.04
mar 24 21:47:11 gandalf kernel: nouveau W[   VBIOS][0000:01:00.0] DCB contains no useful data
mar 24 21:47:11 gandalf kernel: nouveau W[   VBIOS][0000:01:00.0] DCB contains no useful data
mar 24 21:47:11 gandalf kernel: nouveau  [ DEVINIT][0000:01:00.0] adaptor not initialised
mar 24 21:47:11 gandalf kernel: nouveau  [   VBIOS][0000:01:00.0] running init tables
mar 24 21:47:11 gandalf kernel: nouveau E[   VBIOS][0000:01:00.0] 0x8534[0]: unknown opcode 0x00
mar 24 21:47:11 gandalf kernel: nouveau E[ DEVINIT][0000:01:00.0] init failed, -22
mar 24 21:47:11 gandalf kernel: nouveau E[     DRM] failed to create 0x00000080, -22
mar 24 21:47:11 gandalf kernel: nouveau: probe of 0000:01:00.0 failed with error -22
$ sudo ls -l /sys/kernel/debug/vgaswitcheroo/
ls: cannot access /sys/kernel/debug/vgaswitcheroo/: No such file or directory

Following indications found on https://wiki.freedesktop.org/nouveau/Tr … #index10h3, I've tried with specific kernel parameters like nouveau.config=NvBios=PROM or nouveau.config=NvBios=PRAMIN without joy.

I will open a formal bug report but first I would try to ask in this forum.

Thanks.

Offline

#2 2015-03-27 11:19:57

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: nouveau driver on 3.19.2

Did you follow try Hybrid Graphics wiki?

Perhaps your solution lies under  Bumblebee or hybrid-windump.


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#3 2015-03-27 11:47:33

diraimondo
Member
Registered: 2014-03-28
Posts: 61

Re: nouveau driver on 3.19.2

jackpot wrote:

Did you follow try Hybrid Graphics wiki?

Perhaps your solution lies under  Bumblebee or hybrid-windump.

My configuration worked well until the kernel upgrade. The error is not strictly related to the vga_switcheroo (that is automatically activated by vanilla kernel when two video drivers supporting PM are used): it is a consequence.
This looks a problem of initialization of the nouveau driver.

Using open-souce drivers (intel + nouveau) few changes are strictly required:

cat /etc/mkinitcpio.conf | grep '^MODULES'
MODULES="i915 nouveau crc32c-intel btrfs"
mkinitcpio -p linux

Offline

#4 2015-03-28 14:47:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,655

Re: nouveau driver on 3.19.2

diraimondo wrote:

I don't think you meant to report that -- perhaps you hit report instead of reply


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2015-03-28 19:24:21

diraimondo
Member
Registered: 2014-03-28
Posts: 61

Re: nouveau driver on 3.19.2

ewaller wrote:
diraimondo wrote:

I don't think you meant to report that -- perhaps you hit report instead of reply

Yes, sorry. Wrong button!

Offline

Board footer

Powered by FluxBB