Code: Select all
# cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
reg01: base=0x200000000 ( 8192MB), size= 512MB, count=1: write-back
reg02: base=0x220000000 ( 8704MB), size= 256MB, count=1: write-back
reg03: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg04: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: uncachable
reg05: base=0x0cc000000 ( 3264MB), size= 64MB, count=1: uncachable
reg06: base=0x0cb800000 ( 3256MB), size= 8MB, count=1: uncachable
reg07: base=0x22f800000 ( 8952MB), size= 8MB, count=1: uncachable
reg08: base=0x22f600000 ( 8950MB), size= 2MB, count=1: uncachable
Shite ... I completely forgot that.You should have warned me that includes mouse and keyboard![]()
Should be. You can check out with sudo lspci -k | grep i915 -n2. If you got some output, it should be functional.So, the intel part should be built into the kernel rather than be there as a module. I think that is ok, but I am not sure about it.
Nah, VoidMage is right again. :p I am german and read it as 66 KB, not as 66xxx KB => 66 MB. Stupid me.I agree, it looks small, but that's all I could find with emerge --search.
Code: Select all
eselect opengl list
Code: Select all
Ok, I adjusted my xorg.conf for the nvidia part. I am a bit confused with this as it was mentioned to focus on the intel first. So, I thought that the nvidia driver should not yet matter. Do I need the nvidia driver to run opengl on the intel chip?
Code: Select all
# glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
Error: couldn't find RGB GLX visual or fbconfig
Segmentation fault
Code: Select all
eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11Code: Select all
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
EndSection
#Section "ServerFlags"
# Option "AutoAddDevices" "false"
#EndSection
#Section "DRI"
# Group 0
# Mode 0666
#EndSection
Section "Extensions"
Option "Composite" "Enabled"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "dri"
# Load "glamoregl"
EndSection
Section "Device"
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:2:0"
# Option "AccelMethod" "glamour"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Option "UseDisplayDevice" "none"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Option "UseDisplayDevice" "none"
EndSectionYes. At least that is the apparent problem. I don't care how but what I would like to see is a working system. I should be able to run desktop effects and use the nvidia chip for the heavier lifting. Right now no matter what, I can not get the intel chip to use opengl. With bumblebee I have at least the nvidia chip working even though it's performance could be better. But I don't care too much about performance I want usability.Well, I thought it was about getting your Intel driver running with GL support as well, since your optimus ran with it as well.

Dude ... I have been telling you this for ages:motaito wrote:I done some more reading but I am not sure whether I get the point right. Could it be that nvidia loads it's own opengl libraries where as the intel chip would need different ones. So the intel chip can not find/load the library needed. If that would be the case, can I install the proper library for the intel chip? And how would I let the intel chip know where to load them?
BTW, the nvidia driver comes with it's own OpenGL libs. The intel driver uses the GL libraries from the Mesa project, the nvidia driver uses the proprietary ones.
This error message usually indicates some problem with the nvidia driver - which brings me to the question why you are loading nvidia driver parts when you are first trying to get your intel chip running with Mesa GL.
So let me get this straight: The intel driver only works with Mesa OpenGL, the nvidia chip only with nVidia OpenGL.Yet I agree that this was once a tripping stone for me on Arch Linux, because I couldn't install both GL packages (Mesa and nVidia) at the same time. That was around the time when I learned to do it manually - and I never really got into the eselect stuff as well.
As far as I can tell, Xorg tries to load the GL lib from /usr/lib/xorg/modules/extensions/libglx.so. I have yet to find a way to specify which GL lib to load for which driver. I am afraid that won't be possible, and I will have to resort to some weird half-bumblebee-configuration using two XServers.If that would be the case, can I install the proper library for the intel chip? And how would I let the intel chip know where to load them?
Code: Select all
eselect opengl set 2
You are right. Sorry about that. My text was written very badly, late at night and in frustration. Please note that english is not my native language and that I am slightly dyslexic. I completely messed that text up. Normaly my posts are longer for that very reason. I try to make sure my point gets across the way it is meant. Well, that doesn't always work as intendedDude ... I have been telling you this for ages:
By that logic, if the intel chip needs it's own library and the nvidia chip needs another library, should it then not be possible to install both of them and have each load it's own corresponding library?...Sub-slots allow a package to trigger slot-operator rebuilds without needing to explicitly re-SLOT (and therefore allow concurrent installation of) different versions...
I have yet to find a way to specify which GL lib to load for which driver.
No problem. As you see, I am troubled to write the correct stuff myselfe. Therefore, I have no issue with such typos.1. When I wrote Option "AutoAddDevices", I meant "AutoAddGPU". Again, I am sorry for this.
I guess we have a confusion here. I was using bumblebee at first and the desktop effects did not work nor did glxinfo for the intel chip. It was suggested to focus on making the intel driver work. That's what I have been trying to do ever since in complete disregard of wheter nvidia works or not. Also in disregard on how the nvidia chip would be used (bumblebee or not). In my last post I pointed out that I might again install bumblebee so that I get at least the nvidia chip running and just have a system without opengl on the intel chip. Ultimately the goal would be to have opengl on both intel and nvidia. But so far I could not achieve this.So, you said you want to use bumblebee ... are you reading my posts?
That makes sense. I have in /etc/portage/make.conf VIDEO_CARDS="nvidia intel i915". As it is mentioned in the xorg install wiki to specify the driver. That will pull in the nvidia driver and thus I had broken Mesa GL lib from the very beginning. As I have an nvidia card I also followed the gentoo nvidia wiki where it is mentioned to "eselect opengl set nvidia". It never occured to me that "eselect opengl set x11-xorg" would be ok when using bumblebee. My brain got stuck with "I have a nvidia card so I have to eselect nvidia". This might lead to a setup that is sufficinet for me. I will try it as soon as I am back at my gentoo-box."But how come that I wouldn't have OpenGL support at the very beginning?"
That's a good question, and the answer is probably that you:
- first installed the nVidia driver - and thus, their OpenGL lib.
- it broke/overwrite the Mesa GL lib.
- no more glamore for you.
- but since your machine is muxless, your rendering device is the intel chip, and it would need the Mesa Lib.
- So glxinfo/glxgears on normal console will not work.
- then you installed bumblebee.
- gets shipped with own GL lib.
- doesn't affect the nVidia GL lib.
- bumblebee runs glxinfo/glxgears just fine.
Do you see now?

English's not my native language as well. I guess there are just few people here who can claim this for themselves.motaito wrote: You are right. Sorry about that. My text was written very badly, late at night and in frustration. Please note that english is not my native language and that I am slightly dyslexic. I completely messed that text up. Normaly my posts are longer for that very reason. I try to make sure my point gets across the way it is meant. Well, that doesn't always work as intendedHere is what it should have been.
Well, you can install them, can't you?motaito wrote:By that logic, if the intel chip needs it's own library and the nvidia chip needs another library, should it then not be possible to install both of them and have each load it's own corresponding library?
Well, the driver itself worked, just without OpenGL support. And I guess I wrote that from the very beginning.motaito wrote:I guess we have a confusion here. I was using bumblebee at first and the desktop effects did not work nor did glxinfo for the intel chip. It was suggested to focus on making the intel driver work.
Then why did you include "nvidia" in VIDEO_CARDS? The only reason for that would be if you completely ignored what I said about Mesa and Intel.motaito wrote:That's what I have been trying to do ever since in complete disregard of wheter nvidia works or not.
Which is not necessary, because, as I already stated, bumblebee is independent from your other Xorg stuff (sort of). That's why I said: first just care about the Intel driver. After we got Glamore working, we (and I mean "we", because I am trying to get the same stuff done here on my box) can resort on trying to get bumblebee - or the nvidia driver - working.motaito wrote:In my last post I pointed out that I might again install bumblebee so that I get at least the nvidia chip running and just have a system without opengl on the intel chip.
As well as I. But I am working on it.motaito wrote:Ultimately the goal would be to have opengl on both intel and nvidia. But so far I could not achieve this.
Bingo.motaito wrote:That makes sense. I have in /etc/portage/make.conf VIDEO_CARDS="nvidia intel i915". As it is mentioned in the xorg install wiki to specify the driver. That will pull in the nvidia driver and thus I had broken Mesa GL lib from the very beginning.
OK.motaito wrote:As I have an nvidia card I also followed the gentoo nvidia wiki where it is mentioned to "eselect opengl set nvidia". It never occured to me that "eselect opengl set x11-xorg" would be ok when using bumblebee. My brain got stuck with "I have a nvidia card so I have to eselect nvidia". This might lead to a setup that is sufficinet for me. I will try it as soon as I am back at my gentoo-box.
Got no time to read the thread right now. I will do so in about four hours, you will see the answer as an EDIT.motaito wrote:But that makes me wonder why this works for the guy here https://forums.gentoo.org/viewtopic-t-9 ... timus.html Following this guide, he also eselects the nvidia driver. Technically that should then make his system incapable of using opengl on the intel chip... or something is wrong with this reasoning.
I guess that is still ok but then the second part of chapter 33xrandr uses the monitors EDID to identify its capabilities. Some graphic drivers like the binary Nvidia or AMD, do not support xrandr. Also faulty hardware might report wrong or bad EDIDs, in those cases it is still possible to use custom made setups by trial and error.
Code: Select all
$ xrandr --setprovideroutputsource modesetting NVIDIA-0
$ xrandr --autoI am not really familiar with eselect. But eselect opengl ... is either nvidia or xorg. I meant maybe it is possible to explicitly select one lib for intel and in addition the other one for nvidia. Like setting a module path by hand. Maybe that would not be a good idea for future updates if it is at all possible.Well, you can install them, can't you?And they are managed by eselect.
The intel chip has HD graphics. By working my mind included that as well and since it did not give me opengl the log may show the driver as loaded but I interpreted it as not fully functionalWell, the driver itself worked, just without OpenGL support.
Because I followed the wikis to closelyThen why did you include "nvidia" in VIDEO_CARDS? The only reason for that would be if you completely ignored what I said about Mesa and Intel.
I did already try the guide with no success. I also had the black screen with the provided config. I think it's related to the part I wrote above to VoidMage (please refer to it as well).Please try it out at your box as well (after testing the Mesa GL functionality).
Code: Select all
$ glxgears
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
7597 frames in 5.0 seconds = 1519.330 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 31024 requests (31022 known processed) with 0 events remaining.Code: Select all
# glxinfo
name of display: :0
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
...Code: Select all
# grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2705.500] Initializing built-in extension MIT-SCREEN-SAVER
[ 2705.572] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 2705.572] (EE) AIGLX: reverting to software renderingCode: Select all
config DRM_I915
tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
depends on DRM
depends on AGP
depends on AGP_INTEL
# we need shmfs for the swappable backing store, and in particular
# the shmem_readpage() which depends upon tmpfs
select SHMEM
select TMPFS
select DRM_KMS_HELPER
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
# i915 depends on ACPI_VIDEO when ACPI is enabled
# but for select to work, need to select ACPI_VIDEO's dependencies, ick
select BACKLIGHT_LCD_SUPPORT if ACPI
select BACKLIGHT_CLASS_DEVICE if ACPI
select VIDEO_OUTPUT_CONTROL if ACPI
select INPUT if ACPI
select THERMAL if ACPI
select ACPI_VIDEO if ACPI
select ACPI_BUTTON if ACPI
help
Choose this option if you have a system that has "Intel Graphics
Media Accelerator" or "HD Graphics" integrated graphics,
including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G,
G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3,
Core i5, Core i7 as well as Atom CPUs with integrated graphics.
If M is selected, the module will be called i915. AGP support
is required for this driver to work. This driver is used by
the Intel driver in X.org 6.8 and XFree86 4.4 and above. It
replaces the older i830 module that supported a subset of the
hardware in older X.org releases.
Note that the older i810/i815 chipsets require the use of the
i810 driver instead, and the Atom z5xx series has an entirely
different implementation.
config DRM_I915_KMS
bool "Enable modesetting on intel by default"
depends on DRM_I915
help
Choose this option if you want kernel modesetting enabled by default,
and you have a new enough userspace to support this. Running old
userspaces with this enabled will cause pain. Note that this causes
the driver to bind to PCI devices, which precludes loading things
like intelfb.I have DRM_I915 and DRM_I915_KMS built into the kernel (*) because that is how it was described in the wikis. Should I load them as a module (M) instead?If M is selected, the module will be called i915.

Should be OK. xorg-x11 is missing on my box as well.motaito wrote:@VoidMage
I tried again. But I didn't get further. There is something I am not sure about.
- I have xorg-server 1.15 installed but I do not have xorg-x11 installed. That should be ok, right?
- Linux kernel has DRM enabled.
You mean gem_prime_vmap and alike?motaito wrote: - I am not sure about the driver interfaces. How can I verify this?
Code: Select all
fgrep gem_prime_vmap /boot/System.map-$(uname -r)
Ditto.motaito wrote: - I have xrandr 1.4.1 installed and also libXrandr 1.4.2. I think that should be ok. However, with eselect opengl set nvidia, it does not find any display. From http://wiki.gentoo.org/wiki/Xrandr
Nah, that's something different. I already included my EDID for the driver, BTW:xrandr uses the monitors EDID to identify its capabilities. Some graphic drivers like the binary Nvidia or AMD, do not support xrandr. Also faulty hardware might report wrong or bad EDIDs, in those cases it is still possible to use custom made setups by trial and error.
Code: Select all
Option "ConnectedMonitor" "eDP-1"
Option "CustomEDID" "eDP-1:/lib/firmware/edp1.edid"
Option "IgnoreEDID" "false"
Option "UseEDID" "true"
Define "driver interface". Missing kernel driver? lsmod | grep nvidia. If you got something, the kernel modules are loaded in.motaito wrote: With the provided xorg-config I get a black screen. I narrowed it down to the nvidia device section. As soon as nvidia is the driver that gets loaded first, I can not start x. Right now my best guess is that a driver interface is missing but like mentioned above, how can I verify this?
But until that day, please use eselect.motaito wrote:I meant maybe it is possible to explicitly select one lib for intel and in addition the other one for nvidia. Like setting a module path by hand. Maybe that would not be a good idea for future updates if it is at all possible.
Nah, I don't think so.motaito wrote: I did already try the guide with no success. I also had the black screen with the provided config. I think it's related to the part I wrote above to VoidMage (please refer to it as well).
Ah, that's good.motaito wrote:Code: Select all
$ glxgears libGL error: failed to load driver: i965 libGL error: Try again with LIBGL_DEBUG=verbose for more details. 7597 frames in 5.0 seconds = 1519.330 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 31024 requests (31022 known processed) with 0 events remaining.
Code: Select all
VIDEO_CARDS="intel i965"
"server glx vendor string: SGI" means that it uses the Mesa Lib, so don't worry.motaito wrote:Code: Select all
# glxinfo name of display: :0 libGL error: failed to load driver: i965 libGL error: Try again with LIBGL_DEBUG=verbose for more details. display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 ...
i915 is the kernel space driver. i965 is a driver for Xorg.motaito wrote: Btw. I concluded that I have i915 because I used http://kmuto.jp/debian/hcl/ to find the kernel settings that I need and it shows me i915.
motaito wrote: I have DRM_I915 and DRM_I915_KMS built into the kernel (*) because that is how it was described in the wikis. Should I load them as a module (M) instead?
Code: Select all
# fgrep 'DRM' /boot/config-3.15.0-valhalla
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_DRM_I915_FBDEV=y
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
# CONFIG_DRM_I915_UMS is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_PTN3460 is not set
Yes, I meant those.You mean gem_prime_vmap and alike?
Code: Select all
# fgrep drm_gem_prime_export /boot/System.map-$(uname -r)
ffffffff813c27f0 T drm_gem_prime_export
ffffffff81c71390 r __ksymtab_drm_gem_prime_export
ffffffff81c9b92a r __kstrtab_drm_gem_prime_export
# fgrep drm_gem_prime_import /boot/System.map-$(uname -r)
ffffffff813c3020 T drm_gem_prime_import
ffffffff81c713c0 r __ksymtab_drm_gem_prime_import
ffffffff81c9b8fa r __kstrtab_drm_gem_prime_import
# fgrep gem_prime_pin /boot/System.map-$(uname -r)
#
# fgrep gem_prime_get_sg_table /boot/System.map-$(uname -r)
#
# fgrep gem_prime_import_sg_table /boot/System.map-$(uname -r)
#
# fgrep gem_prime_vmap /boot/System.map-$(uname -r)
#
# fgrep gem_prime_vunmap /boot/System.map-$(uname -r)
# I meant if any of the "gem_prime_vmap and alike" are missing that the nvidia driver prevented to start x because an interface was not found.Define "driver interface". Missing kernel driver? lsmod | grep nvidia. If you got something, the kernel modules are loaded in.
Missing userspace driver? fgrep -i nvidia /var/log/Xorg.0.log.
I think you wrote that before reading to the end of my postWill you now FINALLY eselect xorg-x11?
My config looks a little different.After eselect opengl set xorg-x11 I get the following.
(... followed by every code snippet)
Code: Select all
# fgrep 'DRM' /boot/config-3.12.21-gentoo-r1
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I810 is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
I as well.motaito wrote:I got some missing. Only the first two give me a result.
Those are kernel symbols.motaito wrote:emerge --search prime did not show anything that seamed relevant. Do you know what I need to install to get those? Or is it a kernel setting?
emerge xorg would be enough, I guess.motait wrote: I would like to make sure we are on the same page. I will
- set VIDEO_CARDS="intel i965"
- emerge xorg again
Can't hurt, but if I remember correctly, that didn't help me back then.motait wrote: - unmerge mesa (according to input from VoidMage)
- emerge mesa (according to input from VoidMage)
Most probably not.motait wrote: Do I have to reemerge KDE after doing that?
Code: Select all
# startx
no screens found
#grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 718.353] Initializing built-in extension MIT-SCREEN_SAVER
[ 718.361] (EE) Failed to load module "glamoregl" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "intel" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "nouveau" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "nv" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "modesetting" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "fbdev" (module noes not exist, 0)
[ 718.363] (EE) Failed to load module "vesa" (module noes not exist, 0)
[ 718.363] (EE) No drivers available.
[ 718.363] (EE)
[ 718.365] (EE) no screens found(EE)
[ 718.365] (EE)
[ 718.368] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 718.369] (EE) 
Code: Select all
emerge -1 $(qlist -IC x11-drivers)Code: Select all
# glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
... Code: Select all
# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
299 frames in 5.0 seconds = 59.784 FPS
300 frames in 5.0 seconds = 59.966 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2688 requests (2688 known processed) with 0 events remaining.Code: Select all
# grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 387.407] Initializing built-in extension MIT-SCREEN-SAVER
[ 387.407] (EE) Failed to load module "glamoregl" (module does not exist, 0)
[ 387.408] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 387.408] (EE) Failed to load module "nv" (module does not exist, 0)
[ 387.409] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 387.409] (EE) Failed to load module "vesa" (module does not exist, 0)Code: Select all
# vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
31535 frames in 5.0 seconds = 6306.975 FPS
34229 frames in 5.0 seconds = 6845.617 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 183359 requests (183359 known processed) with 0 events remaining.