Bumblebee-SlackBuilds - greška kod izgradnje paketa

Imate problem sa grafičkom karticom, monitorom, periferijama... ovo je mesto za vas

Moderator: Urednik


Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 2168
Joined: 08 Jun 2010, 13:28
Location: Centralna Srbija Kraljevo
Contact:

Post Napisano: 11 Aug 2013, 15:14


Nema nikakavih problema u radu.
Baci pogled na rezultate na staroj bumblebee skript 3.0.1 i na novoj 3.2.1
3.0.1

Code: Select all

bash-4.2# optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 525M/PCIe/SSE2
115.804287 frames/sec - 129.237585 Mpixels/sec
119.124051 frames/sec - 132.942441 Mpixels/sec
117.413947 frames/sec - 131.033965 Mpixels/sec
117.219228 frames/sec - 130.816658 Mpixels/sec
118.769798 frames/sec - 132.547094 Mpixels/sec
119.870279 frames/sec - 133.775231 Mpixels/sec
120.865786 frames/sec - 134.886218 Mpixels/sec
119.683421 frames/sec - 133.566698 Mpixels/sec
120.643532 frames/sec - 134.638182 Mpixels/sec
117.977512 frames/sec - 131.662903 Mpixels/sec
121.347834 frames/sec - 135.424183 Mpixels/sec
118.755711 frames/sec - 132.531373 Mpixels/sec
118.466572 frames/sec - 132.208694 Mpixels/sec
119.800233 frames/sec - 133.697060 Mpixels/sec
118.027082 frames/sec - 131.718223 Mpixels/sec
115.268079 frames/sec - 128.639176 Mpixels/sec
i na ovoj novoj 3.2.1 ali kasnije su usledili problemi (posle restarta)

Code: Select all

bash-4.2$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 525M/PCIe/SSE2
148.844078 frames/sec - 166.109991 Mpixels/sec
141.703700 frames/sec - 158.141329 Mpixels/sec
149.237170 frames/sec - 166.548682 Mpixels/sec
150.738738 frames/sec - 168.224432 Mpixels/sec
151.307561 frames/sec - 168.859239 Mpixels/sec
153.708677 frames/sec - 171.538884 Mpixels/sec
152.076160 frames/sec - 169.716994 Mpixels/sec
152.649663 frames/sec - 170.357024 Mpixels/sec
151.221628 frames/sec - 168.763337 Mpixels/sec
149.968118 frames/sec - 167.364420 Mpixels/sec
151.967528 frames/sec - 169.595761 Mpixels/sec
151.670036 frames/sec - 169.263760 Mpixels/sec
151.745961 frames/sec - 169.348493 Mpixels/sec
152.848800 frames/sec - 170.579261 Mpixels/sec
148.304552 frames/sec - 165.507880 Mpixels/sec
134.775043 frames/sec - 150.408947 Mpixels/sec
146.178350 frames/sec - 163.135038 Mpixels/sec
Ili pod root nalogom sada

Code: Select all

bash-4.2# optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Indirect
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
63.053001 frames/sec - 70.367149 Mpixels/sec
59.981188 frames/sec - 66.939005 Mpixels/sec
60.002760 frames/sec - 66.963080 Mpixels/sec
60.003987 frames/sec - 66.964450 Mpixels/sec
60.007329 frames/sec - 66.968179 Mpixels/sec
60.002831 frames/sec - 66.963159 Mpixels/sec
59.998646 frames/sec - 66.958489 Mpixels/sec
A kada pokrenem optirun primus pod root nalogom dobijem ovu grešku

Code: Select all

bash-4.2# optirun primus
[ 2883.426280] [ERROR]Error running "primus": No such file or directory
bash-4.2# optirun primus
I možda primećuješ da on daje neke greške kod optirun glxspheres i kod primusrun glxgears
Da sam znao, vala ne bih ni dirao ništa.

Ne znam da li bi bilo nekih efekata ako bi sve iz početka deinstalirao i ovom metodom sa compat32 izgradio Mesa drajver.
Ili barem ono što ide posle Mesa drajvera po ovom uputstvu
http://docs.slackware.com/howtos:hardwa ... ia_optimus" onclick="window.open(this.href);return false;

Ima još jedno pitanje. Jel' može on da radi bez Mesa drajvera, odnosno samo sa Mesa drajverima sa čim dolazi instaliran Slekver.
Znači da taj korak sa Mesa drajverom jednostavno preskočim, ili ima uticaja?



Poznata ličnost
Poznata ličnost
offline

Posts: 99
Joined: 12 Jan 2012, 10:22
Location: Novi Sad

Post Napisano: 11 Aug 2013, 15:46


Aha, ne pratim na casu dovoljno. :azn:
Ako problemi nastaju posle restarta, mozda ne ucitava module. Da li si odradio:

Code: Select all

chmod +x /etc/rc.d/rc.bumblebeed
i dodao u /etc/rc.d/rc.local:

Code: Select all

if [ -x /etc/rc.d/rc.bumblebeed ]; then
  /etc/rc.d/rc.bumblebeed start
fi
Ako da, proveri da li ima neke greske na kraju izlaza komande:

Code: Select all

# dmesg
Takodje, proveri rezultate sa:

Code: Select all

vblank_mode=0 optirun glxspheres



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 2168
Joined: 08 Jun 2010, 13:28
Location: Centralna Srbija Kraljevo
Contact:

Post Napisano: 11 Aug 2013, 16:12


Isto daje na vblank_mode=0 optirun glxspheres

Code: Select all

bash-4.2$ vblank_mode=0 optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Indirect
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
63.184537 frames/sec - 70.513943 Mpixels/sec
59.983775 frames/sec - 66.941893 Mpixels/sec
60.001639 frames/sec - 66.961829 Mpixels/sec
60.018257 frames/sec - 58.880520 Mpixels/sec
60.010522 frames/sec - 56.972189 Mpixels/sec
59.996145 frames/sec - 56.958540 Mpixels/sec
bash-4.2$
Ovo što si naveo sam sve uradio još u samom startu kada sam instalirao.
I pali se bumblebeed pri startu, tačno osetim po ventilatoru kada ga pokrene.

Evo i dmesg izlaza

Code: Select all

[   10.643253] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[   77.658237] ata1: EH complete
[   81.192563] EXT4-fs (sda8): re-mounted. Opts: commit=0
[   81.194784] EXT4-fs (sda5): re-mounted. Opts: commit=0
[   81.196143] EXT4-fs (sda6): re-mounted. Opts: commit=0
[ 2816.145609] bbswitch: enabling discrete graphics
[ 2816.668855] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2816.668865] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2816.668886] pci 0000:01:00.0: restoring config space at offset 0xc (was 0x0, writing 0xf6000000)
[ 2816.668892] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 2816.668897] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 2816.668902] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 2816.668907] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 2816.668911] pci 0000:01:00.0: restoring config space at offset 0x3 (was 0x800000, writing 0x800010)
[ 2816.668916] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 2816.668931] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2816.668935] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2816.668943] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2816.668947] pci 0000:01:00.0: setting latency timer to 64
[ 2816.721439] nvidia 0000:01:00.0: setting latency timer to 64
[ 2816.721445] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 2816.721556] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 2818.066469] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 2843.382141] bbswitch: disabling discrete graphics
[ 2843.382412] pci 0000:01:00.0: PCI INT A disabled
[ 2843.393009] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 2843.393259] pci 0000:01:00.0: power state changed by ACPI to D3
[ 2876.571578] bbswitch: enabling discrete graphics
[ 2877.094883] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2877.094893] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2877.094916] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 2877.094922] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 2877.094927] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 2877.094931] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 2877.094937] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 2877.094952] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2877.094956] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2877.094963] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2877.094968] pci 0000:01:00.0: setting latency timer to 64
[ 2877.132677] nvidia 0000:01:00.0: setting latency timer to 64
[ 2877.132683] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 2877.132795] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 2877.148529] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 2879.402728] bbswitch: disabling discrete graphics
[ 2879.403047] pci 0000:01:00.0: PCI INT A disabled
[ 2879.413352] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 2879.413591] pci 0000:01:00.0: power state changed by ACPI to D3
[ 2889.947125] bbswitch: enabling discrete graphics
[ 2890.469947] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2890.469956] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2890.469980] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 2890.469985] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 2890.469990] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 2890.469994] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 2890.470000] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 2890.470016] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2890.470019] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2890.470028] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2890.470032] pci 0000:01:00.0: setting latency timer to 64
[ 2890.506519] nvidia 0000:01:00.0: setting latency timer to 64
[ 2890.506527] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 2890.506635] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 2890.522522] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 2892.795290] bbswitch: disabling discrete graphics
[ 2892.795568] pci 0000:01:00.0: PCI INT A disabled
[ 2892.806406] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 2892.806662] pci 0000:01:00.0: power state changed by ACPI to D3
[ 3388.267764] bbswitch: enabling discrete graphics
[ 3388.789733] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3388.789742] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3388.789765] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 3388.789771] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 3388.789776] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 3388.789780] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 3388.789786] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 3388.789801] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3388.789805] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3388.789813] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 3388.789817] pci 0000:01:00.0: setting latency timer to 64
[ 3388.828302] nvidia 0000:01:00.0: setting latency timer to 64
[ 3388.828310] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 3388.828425] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 3388.845834] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 3421.276715] bbswitch: disabling discrete graphics
[ 3421.276989] pci 0000:01:00.0: PCI INT A disabled
[ 3421.287277] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 3421.287537] pci 0000:01:00.0: power state changed by ACPI to D3
[ 3953.736982] bbswitch: enabling discrete graphics
[ 3954.259493] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3954.259502] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3954.259523] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 3954.259527] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 3954.259532] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 3954.259535] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 3954.259540] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 3954.259554] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3954.259557] pci 0000:01:00.0: power state changed by ACPI to D0
[ 3954.259563] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 3954.259567] pci 0000:01:00.0: setting latency timer to 64
[ 3954.299582] nvidia 0000:01:00.0: setting latency timer to 64
[ 3954.299588] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 3954.299681] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 3954.322833] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 3963.309100] bbswitch: disabling discrete graphics
[ 3963.309349] pci 0000:01:00.0: PCI INT A disabled
[ 3963.319952] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 3963.320151] pci 0000:01:00.0: power state changed by ACPI to D3
[ 6520.513165] bbswitch: enabling discrete graphics
[ 6521.036479] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6521.036489] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6521.036512] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 6521.036517] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 6521.036522] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 6521.036527] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 6521.036533] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 6521.036548] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6521.036552] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6521.036560] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 6521.036564] pci 0000:01:00.0: setting latency timer to 64
[ 6521.074791] nvidia 0000:01:00.0: setting latency timer to 64
[ 6521.074799] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 6521.075156] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 6521.091179] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 6536.227598] bbswitch: disabling discrete graphics
[ 6536.227862] pci 0000:01:00.0: PCI INT A disabled
[ 6536.238772] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 6536.239027] pci 0000:01:00.0: power state changed by ACPI to D3
[ 6879.322643] bbswitch: enabling discrete graphics
[ 6879.845063] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6879.845072] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6879.845096] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0x10280b01, writing 0xe001)
[ 6879.845101] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0x2800000c, writing 0xf000000c)
[ 6879.845106] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xe000000c)
[ 6879.845110] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0x1000000, writing 0xf5000000)
[ 6879.845116] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0x100003, writing 0x100007)
[ 6879.845132] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6879.845135] pci 0000:01:00.0: power state changed by ACPI to D0
[ 6879.845143] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 6879.845147] pci 0000:01:00.0: setting latency timer to 64
[ 6879.882273] nvidia 0000:01:00.0: setting latency timer to 64
[ 6879.882281] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 6879.882403] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.08  Wed Jun 26 19:29:45 PDT 2013
[ 6879.900798] nvidia 0000:01:00.0: irq 56 for MSI/MSI-X
[ 6896.753331] bbswitch: disabling discrete graphics
[ 6896.753513] pci 0000:01:00.0: PCI INT A disabled
[ 6896.763796] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 6896.764046] pci 0000:01:00.0: power state changed by ACPI to D3
bash-4.2# 



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 2168
Joined: 08 Jun 2010, 13:28
Location: Centralna Srbija Kraljevo
Contact:

Post Napisano: 13 Aug 2013, 10:30


Zero, vidi ove rezultate sa primusom

Code: Select all

bash-4.2$ vblank_mode=0 primusrun glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
8054 frames in 5.0 seconds = 1610.697 FPS
8214 frames in 5.0 seconds = 1642.689 FPS
8197 frames in 5.0 seconds = 1639.189 FPS
8222 frames in 5.0 seconds = 1644.079 FPS
8245 frames in 5.0 seconds = 1648.825 FPS
8272 frames in 5.0 seconds = 1654.250 FPS
8149 frames in 5.0 seconds = 1629.737 FPS
8221 frames in 5.0 seconds = 1643.594 FPS
8215 frames in 5.0 seconds = 1642.781 FPS
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  137 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x4400002
  Serial number of failed request:  75259
  Current serial number in output stream:  75259
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 29 requests (29 known processed) with 0 events remaining.
E ovo je već kako bi trebalo da bude, kada se podeli ispada oko 320 FPS u sekundi, što odgovara mogućnostima ove grafičke karte.
Ali u radu, recimo pokušao sam da snimim nešto sa ffmpeg-om, snimak je jako loš (nejasan), a ako pogledaš moje pređašnje snimke, videćeš da je slika jako dobrog kvaliteta, isto je sve snimano preko ffmpeg sintakse.



Poznata ličnost
Poznata ličnost
offline

Posts: 99
Joined: 12 Jan 2012, 10:22
Location: Novi Sad

Post Napisano: 13 Aug 2013, 19:49


Nazalost ne znam vise sta da ti odgovorim. Oko problema sa izgradnjom paketa sam mogao pomoci, ali nemam karticu na kojoj bih mogao testirati performanse. :(



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 2168
Joined: 08 Jun 2010, 13:28
Location: Centralna Srbija Kraljevo
Contact:

Post Napisano: 13 Aug 2013, 20:42


Ok, hvala i za ovo druže. :beer:


Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests