Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.

Autor Téma: Bumblebee a režim spánku  (Přečteno 2642 krát)

Martin 007

  • Návštěvník
  • *
  • Příspěvků: 9
    • Zobrazit profil
Bumblebee a režim spánku
« kdy: 10 Květen 2015, 10:16:15 »
PC: Asus K53SC-SX091
CPU: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
RAM 8GB
GPU: Nvidia GeForce GT 520MX
VRAM: 1GB

OS: Kubuntu 14.04 'Trusty Tahr'
Kernel: 3.13.0-24-generic

GPU Driver: nvidia-346 (instalovány také balíky: bumblebee bumblebee-nvidia primus  nvidia-modprobe)



Mám nainstalovány oficiální ovladače od NVidie a bumblebee a vždy po uspání (jak na do RAM, tak na disk) nemohu používat optirun ani primusrun

Výstup z terminálu:

Kód: [Vybrat]
martin@MartinuvPocitac:~$ dmesg
martin@MartinuvPocitac:~$ primusrun "/media/martin/Martin/Portable Program Files/Blender/blender" /media/martin/Martin/Martin/Plocha/untitled.blend
(Blender se spustil: )
connect failed: No such file or directory
Read new prefs: /home/martin/.config/blender/2.74/config/userpref.blend
found bundled python: /media/martin/Martin/Portable Program Files/Blender/2.74/python
read blend: /media/martin/Martin/Martin/Plocha/untitled.blend

Blender quit
martin@MartinuvPocitac:~$ dmesg
[ 3887.857763] bbswitch: enabling discrete graphics
[ 3888.347051] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 3888.348937] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[ 3888.348949] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  346.59  Tue Mar 31 14:10:31 PDT 2015
[ 3889.668857] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 3889.673881] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.673929] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.673953] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.673974] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.673995] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.674016] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.674091] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.674113] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3889.898856] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 3895.930869] nvidia_uvm: Loaded the UVM driver, major device number 250
martin@MartinuvPocitac:~$ sudo dmesg -C

(SPÁNEK (RAM) )

martin@MartinuvPocitac:~$ dmesg
[ 4046.363293] PM: Syncing filesystems ... done.
[ 4046.458613] PM: Preparing system for mem sleep
[ 4046.574119] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 4046.575608] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 4046.576728] PM: Entering mem sleep
[ 4046.576786] Suspending console(s) (use no_console_suspend to debug)
[ 4046.576978] wlan0: deauthenticating from f8:d1:11:4e:4d:68 by local choice (reason=3)
[ 4046.610495] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 4046.610505] cfg80211: Calling CRDA to update world regulatory domain
[ 4046.610602] sd 0:0:0:0: [sda] Stopping disk
[ 4047.222494] PM: suspend of devices complete after 645.216 msecs
[ 4047.222684] PM: late suspend of devices complete after 0.187 msecs
[ 4047.222892] r8169 0000:05:00.0: System wakeup enabled by ACPI
[ 4047.238364] xhci_hcd 0000:04:00.0: System wakeup enabled by ACPI
[ 4047.270402] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
[ 4047.286505] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
[ 4047.318364] PM: noirq suspend of devices complete after 95.624 msecs
[ 4047.318617] ACPI: Preparing to enter system sleep state S3
[ 4047.318810] PM: Saving platform NVS memory
[ 4047.319454] Disabling non-boot CPUs ...
[ 4047.320804] kvm: disabling virtualization on CPU1
[ 4047.422367] smpboot: CPU 1 is now offline
[ 4047.423958] kvm: disabling virtualization on CPU2
[ 4047.526420] smpboot: CPU 2 is now offline
[ 4047.526888] Broke affinity for irq 16
[ 4047.527931] kvm: disabling virtualization on CPU3
[ 4047.630478] smpboot: CPU 3 is now offline
[ 4047.631933] ACPI: Low-level resume complete
[ 4047.631974] PM: Restoring platform NVS memory
[ 4047.632451] Enabling non-boot CPUs ...
[ 4047.632489] x86: Booting SMP configuration:
[ 4047.632490] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 4047.643479] kvm: enabling virtualization on CPU1
[ 4047.645907] CPU1 is up
[ 4047.645925] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 4047.656921] kvm: enabling virtualization on CPU2
[ 4047.659327] CPU2 is up
[ 4047.659346] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 4047.670429] kvm: enabling virtualization on CPU3
[ 4047.672847] CPU3 is up
[ 4047.676455] ACPI: Waking up from system sleep state S3
[ 4047.724334] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[ 4047.756328] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[ 4047.804387] xhci_hcd 0000:04:00.0: System wakeup disabled by ACPI
[ 4047.820456] PM: noirq resume of devices complete after 141.252 msecs
[ 4047.820620] PM: early resume of devices complete after 0.127 msecs
[ 4047.820673] mei_me 0000:00:16.0: irq 49 for MSI/MSI-X
[ 4047.820797] usb usb3: root hub lost power or was reset
[ 4047.820799] usb usb4: root hub lost power or was reset
[ 4047.830519] r8169 0000:05:00.0: System wakeup disabled by ACPI
[ 4047.830700] xhci_hcd 0000:04:00.0: irq 41 for MSI/MSI-X
[ 4047.830710] xhci_hcd 0000:04:00.0: irq 42 for MSI/MSI-X
[ 4047.830719] xhci_hcd 0000:04:00.0: irq 43 for MSI/MSI-X
[ 4047.830725] xhci_hcd 0000:04:00.0: irq 44 for MSI/MSI-X
[ 4047.830730] xhci_hcd 0000:04:00.0: irq 45 for MSI/MSI-X
[ 4047.832508] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[ 4047.848960] [drm] Wrong MCH_SSKPD value: 0x16040307
[ 4047.848960] [drm] This can cause pipe underruns and display issues.
[ 4047.848961] [drm] Please upgrade your BIOS to fix this.
[ 4047.972522] r8169 0000:05:00.0 eth0: link down
[ 4048.044525] usb 1-1.4: reset high-speed USB device number 5 using ehci-pci
[ 4048.148476] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4048.152269] ata2.00: configured for UDMA/100
[ 4048.208613] usb 1-1.2: reset high-speed USB device number 4 using ehci-pci
[ 4049.093031] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 4049.553322] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4049.554875] ata1.00: ACPI cmd ef/90:06:00:00:00:00 (SET FEATURES) succeeded
[ 4049.554881] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 4049.554886] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 4049.557671] ata1.00: ACPI cmd ef/90:06:00:00:00:00 (SET FEATURES) succeeded
[ 4049.557677] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 4049.557682] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 4049.559006] ata1.00: configured for UDMA/133
[ 4049.573344] sd 0:0:0:0: [sda] Starting disk
[ 4049.633928] PM: resume of devices complete after 1812.289 msecs
[ 4049.634200] PM: Finishing wakeup.
[ 4049.634201] Restarting tasks ... done.
[ 4049.636429] video LNXVIDEO:00: Restoring backlight state
[ 4049.636663] video LNXVIDEO:01: Restoring backlight state
[ 4049.651732] cfg80211: World regulatory domain updated:
[ 4049.651738] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 4049.651741] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4049.651745] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4049.651747] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 4049.651750] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4049.651753] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 4050.695372] wlan0: authenticate with f8:d1:11:4e:4d:68
[ 4050.716329] wlan0: send auth to f8:d1:11:4e:4d:68 (try 1/3)
[ 4050.718794] wlan0: authenticated
[ 4050.722022] wlan0: associate with f8:d1:11:4e:4d:68 (try 1/3)
[ 4050.726393] wlan0: RX AssocResp from f8:d1:11:4e:4d:68 (capab=0x31 status=0 aid=1)
[ 4050.726472] wlan0: associated
[ 4050.726994] cfg80211: Calling CRDA for country: CZ
[ 4050.732978] ath: EEPROM regdomain: 0x80cb
[ 4050.732986] ath: EEPROM indicates we should expect a country code
[ 4050.732990] ath: doing EEPROM country->regdmn map search
[ 4050.732995] ath: country maps to regdmn code: 0x36
[ 4050.732999] ath: Country alpha2 being used: CZ
[ 4050.733002] ath: Regpair used: 0x36
[ 4050.733007] ath: regdomain 0x80cb dynamically updated by country IE
[ 4050.733053] cfg80211: Regulatory domain changed to country: CZ
[ 4050.733056] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 4050.733062] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 4050.733066] cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2301 mBm)
[ 4050.733070] cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 4050.733074] cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
[ 4050.733078] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
martin@MartinuvPocitac:~$ sudo dmesg -C
martin@MartinuvPocitac:~$ dmesg
martin@MartinuvPocitac:~$ primusrun "/media/martin/Martin/Portable Program Files/Blender/blender" /media/martin/Martin/Martin/Plocha/untitled.blend
(Blender se ani nespustil)
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Server terminated successfully (0). Closing log file.

martin@MartinuvPocitac:~$ dmesg
[ 4159.671207] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 4159.676284] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676331] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676355] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676376] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676397] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676418] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676493] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676515] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.676977] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4159.708748] NVRM: RmInitAdapter failed! (0x25:0x40:1270)
[ 4159.708758] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 4159.708784] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

(zkoušel jsem restartovat službu bumblebeed)

martin@MartinuvPocitac:~$ sudo service bumblebeed restart
bumblebeed stop/waiting
bumblebeed start/running, process 4441
martin@MartinuvPocitac:~$ primusrun "/media/martin/Martin/Portable Program Files/Blender/blender" /media/martin/Martin/Martin/Plocha/untitled.blend
(Blender se znovu ani nespustil)
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

martin@MartinuvPocitac:~$ dmesg
[ 4471.404829] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 4471.409988] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410035] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410059] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410081] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410101] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410122] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410198] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410220] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.410677] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 4471.440509] NVRM: RmInitAdapter failed! (0x25:0x40:1270)
[ 4471.440519] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 4471.440542] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

Prosím vás poraďte...Cokoliv...Na internetu jsem nenašel nic co by mi fungovalo, třeba budete úspěšnější, předem děkuji

marun

  • Stálý člen
  • ***
  • Příspěvků: 601
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #1 kdy: 10 Květen 2015, 11:17:24 »
bumblebee je tak trochu alchymie a černé magie
mě to na mém ntb funguje, ale mám no to svůj postup jak to nainstalovat tak aby to fungovalo napořád (začíná to čistou instalací ubuntu)

rozhodně ovladač nvidia instaluju z deb balíků zde https://launchpad.net/~mamarley/+archive/ubuntu/nvidia
a taky používám momentálně linux 4.0.1 na 3.13 není P-state (to kvuli CPU), na 3.16 mě něco blblo tak teď postupně beru jádra co vyjdou

můžeš skusit vše okole bumblebee a nvidie odinstalovat, restart, pokud chceš, změnit jádro, a nainstalovat vše okolo bumblebee a nvidie (nvidiu z ppa)

Martin 007

  • Návštěvník
  • *
  • Příspěvků: 9
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #2 kdy: 16 Květen 2015, 13:57:38 »
Upgrade kernelu mi bohužel nepomohl, také jsem zkoušel nainstalovat nejnovější distribuci (15.04) protože 14.10 mi nefunguje, ale ani to problém nevyřešilo.
Nějaké další nápady?
« Poslední změna: 16 Květen 2015, 14:22:18 od Martin 007 »

Martin 007

  • Návštěvník
  • *
  • Příspěvků: 9
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #3 kdy: 11 Červenec 2015, 18:47:45 »
Nemám nejmenší ponětí proč, ale zjistil jsem že to zase funguje, po probuzení můžu spustit blender, ale pokud zůstane běžet při uspávání, po probuzení přestane odpovídat a grafika pravděpodobně přestane renderovat (po minimalizaci a následné maximalizace je obsah okna dokonale průhledný). Napadá někoho způsob jak to vyřešit?
EDIT:
Při úpravě instalačního skriptu jsem patrně omylem smazal proměnnou verze NVidie, tudíž ovladač si nainstaloval bumblebee, takže abych mohl spouštět programy v bumblebee i po probuzení, musím použít nvidia-304...
« Poslední změna: 12 Červenec 2015, 11:33:03 od Martin 007 »

ntz_reloaded

  • Lokaj
  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 3727
  • skill :: ur home erly
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #4 kdy: 12 Červenec 2015, 15:14:46 »
ja snad tenhle thread prolinkuju do "jak se spravne ptat" jako priklad perfektne polozeneho dotazu
tikejte mi, taky Vam tikam ...
song of the day - openSUSE, openindiana, DuckDuckGo
The noise ain't noise anymore, who's to blame, WHO'S TO BLAME ??

Martin 007

  • Návštěvník
  • *
  • Příspěvků: 9
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #5 kdy: 12 Červenec 2015, 15:18:15 »
Ještě není vyřešený ten problém s nustností restartovat aplikaci po probuzení, pakliže mluvíte o mém minulém postu.

ntz_reloaded

  • Lokaj
  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 3727
  • skill :: ur home erly
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #6 kdy: 12 Červenec 2015, 21:58:55 »
Ještě není vyřešený ten problém s nustností restartovat aplikaci po probuzení, pakliže mluvíte o mém minulém postu.
jenom jsem zminil to, ze ten dotaz byl dobre polozeny ...

bohuzel nemohu pomoct ...

a) nepouzivam bumblebee ani primus (ackoliv mam laptop se dvema grafikama)
b) nepouzivam proprietalni nvidia driver (mam nouveau)
tikejte mi, taky Vam tikam ...
song of the day - openSUSE, openindiana, DuckDuckGo
The noise ain't noise anymore, who's to blame, WHO'S TO BLAME ??

Martin 007

  • Návštěvník
  • *
  • Příspěvků: 9
    • Zobrazit profil
Re:Bumblebee a režim spánku
« Odpověď #7 kdy: 13 Červenec 2015, 09:28:46 »
Tak jsem na bumblebee wiki náhodou našel parametr --no-xorg pro CUDA programy a po spuštění blenderu přes optirun --no-xorg bylo okno blenderu po probuzení úplně v pořádku, ale bohužel moje Intelovská grafika má velmi špatný výkon, takže takhle by to moc nešlo... Zdá se, že chyba je někde v X či komunikaci s X, nevíte někdo?