Showing posts from July, 2006

X11 Dual Head with nVidia

This is more a reminder for myself than a regular post. Because I have been fiddling around with the xorg.conf to get my Linux desktop right with dual head and the right resolution on each screen, I post my configuration here. If anybody finds it useful, they are welcome to copy it. I am currently using Ubuntu 6.06 (Dapper Drake) which comes with X.Org 7.0. My machine has a GeForce 5600XT based graphics board by LeadTek. It has a DVI-I and a VGA port. I installed the closed-source nvidia driver to get hardware acceleration and extended features the X.Org nv driver does not provide. Moreover I could not get dual head right with the X.Org driver. The following configuration sets up two screens, one for the left display (analogue TFT, 1280x1024) and one for the right (CRT, 1024x768). # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this fi

Fedora Core 5, Part 1

Now this is the late "Part 1 of 2" ( Part 2 was published first). Took me longer than expected, but I finally got it done. In the beginning there was Windows... I have been working with all versions of Windows starting with 3.0 on a 386SX16. Over the years I have gained extensive knowledge about many aspects of the inner workings, the weaknesses and strengths. Up to now I have been using Windows XP as my "main" operating system. It certainly has its flaws, but all told it is a fine piece of software. I also believe to have a somewhat profound insight into Linux. I started with Debian Potato and have since used both newer Debian versions (Woody and Sarge) as well as several flavors of Red Hat (beginning with RH9, up to FC5) and some SuSE, too. Right now I am using Ubuntu Dapper Drake 6.06 to write this. However the majority of the Linux systems I work with are servers, most of them without even running X11. While I have always liked Windows as a desktop OS I

Enhanced MySQL Administrator Graphs

Update: MySQL 4 and 5 behave differently. In MySQL5 there is a steady activity on some handlers, probably caused by the status queries themselves. This does not happen in 4.1. I have issued a support call with MySQL and will see what to do about it. Update 2: See the follow-up post for more information on how to work around this. MySQL Administrator is one of the graphical tools MySQL provide to manage their database servers. Apart from other things like server daemon control and a log file viewer this tool includes visual controls to display the load of the database server. Even though the out-of-the-box configuration already contains some useful diagrams, I added some new and modified the existing. If you'd like to use them, please feel free to do so, they can be downloaded here: mysqladmin_health.xml . Please notice, that this is not a java file, but I had to rename it to be able to upload it to JRoller. Just remove the ".java" from the filename. There is a fi

MySQL 5.0, Bug 10210

In my previous post about enhancing the graphs the MySQL Administrator displays I added a remark that there seems to be a difference between MySQL 4.1 and 5.0. As it seems this has already been reported as MySQL Bug #10210 and fixed, however only for 5.1. Summarizing the bug report is easy: They implemented Heisenberg (or better: the observer effect ). You cannot query the counters for e. g. the number of temporary tables created without modifiying it as you go. In 4.1 all the SHOW STATUS... commands (see the manual page ) could be executed without modifying the values displayed, because they were immediately sent to the client. In 5.0 a temporary table with the result is created and then sent. This allows the use of the data in stored procedures. It is however very annoying, because it increases the noise in measuring significantly. One (somewhat clumsy) workaround is to modify the formula for the graphs you define in MySQL Administrator by subtracting the number that would other