OpenSUSE :: How To Improve Graphics Performance In Xen Guest
May 10, 2011
I was using centos for my business applications and now I am trying to work only with opensuse and install my other oprerating systems in it. I was always using vmware , but I decided to try another virtualization technologies other than vmware for testing , I searched the internet and found many other like virtualbox , kvm , xen. I concluded from my search that xen and kvm will be the faster type , I decided to test them, I choose xen, it is better than kvm. I installed opensuse 11.4 and installed xen hypervisor deployed two VMs windows xp and centos 4.8 , they are runing quite good but I have some questions:
1 : Isn't there anyway to improve graphics performance in xen guest , or change the video card memory or type ?
2 : Isn't there any way to copy and paste between the host and guest ?
3 : Isn't there any free application like vmware tools or virtualbox guest tools for xen ?
4 : I use these VMs to install some applications for my geophysics work which requires good graphic performance in the vm , also I don't them to be sluggish sometimes , which is better for that vmware or xen ?
Basically I'm wondering if there is any way to lighten Gnome and Ubuntu I would like to keep Gnome if possible. I am a pretty experienced linux (or for you hardcore GNU fans GNU/Linux) user having used it for almost 4 years and I just built my Arch system but have found that alot of the functionality that I've come to love about ubuntu isn't in the default Gnome package but that Ubuntu's Gnome is heavily modified so I want to switch back but do to my lack of modern hardware I can't run Ubuntu as smoothly as I want.
Below is my current hardware. Code: Intel Pentium III 733mhz 512mb of ram 8gb Hard Drive and a Dvd Drive Nvidia Geforce 6600 265mb pci gpu 100 watt power supply
I am also a Developer so I know I can compile the Kernel my self and remove some not needed junk and optimize it. But I was wondering are there some Highly intensive processes that don't really need to be running? The only thing I would be using Ubuntu for is Web Browsing, Coding, Gimp, Text Processing and probably Music; thats really all I need I don't do much else besides that. tl;dr: Basically all I'm trying to do is lighten Ubuntu and Gnome without putting 3 days worth of work into it.
I am running a ubuntu desktop machine as a server and use VNC from my windows machine to login via a LAN to the ubuntu machine. The login session is very sluggish and frustrating. I installed gnome-rdp to see if it would be better but I don't know how it works or what to do and if there is something else I can do to improve the performance. I have 3 gig of ram and the server is a dual celeron machine
I have got a Radeon X800XL built in my computer. I was able to play Quake 4 in high details once, so I guess my PC is quite fast. Anyway, I have trouble playing Anno 1503 and SuperTuxKart (sic!). While Anno 1503 is fairly unplayable, SuperTuxKart has got around 30 to 90 fps, depending on the situation. In my opinion, that's way to less.
My question is: How could I improve the 3d performance, to be able to play such legacy games as Anno 1503? Therefor I'll give you some information about my configuration and what I tried so far.
I run Ubuntu 10.04. That means, the driver provided by AMD/ATI (fglrx) does not work anymore. My Ubuntu is up to date.
I set the kind of graphics card and the graphics ram in the Registry of Wine. Disabling the compiz-fusion-effects does not improve the situation however.
I disabled KMS. That gave an amazing performance boost, but still not enough. I am still experiencing performance troubles like being unable to play Anno 1503, and some others.
I also created a Xorg.conf, trying to tweak some settings, but that does not improve the performance much. The config file is attached below.
How to improve or accelerate the 3d-performance. Maybe there is an beta-driver or some xorg-settings I did not find?
I have written a script as follows which is taking lot of time in executing/searching only 3500 records taken as input from one file in log file of 12 GB Approximately. Working of script is read the csv file as an input having 2 arguments which are transaction_id,mobile_number and search the log file having these two strings with one more static string that is "CustomCDRInterceptor",then format the searched data in prescribed format.
I'm using mplayer and libcaca on Gentoo. My framebuffer (uvesafb) is running at 1920x1200 (I don't know how many characters that is) and mplayer has problems filling up the screen, so video and audio lose synchronization.
So I have built a program that takes a picture from two cameras every second and converts them both to jpeg format. The problem is that currently it takes ~2 seconds to convert a single raw photo to jpeg format, thus every second I add another raw photo (30 MB) to ram waiting to be converted to jpeg. So, theoretically the conversion to jpeg is running on a single core with hyperthreading, would I see better performance running the exact same process (a program pulling from a queue and converting to jpeg) running as a single process, or two concurrent processes? (both processes running on the same core, (so 1 thread on one clock cycle, the other on the other... (or one thread running on 1 core and the other on another core. What other steps would you take to improve the performance so there would no longer be a race condition?
I have a Gateway Laptop which is dual-booting Windows XP SP3 32-bit and Ubuntu 10.04, also 32-bit. The 64-bit version, would not install on my computer, even though the computer has 64-bit capabilities. It doesn't bother me that I use the 32-bit version, but something it is now doing seems to be affecting the way things work on my laptop. The computer has 4GB of RAM in it, an AMD Turion 64 X2 processor, and an ATI Radeon X-series graphics card. The monitor has HDMI capabilities. On the Windows side, it handles full-screen programs and operates very quickly. On the Linux side, I can also run things quickly. However, most programs on the Linux side are much slower-running than they would be on the Windows side.
Something I notice when my laptop goes into fullscreen on the Linux side, is that the color quality goes way down. You can see that it is trying to run in apparently 256 colors, and each individual pixel is very visible. It does not do this on the Windows side. Also, programs that I run on this half of the computer are very laggy, slow, and inefficient. I know that my computer has the video and processing power to handle these programs with ease, but it isn't utilizing all of it. How can I make Ubuntu run at a higher speed overall, by taking advantage of all four gigs of RAM and this 2.4 GHz Turion processor to run everything like Windows does?
I'm trying to do a partition alignment on my main SSD to improve SSD performance and then install Ubuntu on the SSD. I can do the alignment with no problem but when I install ubuntu the alignment is erased. Is there a way to install ubuntu without getting rid of the alignment?
dns cache serThis is probably more of a network question but I figured some one who is a network expert might know. Currently my organization has DNS servers. But my questions is would setting up a cache server improve the performance any? When I first thought about it i thought probably not. But since it stores information in ram that made me think maybe it would improve network performance a little.
I have an 11.2 laptop and thought it was time to upgrade to 11.4. I downloaded the 11.4 X86-64 live cd and thought that I would check how it ran on my 11.3 desktop. This is a core i5 760 with an Nvidia GT240 graphics card and 4GB of DDR3 ram. The 11.4 live system shows the nouveau driver. The graphics performance is terrible. In particular windows are very very slow to resize and often don't resize properly. There are also some artifacts in some graphics. I eventually downloaded Flash which did seem to work moderately well, especially in full screen mode. The screen resolution is 1920x1080. I have never seen a windowing system work so slowly
While I always use the Nvidia proprietary driver, I don't know how I can test it via a live CD. The Nvidia driver in the repository is the 270 version and I think that I have seen reports of severe problems with the 270 version so that needs to be tested too. I always install the nvidia driver the really easy way via yast
Has anyone any idea why the KDE Live graphics are so slow? I will not go anywhere near 11.4 unless the graphics system is very much faster. Is there any way to test the nvidia proprietary graphics driver without installing 11.4?
I have installed several different distro's over the last coupled of weeks and have finally as intended come back to 11.4. Last time I installed it my pc was fitted with an older nvidia card and I installed a newer 200 series and got it to work with X11 using the nvidia driver. This time I did the install with the new card in and things haven't gone the same way. I have finished up with the os drivers on my system, nouveau and "swrast (No 3D Acceleration) (7.10)". Performance wise it's way way behind the nvidia driver.
Glxgears for instance runs at under 1/2 the speed even at a lower resolution. I suppose I could still configure to suite my monitor but given that difference in performance would you? I have done what I can easily do with repositories but no signs of nvidia drivers. I can download one as I did last time but from what I have read previously the above drivers may mean that I have to recompile the kernel. A simpler solution might be to re install with my old card in. Can't say I'm too keen on either option. Some distro or the other had a driver helper and installed the nvidia one perfectly.
My battery life in Ubuntu is much less than that of Windows 7. I am trying to find ways to improve my battery life in Ubuntu. One thing that I notice is that my CPU (Intel Core i7 on a Lenovo Thinkpad W510) always runs at 55 degrees Celsius or even higher. my GPU right now reads 51. Seems pretty toasty to me, but not too over the top. Is it abnormal to have this as an average temperature? (since writing, it has risen to 57. I am on AC power, listening to music with Rhythmbox and browsing the web in Google Chrome.)
My cpu mode is set to 'ondemand', and I think this is a good option to balance power and speed. I am wondering if there is a similar function for the gpu. In my Nvidia settings my "PowerMizer" preferred mode is set to adaptive. Is that essentially all the improvement I'm going to get? In windows it seems like the amount of heat coming from the fan corresponds to running cpu/gpu intensive programs. When I'm not doing much, the exhaust is not as hot. In Ubuntu 10.04, the stream of heat is relatively constant. It does increase with more use, but it seems that the base temperature is higher.
Last I upgraded one of our cent 5 boxes which is running kvm with a mix of centos and windows VMs.After the update performance just tanked on the XP guest, but the others (including other windows VMs) are just fine.I checked with our good friend google and didn't really get any help there.We're hoping to NOT have to rebuild the XP guest, so I thought I'd check in here first.
Recently I noticed there are on sale, from several manufacturers, some interesting and inexpensive laptops equipped with AMD's new Ontario C50 processor which for one thing seems to use little power (like the Atom), and the other and more interesting is the fact that it has the graphics embedded.
I am curious if someone here owns one of said laptops and can comment about the performance/compatibility of this Ontario chip, because some of these laptops are such good deals that I am seriously considering at least recommending them. Obviously if I purchase one of those I'd install Fedora on in. Two things puzzle me: is performance very far apart from that of a netbook, and second, how do the graphics perform? Do they use the Catalyst driver as well?
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux make oldconfig && make prepare && make scripts && make dep cp ../linux-obj/$HOSTTYPE/default/Module.symvers . make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
I just did (another) fresh install of FC13. On the last install I attempted to install the nvidia proprietary drivers (tried every guide I could find). When I installed the proprietary drivers, I could no longer boot. It would hang at the end tri-color progress bar. I could ALT+F2 to get to tty2, and deleting the xorg.conf file and init 5 would get me back to the Gnome login. I continued trying other methods, getting such results as a black screen with no way to access tty. I tried using the rescue function from the DVD, but this time I couldn't fix the problem by deleting xorg.conf and executing init 5.
After failing in everything I tried for the proprietary driver, I decided I'd give the new nouveau a shot. Every time I fresh install FC13, the graphics performance is TERRIBLE. Moving a window around or scrolling in Firefox is painfully choppy and borders on unusable. I tried 'yum install mesa-dri-drivers-experimental' but after rebooting the performance was still beyond crappy.
I can get proprietary drivers working in Debian Lenny without breaking a sweat, but I prefer Fedora as a whole by far.
I just wiped my hp 6730b laptop after having done something that killed my previous fedora 14 install but now the graphics are all choppy. The previous install was a 12 to 14 upgrade that ran fine after only minor tinkering to straighten out some leftover stuff. The new one is a net-install of the 64bit version. But now X is all choppy and 2 processes seem to be using some cpu when X starts up: 'kondemand' and 'migration'. Eventually the screen will start to flicker but it'll keep running 'normally'. I am guessing that it is somehow related to the intel driver seeing how 3d (compiz) is not working either. So far all I changed is the default runlevel to 3 but it makes no difference if its in 5. I tried making a new config with X -config but then X does not start at all. system-config-display has been removed so I cant try fiddling with that either.
Hopefully all the required / useful info: (there is no xorg.conf) Kernel: Linux Laptop.xxx 18.104.22.168-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Code: [root@Laptop ~]# lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection 85:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02) 86:02.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70)
If I wanted to step away from the non-free world and constant battles between nvidia and amd, where would I go? I am considering updating my graphics card and would prefer to make the use of open source drivers and not bother with the proprietary ones but I still want a card that's going to be reliable and give good 3d performance to run unity and some 3d games.
I have an ATI RADEON 7000 (taken from lspci) 64 MB graphics card. My computer has a 700 MHz Celeron CPU and 650 MB RAM with Ubuntu 10.04. Anything graphical is slow. I cannot even play basic games like SuperTux. I think it is a graphics driver problem. Will this card ever work well with Linux, what do I need to do?
I am running kubuntu 9.10 on a dell inspiron 14 with an intel GM45 graphics card. When I run 3d games like Nexuiz, openarena and tremulous I get really random performance. Sometimes things are totally playable with somewhere between 50-80 fps and other times I get maybe 4 fps and everything takes forever to load. These effects persists between logouts, X restarts and reboots! I get no errors when I run things in console either.I never really play games much but when something doesn't work...
i have an ati radeon x1550 (pretty old, i know) graphics card which worked perfectly under windows 7. i recently read that ati appears to have dropped support for this card installed on recent ubuntu distributions (i'm using ubuntu 10.10 + kde 4.6.1) the thing is, when i'm watching something on videos or playing a movie through vlc, the image looks jittery (random horizontal lines that break the image, it's pretty subtle but it's there...) i'm new to ubuntu (switched from windows 7 a couple of months ago) and what i'm looking for is one of two:
-either a solution to my drivers problem so i can use this card with full 2d and 3d support (like i used to in windows) or, a recommendation of which graphic card i should switch to (my motherboard has a 'pci express x16' slot). i've searched countless forums and sites but i can't reach a final conclusion: am i supposed to have good 2d and 3d acceleration with this card (with the right drivers installed)?
if the answer is 'no', then i'd like to know what i should buy. for what i've read, apparently i should stay away from ati and intel and look for nvidia. i'm not a gamer so i really don't need an incredible 3d acceleration (although some would be nice, just in case) what i really need is for my system to be snappy (i work with my computer) and most of all good support for multimedia apps (i would like to be able to use xbmc smoothly for instance) i'd like to know which is the cheapest graphics card that i can get that will meet my needs (the ones i just listed above)
on OpenSuse 11.3 installed first KDE Desktop but my desktop Pentium 4 2.2Ghz is really slow... with XFCE work perfectly but XTerm is very poor. Cut and Paste text selection don't wok, like Mouse selection and font.
I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
I have a local file server running Samba on Fedora 9. It's already configured and serves a few people without any problems. I am now trying to set up a new read-only share with the username 'guest' and the password 'guest'. However, with no success so far! If I log on as 'guest' with the password 'guest' like so:
su - guest No problem. Once logged in, if I try:
I'm prompted for a password. If I enter 'guest' I get:
I installed a Fedora 14 guest on a Fedora 14 host with Virtualbox, then i run these commands on the guest:yum install kernel-devel kernel-headersbut if i try to install the virtualbox-guest additions on the guest, is still complains about that it's unable to find the kernel source directory?Ha anyone succeded installing the guest additions on a guest Fedora 14?