Pages

Showing posts with label nvidia. Show all posts
Showing posts with label nvidia. Show all posts

Monday, September 20, 2010

Disaster. It doesn't get worse.

Familiarity breeds contempt. My faithful Debian Lenny web server, git repository, mysql server, irc gateway, ftp server etc etc has exploded. Most importantly is was my LANs DHCP and DNS. What does this mean? It means, and astonishingly, that my main development machine wont even boot into X. Can you believe that? Turning DNS back on on my router confirms that DNS not working on the designated dhcp/dns server actually stops the GLX module loading on my development machine? OK. DNS is back on, courtesy of my router, and this machine is now full res again with the Nvidia drivers correctly loaded. But talk about screwy dependencies.

The server is now at the doctors hopefully getting a new PSU. The outlook is bleak. Oh yes. Contempt? Yup. I hadn't checked the server cron jobs were correctly backing up things like the individial web servers mysql dbs. They weren't. Cron had decided to give up the ghost about a month ago it seems - mea culpa - I need to discipline myself to not trust this stuff as much as I have been.

The feeling of helplessness when booting a trusted debian desktop machine only to get the "X not loaded" BSOD and then having to wait 10 seconds after every bash command because of name resolution issues is really quite accute.

Fingers crossed that Hermes responds to treatment and that the good doctors at Level 1 can graft on a new PSU. It's an old P4 machine. A rock. A workhorse. And broken.

Sunday, March 8, 2009

xrandr, nvidia, xmonad, cedge and games

So the situation gets better. Now I am using Twinview where both
displays share a single xscreen, xrand now works. This enable cli like
control of the displays. So lets add a load more meta modes to the
screen seciton of my xorg.conf:


Option "metamodes" "DFP:1280x1024,TV:1024x768; DFP:1280x1024,TV:NULL; DFP:1280x1024,TV:800x600;DFP:1024x768,TV:NULL;DFP:NULL,TV:1024x768;DFP:NULL,TV:800x600;"


And now add the xmond lines to control them:

  • -- multi monitor stuff
  • ,((modMask(myConfig) .|. controlMask, xK_1), spawn ("xrandr -s 0"))
  • ,((modMask(myConfig) .|. controlMask, xK_2), spawn ("xrandr -s 1"))
  • ,((modMask(myConfig) .|. controlMask, xK_3), spawn ("xrandr -s 2"))
  • ,((modMask(myConfig) .|. controlMask, xK_4), spawn ("xrandr -s 3"))
  • ,((modMask(myConfig) .|. controlMask, xK_5), spawn ("xrandr -s 4"))
  • ,((modMask(myConfig) .|. controlMask, xK_6), spawn ("xrandr -s 5"))
And bobs your uncle. Want to play Bioshock with the TV off at 1280x1024? Hit C-Mod-1.

C-Mod-0 to get the default desktops back.