touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #50569
[Bug 1415195] Re: OpenGL "hello world" windowed vsync app brings unity to its knees
sudo apt-get install libglfw3-dev
gcc -o hello-opengl hello-opengl.c -I/usr/include/libdrm -lglfw -lGL
** Attachment added: "hello-opengl.c"
https://bugs.launchpad.net/unity/+bug/1415195/+attachment/4306790/+files/hello-opengl.c
** Tags added: apport-collected compiz-0.9 ubuntu utopic
** Description changed:
1. Create a basic hello world OpenGL app, e.g. one that draws a single triangle to the screen.
2. Use windowed mode with vsync on
3. Try alt+tabbing or activating between different windows and the opengl window by clicking.
4. Notice how laggy and slow it is.
5. Try a different window manager besides unity such as xcfe4
6. Notice that this problem no longer exists.
+ ---
+ .proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: u'/proc/driver/nvidia/gpus/0'
+ .proc.driver.nvidia.registry: Binary: ""
+ .proc.driver.nvidia.version:
+ NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.113 Mon Dec 1 21:08:13 PST 2014
+ GCC version: gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
+ .tmp.unity.support.test.0:
+
+ ApportVersion: 2.14.7-0ubuntu8.1
+ Architecture: amd64
+ BootLog:
+ * Setting up X socket directories... [80G
+ [74G[ OK ]
+ CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
+ CompositorRunning: compiz
+ CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
+ CompositorUnredirectFSW: true
+ CurrentDesktop: Unity
+ DistUpgraded: 2014-10-22 01:04:42,973 DEBUG enabling apt cron job
+ DistroCodename: utopic
+ DistroRelease: Ubuntu 14.10
+ DistroVariant: ubuntu
+ EcryptfsInUse: Yes
+ GraphicsCard:
+ NVIDIA Corporation GK104M [GeForce GTX 780M] [10de:119f] (rev a1) (prog-if 00 [VGA controller])
+ Subsystem: CLEVO/KAPOK Computer Device [1558:0376]
+ InstallationDate: Installed on 2013-11-05 (448 days ago)
+ InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
+ MachineType: System76, Inc. Bonobo Extreme
+ NonfreeKernelModules: nvidia
+ Package: unity 7.3.1+14.10.20141016-0ubuntu1
+ PackageArchitecture: amd64
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-generic root=UUID=f3c3398f-92de-4f0b-a638-d4691bec6e84 ro quiet splash
+ ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
+ Tags: utopic utopic utopic ubuntu compiz-0.9
+ Uname: Linux 3.16.0-25-generic x86_64
+ UpgradeStatus: Upgraded to utopic on 2014-10-22 (97 days ago)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
+ _MarkForUpload: True
+ dmi.bios.date: 09/04/2013
+ dmi.bios.vendor: American Megatrends Inc.
+ dmi.bios.version: 4.6.5
+ dmi.board.asset.tag: Tag 12345
+ dmi.board.name: Bonobo Extreme
+ dmi.board.vendor: System76, Inc.
+ dmi.board.version: bonx7
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 9
+ dmi.chassis.vendor: System76, Inc.
+ dmi.chassis.version: bonx7
+ dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd09/04/2013:svnSystem76,Inc.:pnBonoboExtreme:pvrbonx7:rvnSystem76,Inc.:rnBonoboExtreme:rvrbonx7:cvnSystem76,Inc.:ct9:cvrbonx7:
+ dmi.product.name: Bonobo Extreme
+ dmi.product.version: bonx7
+ dmi.sys.vendor: System76, Inc.
+ version.compiz: compiz 1:0.9.12+14.10.20140918-0ubuntu1
+ version.ia32-libs: ia32-libs N/A
+ version.libdrm2: libdrm2 2.4.56-1
+ version.libgl1-mesa-dri: libgl1-mesa-dri 10.3.2-0ubuntu0.1
+ version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
+ version.libgl1-mesa-glx: libgl1-mesa-glx 10.3.2-0ubuntu0.1
+ version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
+ version.xserver-xorg-core: xserver-xorg-core 2:1.16.0-1ubuntu1.2
+ version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
+ version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.0-2ubuntu2
+ version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4.1
+ version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2
+ xserver.bootTime: Sun Jan 25 13:20:43 2015
+ xserver.configfile: default
+ xserver.errors:
+
+ xserver.logfile: /var/log/Xorg.0.log
+ xserver.outputs:
+
+ xserver.version: 2:1.16.0-1ubuntu1.2
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1415195
Title:
OpenGL "hello world" windowed vsync app brings unity to its knees
Status in Unity:
Incomplete
Status in unity package in Ubuntu:
Incomplete
Bug description:
1. Create a basic hello world OpenGL app, e.g. one that draws a single triangle to the screen.
2. Use windowed mode with vsync on
3. Try alt+tabbing or activating between different windows and the opengl window by clicking.
4. Notice how laggy and slow it is.
5. Try a different window manager besides unity such as xcfe4
6. Notice that this problem no longer exists.
---
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: u'/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.113 Mon Dec 1 21:08:13 PST 2014
GCC version: gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
.tmp.unity.support.test.0:
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
BootLog:
* Setting up X socket directories... [80G
[74G[ OK ]
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
DistUpgraded: 2014-10-22 01:04:42,973 DEBUG enabling apt cron job
DistroCodename: utopic
DistroRelease: Ubuntu 14.10
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
NVIDIA Corporation GK104M [GeForce GTX 780M] [10de:119f] (rev a1) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device [1558:0376]
InstallationDate: Installed on 2013-11-05 (448 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: System76, Inc. Bonobo Extreme
NonfreeKernelModules: nvidia
Package: unity 7.3.1+14.10.20141016-0ubuntu1
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-generic root=UUID=f3c3398f-92de-4f0b-a638-d4691bec6e84 ro quiet splash
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Tags: utopic utopic utopic ubuntu compiz-0.9
Uname: Linux 3.16.0-25-generic x86_64
UpgradeStatus: Upgraded to utopic on 2014-10-22 (97 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 09/04/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.asset.tag: Tag 12345
dmi.board.name: Bonobo Extreme
dmi.board.vendor: System76, Inc.
dmi.board.version: bonx7
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: System76, Inc.
dmi.chassis.version: bonx7
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd09/04/2013:svnSystem76,Inc.:pnBonoboExtreme:pvrbonx7:rvnSystem76,Inc.:rnBonoboExtreme:rvrbonx7:cvnSystem76,Inc.:ct9:cvrbonx7:
dmi.product.name: Bonobo Extreme
dmi.product.version: bonx7
dmi.sys.vendor: System76, Inc.
version.compiz: compiz 1:0.9.12+14.10.20140918-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.3.2-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.3.2-0ubuntu0.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.16.0-1ubuntu1.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.0-2ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2
xserver.bootTime: Sun Jan 25 13:20:43 2015
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.16.0-1ubuntu1.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1415195/+subscriptions