Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×
User Journal

Journal Journal: Linux: Steam on Mint 16 with Bumblebee

Good Bumblebee resource


Steam gaming was working cool under Mint 15, but after some update that got pushed I lost primusrun and optirun would not run Steam. Everything in my powers could not return primusrun without upgrading to Mint 16.

--First install of Mint 16 with Steam
  - I selected primus from the package manager
  - unknown to me why but games would just launch to a plain black screen and require ctrl+alt+backspace
  - I fiddled with installing the proprietary drivers and uninstalling the xorg ones, rebooted and X Windows would never load again. I reinstalled Mint 16

--Second Install of Mint 16
  - It was suggested to not use the package manager to install Bumblebee and instead follow the instructions on the website instead [3]

After install Bumblebee, I installed Steam which launched with the following error

error while loading shared libraries: cannot open shared object file: No such file or directory or "Missing 32-bit libraries:"

As suggested by vgriph on GitHub fixed the issue [2]
cd ~/.steam/bin
ln -s /usr/lib/i386-linux-gnu/mesa/ .

primusrun would only work as root and gave some permission denied to a bumblebee socket
2014/01/05 11:41:11 socat[27163] E connect(3, AF=1 "/var/run/bumblebee.socket", 27): Permission denied
primus: fatal: failed to connect to Bumblebee daemon: Permission denied

As can be seen you need to be a member of bumblebee
srw-rw---- 1 root bumblebee 0 Jan 5 11:39 bumblebee.socket

I made sure the currently logged in user was a member of the group bumblebee and restarted the computer.

The same error happened again. As suggested by a Bumblebee dev [1] I deleted the bumblebee.socket file and restarted bumblebeed. Same issue.

I therefore set the permission to 777 which solved the issue.

Old Quake engine games like the original Counter Strike launched fine, but all source based engines loaded with black textures. A lot of people suggested to make a 32-bit chroot but a simple toggle fixed it.
    install driconf, then enabled S3TC texture compression support [4]
Users experiencing black textures in video games may find a solution by enabling S3TC texture compression support. It can be enabled through driconf or by installing libtxc_dxtn.



Journal Journal: Conscience

You know the usual pand-handler's that are always looking for a
'toonie'? Well.. Yeah. They usually don't bother me. They look like
they just want smoke money..

                Well, I was pulling up to an intersection and she came up and cleaned windshield.... That was all fine and dandy.. I
was basically looking around in the car for change (didn't want to look in my wallet for change
in front of her), but all I had in there was pennies.. Well... I thought
giving her pennies would have been insulting...

                Now the service isn't whats bugging me... Its the fact that most
pand-handlers seem less then genuine. But this lady in her late 20's basically cleaned my window, smiled and said "have a nice day".. I could tell, from being totally horrible at sales myself what was going through the back of her mind.

Oh well. Maybe whats truly bothering me is that someone actually went out of their way to do something and was quite sweet about it and I couldn't return the favour. Arrghh

User Journal

Journal Journal: More win2k3

I don't think I've *ever* gotten a blue screen.

Of course not: Go to Start/Control Panel/System/Advanced, click "Settings" under "Startup and Recovery", then under "System Failure" uncheck "Automatically restart". Voila, you'll have blue screens again ;)

User Journal

Journal Journal: Notes for Win2k3

overiding 2003 to install comes down to 2 ways editing the installer wit added commands or hex editing the instaler for certain programs

I've been using 2003 server for moere than a year now and i must say it' rock solid

For most applications adding " /a " after thr installer (shortcut ) wil do just fine

when that doesn't work you can also try this >>

------- copy here ----

Option Explicit

Const msiOpenDatabaseModeReadOnly = 0
Const msiOpenDatabaseModeTransact = 1

Dim argNum, argCount:argCount = Wscript.Arguments.Count
If (argCount 1) Then
Wscript.Echo "Please supply the name of the msi file to be modified."
Wscript.Quit 1
End If

' Scan arguments for valid SQL keyword and to determine if any update operations
Dim openMode : openMode = msiOpenDatabaseModeReadOnly
openMode = msiOpenDatabaseModeTransact

' Connect to Windows installer object
Dim installer : Set installer = Nothing
Set installer = Wscript.CreateObject("WindowsInstaller.Installer") : CheckError

' Open database
Dim databasePath:databasePath = Wscript.Arguments(0)
Dim database : Set database = installer.OpenDatabase(databasePath, openMode) : CheckError

' Process SQL statements and delete the crap out of this installer!
Dim query, view, record, message, rowData, columnCount, delim, column
Set view = database.OpenView("Delete from LaunchCondition") : CheckError
wscript.echo "Launch Conditions Removed"
Set view = database.OpenView("Delete from InstallExecuteSequence where Action='OnCheckSilentInstall'")
wscript.echo "OnCheckSilentInstall step removed"
Set view = database.OpenView("Delete from Property where Property = 'ISSETUPDRIVEN'")
wscript.echo "Property ISSETUPDRIVEN removed"
Set view = database.OpenView("INSERT INTO Property (Property,Value) VALUES ('ISSETUPDRIVEN',1)")
wscript.echo "Property ISSETUPDRIVEN added"
Wscript.Quit 0

Sub CheckError
Dim message, errRec
If Err = 0 Then Exit Sub
message = Err.Source & " " & Hex(Err) & ": " & Err.Description
If Not installer Is Nothing Then
Set errRec = installer.LastErrorRecord
If Not errRec Is Nothing Then message = message & vbLf & errRec.FormatText
End If
Fail message
End Sub

Sub Fail(message)
Wscript.Echo message
Wscript.Quit 2
End Sub
----- end copy ---

save this in a file with extension *.vbs

now copy the installer *.exe or *.msi to your hard disk with the rest of the installer and drag it over the visual basic script this will remove all os checks in the installer

kinda neat huh :)

along the way it wil tell you exactly what it's doing

when finished run the application works for games to

like Vampire masquarade and Doom 3 Ressurection of Evil

Well enjoy one of m$oft best OS
by the way i got my version from the MSN beta cd so i guess it's legal

did some minor ***ching

Laters compadres

GNU is Not Unix

Journal Journal: Geeks way of cheering someone up

I had a dilemma, and had to solve it. How I went about it, well lasted longer then expected.

I have two sisters: Amanda 11, very social & Katie 9, your typical wannabe geek.

From the creation of the internet it allows people to interact with others that they care about, in totally different ways that wasn't possible 10 years ago.

The family pretty much discovered Amanda in tears at the computer, to discover she was upset about a friend from school that was mad at her. On Habbo she was able to carry on whatever fight it was onto the virtual battlefield.

Being my typical disconnected person I couldn't really understand her obsessive nature, and felt it was quite damaging as she has no experience in text based communications and could take one too many things to heart.

Habbo basically lets people communicate with others in a virtual world. You choose your own avator (customize him/her by clothing, hair, colour).

People can either take this avator they have created and join public places that are owned by Sulake and Chum to socialize with others in a fairly limited enviroment (get drinks, dance, swim, chat, etc). The other option is to either create or join other peoples hotels. Major catch, start your own home, its well, empty.. To add items it costs money..Lots of money...

Alright, alright, your asking yourself what this has to do with cheering her up, right??

Well, back to the dilemma.. She is in tears and feels she has no friends (well, DUH, she entered a game where she knows nobody but one person..Someone thats not being very supportive)

So her obsessive nature keeps bringing her back to the one person she knows, and just keeps creating tons of chaos.

Remember Katie? Yeah, the wannabe geek watching over her shoulder. I summon her over to my computer and propose to cheer her up (that and borrow her expertise in Habbo).

I create a new account...CowboyNeal, what a surprise, eh? The name was only supposed to be used for tempory purposes only..

Katie is frequently going back and forth to update her location so we are able to pin point her location. We find her standing alone..

Say hi and practically latches on like a magnet :D
No effort required. The first thing she speaks of is her friend (blah, blah, blah as we wad through it).

Low and behold they don't filter logins by cookie OR IP (someone should fire the programmer there at Sulake).. Make a long story short.. She now has LOTS of friends..muahahahaha

To be honest, I really don't have a clue how long its been going on for (too long?) but I spent a bundle of cash on "items" from the habbo world (made both my sisters happier then two pigs in mud)*hides the Credit Card bill*

The buggy part is she wanted to latch on a little to much (have a gf?) kinda questions.. Took awhile to convince her of "House Buddies". Bonded so much that she even put photos of CowboyNeal on her desktop ;)

Actually for the first week, CowboyNeal is all that we ever heard of for awhile, hehe..

Well, she had a friend over today, and not certain who suggested it.. But she asked my age.. So I was honest "Old enough to have a credit card".. Well.. Answer was 20ish....Now she seems a little freaked out so I belive I kinda owe her a little note....

It served its purpose.. They are both happy :D
She now has some real friends now ;)

If you reading this there, sis.. Don't take anything personal on the Internet.. You'll thank yourself later ;)

Journal Journal: Slashgift

When I loaded up my morning slashdot I saw they gave me some of these! :)
User Journal

Journal Journal: Upgrading linux installation

My lame attempt at different distros (had enough of Redhat 8.0)

Redhat buggy graphical start /etc/inittab, change the runlevel to 3 instead of 5

Knoppix notes
to login root
sudo root --> set password
in console login --> root
in Konsole (GUI) ---> su

apt-get install alsaconf

Flash click to view! :) no more annoyances

User Journal

Journal Journal: Hopeless

Everytime I visit these match making sites in the thought of raising my spirits the reverse usually happens.

When I'm feeling helpless trying to find somebody in the real world I turn to sites like HotorNot (paying the tax to send message) to later just get more frustrated and realise all these girls are just doing it for the fun of it and already have a significant other anyways and its just toally pointless.

Then I go back to reality to look for someone then I realize again. Nobodys ever single and if they are I lack a freakin job. Blah.

Though I think the the last girl I went out with over HotorNot is probably why I end up down when visiting those sites now.

User Journal

Journal Journal: Reduced to a number

With these online dating services I find the huge ratio to male:female quite ridiculas. I've had this happen countless of times where I would get a double match with some lady and find this out --> This person has 60 double matches!. But never ever, ever have I witnessed this!! ---> This person has 4676 double matches! as you can see in the screenshot.

*ahem* but thats a good chunk of the network (maybe 5%)?

Basically what I'm ranting about is I hardly see how, I, one person out of four thousand six hundred seventy-six "potentials" is going to make any mark.

Oh well, atleast shes single :)

User Journal

Journal Journal: Beer, Beer, Beer

Best description for our domestic beer so far here.

I'll take Wiskey and Wine anyday :)

User Journal

Journal Journal: platonic female friend

I seem to have a ton of platonic female friends and acquire them much more frequently then other folks.

        I always thought I was being sucked into being a mentor but mentors don't get told repeatedly stuff that is irrelevant.

        Theres one platonic female friend I have which repeatly keeps telling me her exact marks which everytime which I reply with something to the effect of "you don't need to keep telling me your grades; a friend can tell if your giving it your best and thats all that ever matters". But regardless of my comment she continues to do so.

        Then there when she tells me about her firance when I flattly outright tell her I really don't care. But she contiunes to remind me and other people about how controlling her firance is and even vented last year about him not coming down to see her.

        This is after I met her on the bus a few times, given her rides since then, etc. She clearly knew I was hitting on her (before I new she had someone).

        Though even after she dropped the bomb about mentioning a significant other then I switched to considering her a friend. But obviously some girls don't know how to be friends without being platonic except for one lady which I hope she comes back again before I'm finished school.

        My idea of a friend (girl without being a signifant other) is someone you can spend time together chatting (see social life in dictionary) elsewhere besides school and maybe even playing some sports for fun (see exercise in dictionary)

        Thing is in todays society once a girl in North America gets someone else they obsess over that one individual. When they do this they can't go out with another guy for fun without fear from the significant other that she might decide to cheat (look up net for smartass comment)

        Than added to that the anti-social blanket the net offers (no talking online isn't social).

        In the 21st century when you ask a lady for her phone number, she hands you her MSN screen-name! When you talk to her online you'll find it will go something like:

Girl - Hi
Guy - Greetings
Girl - Whats up?
Guy - Not much (continue rambling)
Girl - ok
Guy - Tries to continue conversation
Girl - o (pronouced oooh)

Unless you really have something to talk about it usually goes pretty boring.

But nonetheless as you talk to her over MSN you find it takes almost five minutes for her to reply. Then when you get to school the next day you see her gabbing away on MSN in the classroom in the corner of the room with six pages of contacts, talking to eight people at once and wonder how she carries on any intilligent conversation with one individual.

        Then if you are ever interested in a lady and try the usual motions to tell her she just outright stops talking to you.

        Maybe this dude is right and all slashdotters are only ever going to have platonic female friends.


Journal Journal: Useful Linux commands to not loose :-)

This post is for linux commands and information I don't want to loose; what other place to backup then on slashdot, eh? :-)

Test speed of hard disk
hdparm -tT /dev/hdX

Enable DMA on hard disk
hdparm -d1 /dev/hda

Recover RPM freeze (after system restart of course)
kill the rpm, rm -f /var/lib/rpm/__*, rpm --rebuilddb, try
+again (don't remove the __ )

Log ps aux every 1 second to file
while [ 0 ]; do ps aux >>/mnt/dos/linux/ps_ax_log; sleep 1; done

Some port check thingy
netstat -tn | grep (portnum)
or lsof -i (prot):(port)

My NAT settings that work for Redhat 8.0
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward

backup MBR

dd if=/dev/hda of=hda.mbr bs=512 count=1

For knoppix its
sudo sh -c 'echo 1 > /proc/whatever'

To mount something that is accessible by everyone (aka FTP & HTTP)
mount it with gid=<your users group> and a umask that lets everyone have read access
when youre within your account
whoami --> actually its ID (lower case)
should give you the gid
<FoPref> try -o umask=000 (IIRC this is what I used)
User Journal

Journal Journal: Greetings 1

I've been reading Slashdot for many years and I have recently started to participate in the discussions and get an account instead of just reading them. Now I've came about and decided to start making some journal entries.

For all who care you can go here to get an idea of my activities on the Information Highway formly known as the Internet.

Slashdot Top Deals

Your fault -- core dumped