Just before christmas I decided I will spend the “immense” amount of 40 EUR for a graphic card for a system which was without one. The system is supposed to replace my dying home-server. I already moved everything, except my Desktop-in-a-Jail (actually it is my home-cinema-jail).
The old system had a Radeon 9200SE, and it was enough for what I used it for. Now… for a few bucks you can get a lot more horsepower today. After looking around a little bit I decided to buy a NVidia card. I made this decision because it looks like I can get better driver support for it. So I got a GeForce GT 520 with 1 GB of RAM (I doubt I will be able to use that much RAM) and without a fan.
With the Radeon 9200SE I was not able to get the 3D stuff activated (at least in the jail, I did not try without), Xorg complains about a missing agpgart module but I have AGP in the kernel (no /dev/agpgart outside the jail). I did not spend time to investigate this, as the main purpose — playing movies — worked. Now with the NVidia card I decided to give the 3D part a try again.
After adding the NVidia device entries to the jail, and a little bit of fighting with the Xorg-HAL interaction, I got a working desktop. The biggest problem to verify that 3D is working was, that I did not had xdriinfo installed. After installing it, I noticed that it does not work with the NVidia driver.
Next stop nvidia-settings: runs great, displays a nice FreeBSD+NVidia logo, and … tells me that OpenGL is configured. Hmmm… OK, but I want to see it!
As I decided to switch from Gnome to KDE 4 at the same time (I was using KDE when it was at V 0.x, switched to Gnome as it looked nicer to me, and now I switch back after reading all the stuff in the net that KDE 4 is “better” than Gnome 3), I was a little bit out of knowledge how to see the 3D stuff in action. So I quickly went to the settings and searched for something which looks like it may use 3D. To my surprise, it was already using 3D stuff. Nice. I fully realized how nice, when playing a video and using Alt-Tab to switch windows: the video was playing full speed scaled down in the window-switcher-thumbnail-view.
That was too easy. I am happy about it.
Now that I have a working setup of X11-in-a-jail for Radeon and GeForce cards, I want to cleanup my changes to the kernel and the config files (devfs.rules) and have a look to get this committed. A big part of this work is probably writing documentation (most probably in the wiki).
I still want to see some fancy 3D stuff now. I tried to install x11-clocks/glclock, but the build fails with an undefined reference to ‘glPolygonOffsetEXT’.
Any recommendation for a fancy 3D display? My priority is on “fancy/nice” with as less violence as possible. Most probably I will look at it once and then deinstall it again, so it should be available in the Ports Collection (or included in KDE 4).
GD Star Rating
loading…
GD Star Rating
loading…
Tags: agpgart,
driver nvidia,
gnome,
graphic card,
home cinema,
home server,
kde 4,
nvidia card,
nvidia driver,
radeon 9200se —
I updated some workstations of the client to Solaris 10 update 9. Upon installing my xorg.conf (dual-screen setup) I had to notice that it does not work anymore. The problem is, that the NVidia driver does not contain support for the graphic card we use.
Normally this is not a big deal, this can happen… but in this case this is about SUN Ultra 20 workstations with SUN provided NVidia Quattro FX (NV37GL) cards. Ok, they are not the most recent ones, they where bought 4 – 5 years ago, but still, they just work as needed here and the current Solaris release has no out-of-the-box support for them. I would expect this to work already in a fresh install (yes, I was not able to get the nv driver to work with two screens on this graphic card, it seems the nv driver has not support for this).
Solution for me: download the old driver from NVidia and integrate it into Jumpstart (but still, some hours are lost because of first trying to get a working dual-screen setup with the nv driver before taking an old NVidia driver and using it like before in xorg.conf).
Another glitch a co-worker discovered is that StarOffice is not included anymore. That is again something which will cause some loss of time. I will have to have a look how to handle it. Probably it is best to install it on the server and mount it via NFS on the workstations. I will see soon if this is can be done (installation of OO into a specific place which can be shared) or not.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: dual screen,
graphic card,
jumpstart,
nice things,
nvidia driver,
solaris 10,
specific place,
staroffice,
two screens,
xorg —
Yeah! Finally I got time to finish my work to put a desktop environment (in this case GNOME) into a jail. At least I have a proof of concept (I write this with firefox running in my “deskjail”). No, I don’t do this for additional security (there’s more security than in a non-jailed setup, but less security than in an ordinary jail, as you have to allow access to a lot more devices than in an ordinary jail), I do this for additional flexibility: Moving my desktop is now only the install of FreeBSD on a new machine and rsyncing the jail over to it. As the machine will also be a host of several jails where I have some common users with the same UID in each jail, I don’t pollute the jail-host with the desktop stuff and I have everything nicely separated.
Without a kernel patch and good devfs rules you will not get Xorg up and running in a jail (at least I didn’t managed to let it recognize my graphic card without the kernel patch). Now I have to beef up the patch a little bit and ask for review (it weakens up the security a little bit like the sysctl security.jail.sysvipc_allowed=1 or security.jail.allow_raw_sockets=1).
But first I have to finish the move of all my services I use at home to the jail-host now.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: additional security,
desktop environment,
desktop stuff,
gnome,
graphic card,
jails,
kernel patch,
proof of concept,
raw sockets,
security jail —
I stumbled about a text which describes why it is beneficial to disclose hardware programming docs and why it doesn’t help in keeping this information away from the competition. I don’t repeat it here, so go and read it.
It’s a little bit old (last modified in 2003), but IMO still up-to-date. If someone approaches a company for hardware docs, please provide this link to them!
Unfortunately it fails to mention that it would even be nice to get docs for obsolete or not supported anymore hardware (if your competition learns even stuff from your hardware which is 3 – 4 generations old, it is not really a competition and you most probably are leading because of innovation, if not you either are too expensive and opening the docs would be a reason to buy regardless, or your software development is not good enough and opening the docs would allow users to fix this problem themselves). This could be a first step for a company to “test the water”. It would be an investment without any money in return (the company doesn’t sell such hardware anymore), but it would show the company how it affects their image, how much they have to invest and what they can get in return (when people do creative things with your obsolete hardware you haven’t imagined before, you can bet they can do the same with your current hardware too… you may get an entirely new market “for free”).
If you apply some more thoughts about this topic and for example graphic cards, you even notice that any information the competition may get by looking at freely available hardware docs for graphic cards (instead of reverse engineering it), can only be used 2 – 3 innovation cycles later. This is caused by the short turn around times between new graphic cards. When a new graphic card hits the market, a development team already works at the second next generation (and the next generation is most probably not only in feature freeze but at the bug fixing and performance enhancement step). Now, how much value does the competition gain from this? I would say only the money needed for the reverse engineering. At the same time you gain money from hardware sales from those people which use (the result of) your hardware docs. And the competition is required to open their docs too (see below for the “computer freaks” part), so you can safe the money for the reverse engineering later too.
For soundcards this is a little bit different. There you don’t have such short cycles, but currently there you have a published standard (HDA) and you have Creative with no docs at all on the other side. Hey, Creative, if you stumble upon this, what about kicking Microsoft in the ass by providing your hardware documentation to anyone and benefiting from a lot of people which are pissed off because their shiny Creative-gear doesn’t work on Vista? I’m sure a lot of people are willing to spend their free time to find a way to make your hardware useable on Vista (and on other OS’) without getting money from you. And I’m sure people will find a way to get stuff out of your hardware which makes your eyes fall out of your head (and increases hardware sales). Oh… yes… hey, VIA, what about the docs for your soundgear too? There’s no market for selling hardware docs, but a huge market to sell sound hardware. And those people which play around with non-mainstream software are those people (computer freaks) which recommend hardware to people (mom, dad, neighbors, friends) which don’t play around but just use mainstream software. Those “ordinary” people may not depend on your hardware docs, but the computer freaks will more likely recommend stuff which works not only on the mainstream stuff (just in case someone wants to try some non-mainstream stuff).
The same (computer freaks recommending hardware) is true for cable TV / satellite TV / … stuff.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: 4 generations,
feature freeze,
graphic card,
graphic cards,
hardware programming,
innovation cycles,
next generation,
obsolete hardware,
programming docs,
reverse engineering —