You are not logged in.

#1 2016-01-25 06:30:30

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

The Intel video card performs better than Nvidia one

My cards:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)

vblank_mode=0 glxgears

2685 frames in 5.0 seconds = 536.985 FPS
2720 frames in 5.0 seconds = 543.852 FPS
2684 frames in 5.0 seconds = 536.603 FPS

vblank_mode=0 optirun -b primus glxgears

535 frames in 5.0 seconds = 106.976 FPS
534 frames in 5.0 seconds = 106.798 FPS
533 frames in 5.0 seconds = 106.492 FPS

Is it a bumblebee configuration fault or what?

Last edited by HaCk3D (2016-01-25 06:31:06)

Offline

#2 2016-01-25 08:43:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

glxgears is not exactly a reasonable benchmark. Look up how a benchmark works.

Online

#3 2016-01-25 09:26:42

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

Awebb wrote:

glxgears is not exactly a reasonable benchmark. Look up how a benchmark works.

ive posted here the results like an example, games are doing awful too

Last edited by HaCk3D (2016-01-25 09:28:33)

Offline

#4 2016-01-25 15:05:15

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

I see. Which drivers do you use? Nvidia or nouveau?

Online

#5 2016-01-26 03:24:53

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

Awebb wrote:

I see. Which drivers do you use? Nvidia or nouveau?

nvidia-dkms + bumblebee + optirun + bbswitch-dkms

Last edited by HaCk3D (2016-01-26 04:39:27)

Offline

#6 2016-01-26 09:15:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

Rule out a DKMS problem. Then post your relevant config files.

Online

#7 2016-01-26 10:21:31

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

Awebb wrote:

Rule out a DKMS problem. Then post your relevant config files.

The problem is in bumblebee:

systemctl status bumblebeed.service -l
bumblebeed[385]: [19798.426482] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
bumblebeed[385]: [19798.426780] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
bumblebeed[385]: [19798.426797] [ERROR][XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
bumblebeed[385]: [19798.426802] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
bumblebeed[385]: [19798.426806] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
bumblebeed[385]: [19798.426822] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
bumblebeed[385]: [19798.426839] [ERROR][XORG] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
bumblebeed[385]: [19798.426846] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
bumblebeed[385]: rmmod: ERROR: Module nvidia is in use by: nvidia_modeset nvidia_uvm
bumblebeed[385]: [19895.822389] [ERROR]Unloading nvidia driver timed out.

Last edited by HaCk3D (2016-01-26 10:22:40)

Offline

#8 2016-01-26 12:44:17

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

What I was saying is, that I had trouble running bumblebee with DKMS nvidia on my GTX 970m Optimus setup at all. Test the default nvidia package and post those config files, especially the bumblebee config and whatever X confog files you have created.

Online

#9 2016-01-27 05:00:54

jocheem67
Member
Registered: 2009-11-09
Posts: 243

Re: The Intel video card performs better than Nvidia one

Offline

#10 2016-01-27 12:29:42

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

jocheem67 wrote:

Srs? Do rly u think that im a "that type" of linux users? big_smile

Offline

#11 2016-01-27 12:44:09

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

I do now. I had to pull every single booger out of your nose so far.

Online

#12 2016-01-27 14:02:39

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

Awebb wrote:

What I was saying is, that I had trouble running bumblebee with DKMS nvidia on my GTX 970m Optimus setup at all. Test the default nvidia package and post those config files, especially the bumblebee config and whatever X confog files you have created.

/etc/bumblebee/bumblebee.conf
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=
XorgConfDir=/etc/bumblebee/xorg.conf.d

[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
AllowFallbackToIGC=false

[driver-nvidia]
KernelDriver=nvidia
PMMethod=auto
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

I have no X config in

/etc/bumblebee/xorg.conf.d

just empty 10-dummy.conf file

Offline

#13 2016-01-27 14:04:26

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

Awebb wrote:

I do now. I had to pull every single booger out of your nose so far.

Coz i dont know what configs do I need to share and how to fix it

Btw, nvidia is always on after using:

cat /proc/acpi/bbswitch
0000:01:00.0 ON

Last edited by HaCk3D (2016-01-27 14:07:23)

Offline

#14 2016-01-27 14:45:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: The Intel video card performs better than Nvidia one

This is a bug with the new modules the new nvidia driver brings and the way bumblebee interacts with them AFAIK there's no real correct fix yet, look into https://bugs.archlinux.org/task/47140 and https://github.com/Bumblebee-Project/Bu … issues/719

Offline

#15 2016-01-29 22:34:51

telis80
Member
Registered: 2015-03-26
Posts: 96

Re: The Intel video card performs better than Nvidia one

You really freaked me out, i tested glxgears in my own laptop and the result is frightening:

vblank_mode=0 glxgears

 33272 frames in 5.0 seconds = 6654.131 FPS
37422 frames in 5.0 seconds = 7484.220 FPS
37462 frames in 5.0 seconds = 7492.226 FPS

vblank_mode=0 optirun -b primus glxgears

4593 frames in 5.0 seconds = 918.522 FPS
4881 frames in 5.0 seconds = 976.056 FPS
4858 frames in 5.0 seconds = 971.501 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 31 requests (31 known processed) with 0 events remaining.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  153 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x1e00002
  Serial number of failed request:  30796
  Current serial number in output stream:  30797
primus: warning: timeout waiting for display worker

The error happened when i pressed ctrl+c. This is something that arch has to fix, but why glxspheres show better results with the card? Can we somehow get the most of the nvidia cards?


I live at the Internet
-Edward Snowden

Offline

#16 2016-01-30 04:13:45

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

telis80 wrote:

You really freaked me out, i tested glxgears in my own laptop and the result is frightening:

vblank_mode=0 glxgears

 33272 frames in 5.0 seconds = 6654.131 FPS
37422 frames in 5.0 seconds = 7484.220 FPS
37462 frames in 5.0 seconds = 7492.226 FPS

vblank_mode=0 optirun -b primus glxgears

4593 frames in 5.0 seconds = 918.522 FPS
4881 frames in 5.0 seconds = 976.056 FPS
4858 frames in 5.0 seconds = 971.501 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 31 requests (31 known processed) with 0 events remaining.
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  153 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x1e00002
  Serial number of failed request:  30796
  Current serial number in output stream:  30797
primus: warning: timeout waiting for display worker

The error happened when i pressed ctrl+c. This is something that arch has to fix, but why glxspheres show better results with the card? Can we somehow get the most of the nvidia cards?

Do u have the same performance in games btw?

Offline

#17 2016-01-30 13:34:05

telis80
Member
Registered: 2015-03-26
Posts: 96

Re: The Intel video card performs better than Nvidia one

I play world of warcraft and FM 15 in this laptop. WoW with nvidia performance in Medium graphics is not good(I have an Nvidia GeForce 940M). For this card it should have really good performance. In FM you can;t tell the difference because the game is not measuring fps. I believe this is caused because arch has not searched very well the technology optimus with the two cards. I use the computer for programming, but i like playing WoW at times. I hope someone more experienced can help us with that problem.


I live at the Internet
-Edward Snowden

Offline

#18 2016-01-30 13:36:51

HaCk3D
Member
Registered: 2015-03-09
Posts: 12

Re: The Intel video card performs better than Nvidia one

telis80 wrote:

I play world of warcraft and FM 15 in this laptop. WoW with nvidia performance in Medium graphics is not good(I have an Nvidia GeForce 940M). For this card it should have really good performance. In FM you can;t tell the difference because the game is not measuring fps. I believe this is caused because arch has not searched very well the technology optimus with the two cards. I use the computer for programming, but i like playing WoW at times. I hope someone more experienced can help us with that problem.

So do I: mostly coding and gaming sometimes, but it was working perfect before i reinstalled my Arch. Need to resolve the issue

Offline

#19 2016-01-30 14:21:27

Awebb
Member
Registered: 2010-05-06
Posts: 6,275

Re: The Intel video card performs better than Nvidia one

I don't want to be a party pooper, but you need to work on your bug fixing and communication with people willing to help. V1del has provided you with information regarding the bug, you did not reply to him or take his information into consideration. I also asked you, whether you already had ruled out DKMS as a source of bugs, which you ignored.

Please install the default nvidia driver instead of the DKMS package and see whether your frame rate recovers. If so, you need to live with low performance or use the default nvidia module until the bumblebee developers (or the nvidia developers) have solved the issue.

Online

#20 2016-01-30 15:33:31

telis80
Member
Registered: 2015-03-26
Posts: 96

Re: The Intel video card performs better than Nvidia one

I do also have dkms installed, but no errors here. Look the huge difference in fps, its not right. I have done everything thats been said in wiki for optimus systems but no correct fix hmm


I live at the Internet
-Edward Snowden

Offline

Board footer

Powered by FluxBB