Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Saturday, July 19, 2008

Catalyst 8.6 + Linux + 8Gigs of RAM = Crash

To introduce just another chapter in my neverending fight to have a working system, I'm going to tell you about how I've been able to make by Ubuntu Hardy (8.04) box start (yeah: no freeze!) along with my new Radeon HD 4850.

I previously owned an nvidia GeForce 7800 GTX 256M an decided to change it to enjoy more recent games: at 135,00 € the Radeon was too big an attraction. The bad things did happen when I tried to start X after following this guide to install the latest 8.6 drivers (supporting the new Radeon 48XX series cards). I followed step 2, rebuild the .deb packages and installed them. Restart X and ... freeze! Hard reset needed. From there on several ours went on googling, searching forums and reading bug reports and trying any possible solution:
  • disabling the SMP with maxcpus=1 (maybe some concurrency lock? Difficult since there the crash occurs deterministically bu you never knows ...)
  • reducing the visible amout with mem=2048m (maybe some overlapping among memory and I/O addressing?)
  • disabling 3D acceleration (also if I'm pretty sure it isn't used by GDM but maybe some strange initialization hard locks the machine ...)
Nothing.

Though, I'm pretty sure that it is a combination of 64 bits CPU, 8G of RAM and the ATI drivers. Before giving up, I came over a bug report: essentially the users complained about the same hard freezes as me and the only way they could boot was by disabling DRI altogether, that is by adding:
Option "no_dri" "yes"
in your /etc/X11/xorg.conf file(video card device section).

The good thing is that you finally have a working X. The bad thing is that there is no HW acceleration and dragging windows is sluggish, at best. Hope that ATI is going to fix this because I can live without OpenGL under Linux but dragging windows around is a so common that such behavior can't be accepted. Perhaps I should switch back to NVidia, since their prices are going down.

Thursday, June 12, 2008

[Solved] Eclipse 3.4 + Ubuntu 8.04 + SUN JDK == Crash

I've been trying to run eclipse 3.4 RC3 on my ubuntu 8.04 64 bit box: nothing. The issues can be tracked to two things:
  1. XULRunner should be updated to latest version, otherwise the internal browser will crash, for example when showing the Welcome view.
  2. The workbench will crash when attempting compilation of your workspace for the first time. This seems to be related to a bug in the HotSpot of your JRE: if you take a look at the crashlog and see something like:
Current CompileTask:
C2:1504 org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode; (469 bytes)
then, welcome into the club ;)

Fortunately there is a workaround even for this by adding

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

in your eclipse.ini JVM options.
Kudos to the great community! :D

References

Thursday, September 20, 2007

A new laptop

Until now, I've resorted to use VMWare to have a Windows XP virtual system under my kubuntu box and run Office applications within it (paper templates and slideshows like those proprietary formats ...). Now, I have a new laptop I will use for this job only. So, a Linux box for development, a Windows laptop for presentation.

Let's how they will play together.