10:46:00 pm by wdawe, Categories: General

Before installing CUDA 7.5 on Centos 7 you need to update both your kernel and X using yum update otherwise mayhem will ensue and X won't start. I installed them in the wrong order and ended up with the following error when I tried to start X.

[ 467.272] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 467.272] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 467.272] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 467.272] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 467.272] (EE) NVIDIA(0): reinstalling the NVIDIA driver.

reinstalling the nvidia drivers didn't solve the problem the key turned out to be this which occurs a bit higher in the Xorg.0.log file

[ 467.240] (II) LoadModule: "glx"
[ 467.240] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 467.261] (II) Module glx: vendor="X.Org Foundation"
[ 467.261] compiled for 1.17.2, module version = 1.0.0
[ 467.261] ABI class: X.Org Server Extension, version 9.0
[ 467.261] (==) AIGLX enabled

That's not the glx driver that NVIDIA needs so I went to /usr/lib64/xorg/modules/extensions and removed the libglx.so that was there and made a link to the NVIDIA version.

cd /usr/lib64/xorg/modules/extensions/
rm libglx.so
ln -s /usr/lib64/nvidia/xorg/libglx.so

not pretty but it worked.

 PermalinkLeave a comment »
  09:35:00 pm by wdawe, Categories: General

All of a sudden port forwarding stopped working in dd-wrt, checking the nvram showed lots of old upnp port forwards hanging around and no space left in the nvram.

root@DD-WRT:~# nvram show | grep forward_port

forward_port66=37084-37084>,udp,on,Skype UDP at (2587)
forward_port67=37084-37084>,tcp,on,Skype TCP at (2587)
forward_port68=45327-45327>,udp,on,Skype UDP at (2587)
forward_port69=45327-45327>,tcp,on,Skype TCP at (2587)
forward_port350=14494-14494>,udp,on,Skype UDP at (2718)
forward_port351=14494-14494>,tcp,on,Skype TCP at (2718)
forward_port353=21858-21858>,udp,on,Skype UDP at (2718)
forward_port192=15255-15255>,udp,on,Skype UDP at (2661)
forward_port354=21858-21858>,tcp,on,Skype TCP at (2718)
size: 65549 bytes (-13 left)

This command removes all the old forwards and freed up enough nvram so that the wifi parameters could be saved.

root@DD-WRT:~# for i in `nvram show | grep forward_port | cut -f1 -d=""`; do nvram unset $i; done
root@DD-WRT:~# nvram commit

root@DD-WRT:~# nvram show | grep forward_port
size: 26808 bytes (38728 left)

  09:33:00 pm by wdawe, Categories: General

By opening System Settings > Displays you can change your "primary" screen by dragging the black little bar to the display you want and hit the Apply button. ( from http://askubuntu.com/questions/113246/permanantly-set-monitor-as-primary)

Copy the configuration file over to the gdm settings
cp ~/.config/monitors.xml /var/lib/gdm/.config/ (from http://askubuntu.com/questions/11738/force-gdm-login-screen-to-the-primary-monitor)


  03:20:00 am by wdawe, Categories: General

My 3D scan from the Beginner 3D workshop I took at Hot Pop Factory rendered on the web using SketchFab.

by wayne1
on Sketchfab


  05:24:00 pm by wdawe, Categories: General

I have been looking around trying to figure out if it's possible to stream the 2014 NCAA March Madness tournament in Canada with some success. TSN is broadcasting the tournament in 2014 starting with the second round, you can see the schedule here and TSN does allow Rogers and Bell subscribers to watch TSN and TSN2 live at http://www.tsn.ca/tsnschedule/?collection=72&show=68592&section=Sports. Make sure you have your Rogers Anyplace TV username and password or MyBell username and password available to log in. TSN has links to their Android and IOS apps on the TSN GO page at http://www.tsn.ca/go/. All we can do is wait until the tournament gets underway and see whether this works. Based on what it says on the schedule page it looks like the first round games are only available using the TSN GO app for either android or IOS. Note that when I installed the TSN GO app on my Nexus 7 it wouldn't run, poping up a tablet support coming soon message box. Looks like you need to use up your data if you want it to work.


Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.


  XML Feeds

Web Site Builder