OpenSUSE Multimedia :: Xorg Eatting Too Many Cpu Cycles?
Nov 20, 2010
I am running open suse 11.3 and keep up on maintenance. Ever since upgrading to 11.3 I find that the number of cpu cycles is being eaten for apparently nothing. In looking at the system monitor I frequently find that Xorg is using 24% and frequently more than that. What can be done to reduce the cpu cycles, or fix the problem?
I have a couple of question regarding the screen blanker on Gnome desktop.I used to use a 1024x768 display with previous openSUSE distribution. With 11.3, I discovered the new "auto-configure" X feature. The default screen mode was 1600x1200, but I changed it to 1280x1024.My gfx board is a Matrox G400 DH. Hardware acceleration is disable because of a missing mga_dri.so (fall back to software rendering).I find some screen blanker modules are using almost all the CPU cycles. Animations are very slow, and it can take long before a keyboard hit or mouse movement makes to leave the blanker.
So the questions:- Is there a way to define another (smaller) screen resolution just for the blanker ?- Who should I try to convince to add mga_dri.so back in Mesa again ?- When the monitor go to sleep (DPMS), the blanker still is running, uselessly consuming CPU times. (I can see that because at the first mouse/kbd event, the monitor wake up and shows the blanker running.) Is there a way to configure the blanker to stop running when the monitor is sleeping ?- There are some modules which load images from HD (not the diaporama which load images in ~/images). But the shown image is always the default built-in one. Where is the blanker trying to load images from ?
I've been struggling with suspend to disk (hibernate if you prefer) for a while, it works after a fresh boot and for several days' worth of overnight hibernation as I go about my work, but eventually it stops working - it gets to the splash screen but the bar only makes it a little way to the left before stopping, and then after a timeout the system just returns to the "session locked" screen - no real error messages.
I've done my best to try to find out what's causing it to break but I'm really struggling, the suspend process doesn't appear to write anything helpful to the dmesg log or the /var/log/pm-suspend.log - the only thing that I've seen at about the right point in time is cifsd, but I can't be sure that it's a problem with cifs as hibernate continues to work immediately after mounting windows shares with cifs.
I have 4 gigs of ram and xorg goobles up 70+% in a matter of an hour or so. I'm running a java app with lots of 2D graphics, firefox, pidgin, and one other java app. I recently upgraded to KDE 4.2 and got dual ATI firepro 3700 cards running 3 22" widescreens. The memory gets eaten until my java app crashes.
I'm using the fglrx driver as it seems the radeonhd one doesn't recognize the firepro 3700. Can one only have a single KDE4 version on the machine. I would like to be able to swtch back and forth between 4.1 and 4.2 in order to troubleshoot without all the downloading and installing in yast.
My Audio stops playing when switching to console from Xorg. When I switch back it continues playing. Is it supposed to be like this? Any way I can make it play continuously? I've already checked the Howtos and this forum for this problem but havent found anything similar.
I found in my xorg.0.log the the xorg ATI driver is failing ALL options.
Code: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist. [ 8.942] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
Every account every option I try. when I login, it just cycles back to the login screen. I have attempted to do a repair install, but to no avail. it happens when I try to boot normally or if I boot into failsafe.
I've read the how-tos (thank you oldcpu!) and wikis about how xorg.conf take precedence over the section configuration files in etc/X11/xorg.conf.d/, if it exist. I also understand that the xorg.conf can be partial. If it is missing some sections, these will be taken from the corresponding xorg.conf.d section config file. Currently I'm using a xorg.conf generated by nvidia-settings in one of my home machines, due to a dual-monitor setup. After generating xorg.conf, the device sections are:
My question is if the Option "UseCompositeWrapper" "True" will be used or not. In other words, if a section exist in xorg.conf then it's correspondent in xorg.conf.d/ will be completely ignored *or* only the lines in xorg.conf.d/ that already exist in xorg.conf will be ignored?
I have a machine running Fedora 14 and a bunch of movies stored on it as '.iso' images. It is connected to my home theater. I used to use VLC to play these movies and it worked great for a long time. About 4 months ago, about an hour or hour-and-a-half into a movie, the audio suddenly "disappears" and the machine goes CRAZY with almost 100% of the CPU spent writing to the SWAP. At first I thought the machine was locked, but it isn't; it's so doggone busy writing swap. I am unable to get enough cycles to terminate anything. I found the swap activity through System Monitor - it was ABRUPT. Sound stopped, machine became preoccupied with swap.
I have removed/reinstalled VLC, the machine has undergone a couple kernel updates, and I have removed/reinstalled a number of things associated with audio (CD ripper, mpeg stuff, etc.) yet the problem persists. I don't know what happened or when (update-wise). Any body got any ideas? While a solution would be great, I'd also be happy with a couple decent suggestions on what to look for.
I've somehow got it into my head that it's possible to share CPU cycles, though I've no idea where from.So basically that's what I'm asking - is it actually possible to tell one system to 'donate' it's unused CPU time, cycles, whatever they are, for another's use?
"Servers aren't meant to have GUIs because they are a serious waste of CPU clock cycles." I encountered this line from somewhere here in ubuntu forums, but how could I install tools like mysql wrokbench and stuff, w/c will make my life a lot easier as an administrator? or is there such thing as remote administration?
I'm planning on setting up a new Linux box expressly for distributed computing (BOINC, SETI@home, etc.). All things being equal, what's better- More clock cycles or more cores?
I have 2 nvidia gfx cards, if I use the nvidia settings tool to view 2 monitors with the same gfx card works fine, when i use one gfx card for one monitor and the other gfx card for the other monitor X doesnt start and just cycles through monitor flashes.
I was running 10.04 until yesterday, when it occured to me that I could upgrade to 10.10. So I went to Software Center, set it to get normal releases and left it to do its job. The upgrade appeared to go without a hitch and I rebooted. The login screen appeared. But just before I could click on my username and enter my password, the screen went blank and a second later the login screen was back. But then just before I could click... Undeterred, after half a minute of frantic clicking I did manage to click on my username and get the password prompt. This time, the login screen didn't go anywhere. Yay. To cut a long story short, this is now my standard logon procedure. However, the plot thickens. I appears that instead of 10.10, I ended up with 11.04, Natty Narwhal, which 'was released in April 2011'. If I download an .iso of Maverick and install it over my current version, will it leave my data unharmed AND reset everything so that it works again?
Just trying to figure out some stuff with a broken process. A java app seems to sometime get stuck on a loop or something and i'm trying to find out what's causing it using just the following #sysadmin tools at my disposal.
Things like:- htop - find the PID thats causing the High CPU cycles. I'd then want to use /proc/[PID] or lsof -p [PID] or strace [PID] etc. But the PID doesn't exist in 'ps -ef' output so I think htop must be showing me kernel level thread PIDs?
Not sure about the PID's HTOP is actually giving me? I know that some of them are the real PID's that can be accessed through /proc/[pid] etc but others are not but are i assume child processes or more likely threads as child processes are normally shown in a default ps output anyway.
Is someone able to help distinguish to me about what exactly all these other PID's are that I can't manipulate or find apart from when using HTOP.
Just upgraded a desktop to openSUSE 11.4 with KDE, and I'm encountering various graphical problems. This machine's been running SUSE versions since 10.0 on similar hardware with few major issues, and I did the 'upgrade' by reinstalling the root partition and keeping the /home partition intact. It has a Radeon 9600 AGP card, which goes under the R300 and RV350AP monikers, and uses the radeon driver (too old for the proprietary ATI driver - deprecated). With the new KMS, it boots up fine under the monitor's correct resolution of 1440x900, though occasionally and randomly then drops to 1024x768 at the login screen. On occasions it will then arrive at the desktop under this lower resolution, other times it corrects itself before getting there.
On starting KDE, the taskbar cycles through various different settings (composited / non-composited) and colours with erroneous shadows. I've tried disabling desktop effects which at least resolves that particular issue. More troublesome is that certain actions result in a garbled display from which it is almost impossible to recover without guessing various keystrokes to cause a logout. Two examples are when running the regular (non-OpenGL) KDE slide show screen saver, when certain transformations corrupt the entire screen, and when opening the Tools -> Options dialog in LibreOffice, though strangely this only causes a problem under one user account and not another.
Running dmesg, I note it is being littered with:
Code:
[drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID yet I have just the one VGA monitor which is VGA-0, and set as such under KDE. Not sure if that's related or a separate issue.I tried adding 'nomodeset' at boot, but it brings me to a console login and after entering 'startx' I get:
Code:
xauth: file /home/[user]/.serverauth.2891 does not exist
Fatal server error:
Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old" xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error
[code]...
Booting in failsafe mode gets me into KDE but with other weirdness and problems using the desktop. I don't know if KMS is ultimately the culprit or there's some other obvious problem, but this is what I'm left with after a 'fresh' installation (despite the /home partition still being kept from openSUSE 11.3). It's not my PC so I need to leave it in a usable state knowing these corruptions aren't going to occur, and I leave the country next week.
I have a problem in Ubuntu 10.04. The bug is well know which makes the hard disk head to park often (2-3 times per minute) that's dangerous for the drive in the long term and annoying for me (click-click-click).I found out the "ugly-fix" for old Ubuntu version which was :hdparm -B 254 /dev/sda instead of 128. It works. The problem is that it doesn't remains (when restart/standby/ac connection-disconnection).I found a script well known too :Code:1) make a file named "99-hdd-spin-fix.sh". The important thing is starting with "99".2) make sure the file contains the following 2 lines (fix it if you have PATA HDD):
#!/bin/sh hdparm -B 255 /dev/sda 3) copy this file to 3 locations:
I just upgraded my Debian Etch to Lenny. After doing so, Xorg displays no fonts. I get only rectangles. This occurs in the Login Screen and after logging in. The only thing that is readable are the contents of a terminal (even gnome-terminal). What can I do to solve this Problem? The Xorg.0.log doesn't give me any clue on what's the problem.
I've installed squeeze (kernel 2.6.32-3-686 now) on an old Amilo M-6100 laptop with a Silicon Motion graphic chip. I've installed Slim and LXDE but Xorg won't start properly. Apparently it doesn't recognize the screen and tries to apply a wrong resolution, no matter what I do. Also, if I try Xorg -configure, I get stuck with a black screen .
I tried to copy-paste data from a xorg.conf file from there: [URL], to no avail.
I know this is usually with the intent of multiseat systems. I am not interested in setting up a multiseat system. What I am interested in configuring on using the console and jumping back to X session, not the other way around. Is this possible if your default desktop environment GNOME and configure GDM to do this with the novtswitch parameter mentioned here? [URL]..
I tried even playing around with Xorg, finding out from the man page Xorg server-1.4.2 it does not even have novtswitch functionality compiled X does, but I am not sure I am configured it properly, specifically because I am not doing multiseat. Does anyone have background on this to give me some guidance? I have attached the relevant conf files and logs. Let me know if more is needed. In my test environment, it switches VT anyway and the keyboard does not work. I assume my Xorg binary is not compat for this, but am I even on the right track? I did not expect the kb to go out like it did.
I started with a Pentium4 system with a FX5500 AGP card and now have a i3 with integrated Intel video (Auburndale). The new motherboard is ASUS P7H55-M PRO. The monitor is a Acer AL1916 (LCD) with only VGA input. I have been using the nVidia oprietary drivers installed the "Debian way" (Cf using a Debian stable stock kernel.I first renamed xorg.conf so X would start without one. Once gdm starts, the monitor says the input is not supported. So I tried reusing the old xorg.conf file, changing the "nvidia" to "i810". X then fails to start and shows an error of no screens found.Everything is fine in text mode; only X is not working.I have to get this fixed very quick or I might not get to use Linux at work anymore.
I'm having trouble with my sony bravia and the automatic setting of the display over HDMI. In the Xorg.0.log I get a bunch of "EDID contradicts itself" error messages and then finaly it will set a 1920x1080 resolution at 50Hz. In the nvidia gui I successfully see the 24Hz, 50Hz and 60Hz modes, but when I select them, my TV does not recognize them as such. Because of this, xbmc can not set the right refresh rates (I assume this is the cause) and I get tearing.
Some output: Xrandr gives:
Code: 1920x1080 50.0* 51.0 52.0 53.0 54.0 55.0 159.0 At the same time, "nvidia-settings -nt -q RefreshRate" says Code: 60.00 Hz
I have an apple tv1 running ubuntu hardy. Due to audio video requirements I do not want to upgrade. I am trying to get 1080p24 working my TV. I ran X in verbose mode to ensure that my TV supports 1080p24 and it does. For some reason the X is not able to see the 1920x1080 @ 24Hz mode. I got the required information to add the modeline to my xorg.conf.
When I check the Xorg log file I have the following warning
Code:
(WW) NVIDIA(0): No valid modes for "1920x1080_24"; removing. Is there any way I can append the valid modeline for 1920x1080 @ 24Hz to. I am avoiding using a modified EDID.
My hp does not want to start X for some reason. I have so many errors. I made an account to just see this problem be fixed. Now when I type "startx" I get back, "bash: /usr/bin/startx no such file in directory". I have to use GRUB due to the fact I forgot my login. Although, I do remember my password.
I am pretty new to using Linux, I am currently trying to configure 3 monitor's with Xorg in Debian Wheezy. I have 2 video cards in the PC and one has a Dell Y-splitter to connect 2 monitors. 2 monitors are 1920x1080 resolution and the other is 1280x1024.
LSPCI Code: Select all00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04) 00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
[Code] ....
I attempted to write my own xorg.conf file, but that resulted in the machine booting to single user mode and the xorg startx error log said it could not find any devices.
When I used the xorg.conf.new generated by the "xorg -configure" command, I was able to get it to display as 3 independent screens, but there was overlap on the screens. I.E. if you moved the mouse to the right side of one monitor, it would show on the left side of another screen at the same time.