|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
gnome is very slow
Gnome windows manager is very slow. It has been from the very beginning. I am just getting around to try to address it.
All actions are a few seconds behind before keyboard input. For example: When I use the windows key to enter information in the search box, it is up to a few seconds behind. Graphics intensive web pages are slow, to render, and to scroll up and down. Video playback skips. I am not certain if this an X issue or video driver. How could I begin to diagnose this problem? Last edited by jjstorm; 21st March 2016 at 07:49 PM. |
|
|||
Quote:
How did X run with fvwm or twm? Both fvwm and twm are in the base install, nothing else needs to be installed in order to test. |
|
|||
Quote:
Is there anything to tweak then or should I just switch Windows Managers? Maybe I could try kde? |
|
|||
You have alot of choices. My bias is that of the full featured Desktop Environments, Xfce4 runs the best on the BSD's. One of the Xfce4 developers is well placed in the OpenBSD ecosystem.
Xfce4 also does not need video with 3D acceleration. |
|
||||
First: 3D acceleration is a drop-dead requirement for Gnome. So video settings are unlikely to be a root cause of the performance problem.
I went looking for a recentlly posted dmesg from you, and found this. You posted a dmesg from a uniprocessor kernel. Your Core i3 processor has two cores, and can run 4 threads (appear to have 4 CPUs). Try booting the GENERIC.MP kernel. The GENERIC kernel will only use one core. Edited to add: At install time, if more than a single CPU is found, the bsd.mp (GENERIC.MP) kernel is installed as /bsd and the bsd (GENERIC) kernel is installed as /bsd.sp. Last edited by jggimi; 21st March 2016 at 04:53 PM. Reason: added kernel file names, clarity |
|
|||
Quote:
Last edited by jjstorm; 21st March 2016 at 07:25 PM. |
|
|||
Jggimi mentioned you built a custom kernel which would mean that you have the kernel source code. You can just repeat the process for GENERIC.MP in /usr/src/sys/arch/amd64/conf. I would take this route particulary if you have applied patches for your release.
Another option is download bsd.mp, from and ftp site, to your root directory. Reboot and when prompted select bsd.mp to test. If it works then rename /bsd to /bsd.sp and /bsd.mp to /bsd. |
|
|||
There are commands for checking OpenGL acceleration:
Code:
vblank_mode=0 glxgears & sleep 16 ; pkill glxgears glxinfo | grep -i -e direct -e opengl | grep -i -e direct -e string You can also check: Code:
sysctl machdep.allowaperture I personally use Openbox window manager with compton compositor. Both are in ports and packages. Modern Gnome is quite fussy/finicky (Google translated this word) in acceleration because not only requires acceleration (by OpenGL or OpenGL ES, I don't know which of them is required), but on Gnu/Linux also requires EGL and not supports GLX. I don't know if Gnome on OpenBSD needs EGL, but I guess yes. EGL in Gnome is part of process of porting to Wayland, but even in Gnu/Linux distributions this process taken long time and not completed yet, so I don't expect Wayland in OpenBSD anytime soon (unfortunately). Last edited by e1-531g; 21st March 2016 at 06:17 PM. |
|
|||
Quote:
Last edited by jjstorm; 21st March 2016 at 07:45 PM. |
|
|||
I am not sure what you mean by hand building? I have used anoncvs to download the source code for -stable and then followed the instructions on faq 5 to build the kernel and the user land. I have also done the same with xenocara.
|
|
|||
Quote:
|
|
||||
Not using M:Tier's services. https://stable.mtier.org
Quote:
|
|
|||
It seems like glxgears(1) and glxinfo(1) are part of Xenocara:
code: http://cvsweb.openbsd.org/cgi-bin/cv.../app/glxgears/ http://cvsweb.openbsd.org/cgi-bin/cv...a/app/glxinfo/ *** manual pages: http://www.openbsd.org/cgi-bin/man.c...th=OpenBSD-5.8 http://www.openbsd.org/cgi-bin/man.c...th=OpenBSD-5.8 *** Can you provide stdout (output) of commands in my post: http://daemonforums.org/showthread.php?t=9730#post58386 line with glxgears should terminate after 16 seconds automatically without manual intervention. |
|
|||
Every time you update your source tree from anoncvs, don't you have to recompile the kernel and the user land, as outlined in sections of the faq, 5.2.4. and 5.2.5 respectively?
Last edited by jjstorm; 22nd March 2016 at 12:03 AM. |
|
|||
Quote:
I run my main system on the latest release with security patches I apply myself and M:tier package updates. So, for the latest ipv6 patch, I compiled my own kernels (both *.mp and *.sp) Other patches entail rebuilding part of the userland. I also run a current system and never compile anything, I just use snapshot binaries. Your goals in OpenBSD (release, stable, current) actually will help guide the advice you get. |
|
|||
Quote:
Code:
# vblank_mode=0 glxgears & sleep 16 ; pkill glxgears glxinfo | grep -i -e direct -e opengl | grep -i -e direct -e string [1] 25162 ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. 10095 frames in 5.0 seconds = 2018.891 FPS 10748 frames in 5.0 seconds = 2149.481 FPS 10732 frames in 5.0 seconds = 2146.320 FPS Code:
# sysctl machdep.allowaperture machdep.allowaperture=0 [1] + Terminated vblank_mode=0 glxgears Quote:
Last edited by jjstorm; 22nd March 2016 at 12:01 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pf - Internet seem slow | rawshack | OpenBSD Security | 3 | 20th June 2014 06:42 PM |
Anonymous Ftp is too slow | daemonfowl | OpenBSD General | 25 | 4th August 2012 12:50 AM |
Does anyone know why Gnome is so slow on BSD? | TerryP | General software and network | 11 | 27th August 2010 06:06 PM |
Why is FreeBSD dd so slow? | sharris | FreeBSD General | 10 | 18th June 2010 08:33 AM |
slow io from hdd | knasbas | OpenBSD General | 3 | 25th July 2009 02:51 AM |