Daniel 'MaTachi' Jonsson

Tag Archives: Error

Possible Solutions To Two Wine Problems

I have for some time now tried to get games like Team Fortress 2 and Mirror’s Edge to run in Linux Mint 10 64-bit through Wine. However, it haven’t gone very well so I’m only able to play them with really, really bad performance. But maybe will some of the stuff that I found help somebody else, so I will post what I found in this blog post. The graphics card that I have is an Asus Radeon HD 6870, and the driver is the proprietary display driver (CCC 11.5) found on amd.com.

My games won’t start – nothing happens

Try to update your system with aptitude. That was what solved the problem for me.

sudo aptitude update
sudo aptitude install
sudo aptitude upgrade

(Not really sure why sudo aptitude install installed some updates when I first ran it)

No direct rendering

I had the problem that running glxinfo | grep direct in the terminal returned the following line:

direct rendering: No (LIBGL_ALWAYS_INDIRECT set)

However, if I ran it with sudo (sudo glxinfo | grep direct), it returned:

direct rendering: Yes
  • Here is a link to a thread with somebody having the same problem. The first possible solution that is given in this thread is to add the following lines to your /etc/X11/xorg.conf file:
    Section    "DRI"
    Group      "video"
    Mode       0660
    EndSection
  • The second one that is given in the thread is to add your user account to the video group. To find where you do this, open the MintMenu and search for Users and Groups.
  • Another suggestion that I found was to type this line into the command line:
    unset LIBGL_ALWAYS_INDIRECT

    This did only work for me in the current open terminal window. So when I opened a new one, it went back to saying No.

  • The final solution, that actually worked for me, was to disable the Compiz desktop effects.

Here is the thread where I got to know much of the stuff above: http://forum.winehq.org/viewtopic.php?p=61294. But as I said, I still have pretty bad performance in my games and I’m to lazy to fix it. I think I will keep on gaming on Windows, and doing all other stuff on Linux.

Fix Autocomplete in Eclipse

My ability to autocomplete code in Eclipse just stopped to work. But the problem was easily solved by doing the following steps: Open the Preferences window, navigate to Java > Editor > Content Assist > Advanced, tick everything that sounds right and finally Press OK.

If you have another possible solution, please share it below in a comment.

java.lang.nullpointerexception when editing strings.xml

I have downloaded Android SDK to Eclipse 3.6 and I have started to mess around and see if I can create something to Android. But when I opened [project folder]/res/values/strings.xml and tried to edit it in the Resources view, I got the following error message:

java.lang.nullpointerexception

This was solved by switching to the normal XML view and changing the following line:

<resources>

To:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

And now does the Resources view work!

EDIT:
You also have to reopen the file after you have changed the code line.

Blue Screen: unbootable_boot_volume – Solution!

Earlier today tried my little sister to start her laptop, but after Windows XP had loaded she got a Blue Screen which gave the error: unbootable_boot_volume. This is how I solved the problem:

  1. Get a Windows XP CD.
  2. Boot up from the CD.
  3. When a menu pops up, choose to go to the Recovery Console.
  4. Type chkdsk /r and wait until it’s finished (took like an hour for me).
  5. When it has loaded to 100 % and you are able to type again, type exit.
  6. Take out the Windows XP CD from the driver and let Windows start normally.
  7. Now it should work again! :)

Blinking MemOK LED Light, Asus Motherboard – Possible Solution

MemOKYesterday I was over at my friend’s house for approximately 9 hours and helped him out with putting his new computer together, and installing Windows, some drivers and softwares. We built the computer and that process went pretty fine, but it didn’t want to start. The fans were spinning, the red MemOK-light blinked on the motherboard and the monitor said something like “No VGA detected”.

We tried to start the computer by pushing down the MemOK-button for a few seconds, but that process didn’t work. We started to google and see if we could find any solutions. But a bit later we went to check in the computer case again and then we saw that one of the RAM-sticks wasn’t plugged in correctly. So, my friend pushed it a bit further in until we heard a clicking noice, and then the computer started just fine.

Remove “An automated WordPress update has failed to complete” error message

I just updated WordPress from 3.0.0 to 3.0.1 manually, because it didn’t work to automatically update it. When I was finished I was stuck with this message on the admin panel:

An automated WordPress update has failed to complete

This problem was easily solved by deleting the file .maintenance in the website’s root directory.