Showing posts with label ghosting. Show all posts
Showing posts with label ghosting. Show all posts

Monday, March 12, 2012

Ghosting, Connectors and Adapters: VGA, HDMI, and DVI (DVI-I, DVI-D, DVI-A, etc.)

I was using two monitors.  Each had both VGA and DVI connectors.  Connecting the second monitor via VGA gave me occasional ghosting (i.e., a block of color would smear from left to right, slightly visible beyond where it was supposed to be).  It appeared to be a VGA-related problem.

I guessed (maybe with the aid of some previous browsing) that the problem would go away if I used DVI or HDMI instead.  I would have liked to connect both via DVI or HDMI, but the computer had only one VGA, one DVI, and one HDMI jack.  I had a spare video card, but it too had just one DVI and one VGA jack.  It looked like video cards with two DVI jacks or two HDMI jacks were expensive.  (Later, prices on at least one such card had dropped to $70, though that was still more than I cared to pay.)

The motherboard did have an unused HDMI jack, so I bought a DVI-to-HDMI adapter.  But the HDMI port was right next to the DVI port, on both the motherboard and the optional video card.  The adapter was too big to fit there, if I was also using the DVI jack.  The adapter had a female DVI connector, so I couldn't use it on the other end, at the monitor, where a male connector was needed.

It seemed that I needed an HDMI cable to run from the computer to the monitor, and a male DVI adapter to connect to the DVI port on the monitor.  The question there was which kind of male DVI adapter I needed.  Based on drawings at Wikipedia, there appeared to be at least a half-dozen possibilities.  As elsewhere in life, it seemed the ideal solution would involve the minimum number of pins on the male side, and the maximum number of sockets on the female side.  That would minimize the risk that there would be one or more male pins without a corresponding female socket, in which case no connection would occur.

All DVI configurations seemed to consist of a spadelike (flat, wide) connector at one side (let's say the left) and one or two roughly rectangular arrays containing 12 to 24 small round pins on the other side (i.e., in the center and toward the right).  The DVI-D offered one ideal male configuration, insofar as its spadelike connector was not surrounded with four extraneous round pins.  The Single Link option offered another ideal male configuration, with only 18 pins arranged in two clusters of nine in the center and on the right (rather than 24, as in the Dual Link alternative).  Putting these two together, the most available male was the DVI-D Single Link:  its spade side would match any DVI female, and the two sets of nine pins on its right side would match all DVI-I and DVI-D females.

The DVI-A appeared to be an especially troublesome case, with four additional pins on the spade side and irregular groups of four and eight pins on the right side.  It seemed that a female DVI-A would be able to mate only in an equally irregular DVI-A male cluster setting.

The female DVI jacks on both the computer and the monitor offered a relatively agreeable DVI-D Dual Link connector, with the maximum number of sockets in the right-side cluster.  They fell slightly short in not offering the extra four sockets on the spade side that a female DVI-I Dual Link connector would have provided.  This would have mattered if I had been trying to use a DVI-I cable, but I wasn't.  Both ends of my cable had the felicitous DVI-D Single Link male connector, which would be able to get along with almost any female aside from the DVI-A.

It seemed, then, that my HDMI cable, running from the computer to the monitor, was looking to be teamed up with a male DVI-D adapter, not a male DVI-I.  (As a mnemonic, I thought of the harder-to-mate DVI-I male as Idiosyncratic, in contrast to the more agreeable Dude.)  The male DVI-D could be either Single or Dual Link, thouigh the former would be more suitable for other possible connections in the future.  On the other hand, not being familiar with video electronics, I thought maybe the greater number of pins in the Dual Link might yield more pleasing results.

I viewed some debates on DVI vs. HDMI. The sense I got was that HDMI was more convenient (easier connectors, audio inline) but DVI-D was more reliably good.  If my monitors had offered an HDMI jack, I could have tried an HDMI Y-adapter to get around the single HDMI jack on the computer, but that wasn't in the cards for me now.

I was able to order a generic HDMI cable and adapter for about $7 total.  When they arrived, I hooked them up.  The HDMI-connected secondary monitor looked great!  Now I had a new problem.  The primary monitor, connected by DVI cable, was blank.  Device Manager (in Control Panel) was fine with the idea that I now had only one monitor.  Device Manager > View > Show Hidden Devices did not make any difference.  I went into Device Manager > Display Adapters > ATI Radeon HD 4250 > right-click > Properties > Driver tab > Update Driver > Search automatically.  It said I already had the best driver.  I ran a search.   There were the inevitable suggestions to update drivers, but that didn't seem to be helping these people.

I tried unplugging the HDMI.  Now the DVI was working.  Replugged the HDMI; now no DVI.  Evidently I could have one or the other but not both.  Tried using VGA instead of DVI for the primary monitor.  Same result:  I could have one monitor or the other, but not both.  But then, correction:  unplugging and replugging did give me VGA and HDMI working simultaneously:  primary VGA, secondary HDMI.  No VGA ghosting at the moment.  Funny, Device Manager listed both monitors as being Analog.  Maybe I didn't need HDMI -- maybe I should have just tried using VGA (primary) - DVI (secondary) instead of the opposite, DVI-VGA?

Anyway, I left it like that:  VGA primary, HDMI secondary.  When I finished this writeup for posting, a couple weeks later, there was still no ghosting, so this seemed to be a fix.

Friday, March 25, 2011

Windows 7: KVM in a Multimonitor Setup

I was using two monitors with two computers.  After reflecting on multiple monitor possibilities, I installed an ASUS EN210 video card in each computer.  This allowed me to connect dual displays.  I decided that monitor A would be available to both computers, and monitor B would be available only to computer B.  To make this happen, I connected monitor A to a keyboard-video-mouse (KVM) switch.  So computer A was visible only on monitor A, whereas computer B was visible across the two monitors (assuming that's where I had the KVM set).

Problem:  every time I switched back to computer B on the KVM, monitor A would go blank.  This was not a problem when I was using the KVM only to switch the mouse and keyboard, leaving each monitor dedicated to one computer.  It arose only in the dual-monitor setup.  It seemed that the computer was not remembering the dual-monitor settings for monitor A on computer B.  Each time, I had to go back into Control Panel > Display > Change Display Settings > Detect.  (This KVM problem also seemed responsible for screwing up Adobe Acrobat 9. It was no longer remembering my toolbar settings the way I had previously set them. This seemed to be fixed by going into Acrobat's Help > Repair Acrobat installation.)

A search led to the suggestion that the problem I was having with monitor A was with the KVM:

It is a problem found with those KVM switches which did not pass the console display's EDID and DDC information to all the systems connected to the KVM switch. ...
Windows 7 checks display and display card constantly different from what XP and other operating systems did.
To solve this issue, just replace the KVM switch with those KVM switches supporting FULL TIME Active DDC function.
Please check ConnectPRO new UR or PR serial KVM switches which support Active DDC function to all the ports.
That post pointed me toward a Microsoft webpage with more technical information.  I did another search and saw references to ConnectPRO there too.  A different search suggested that lots of users were running into this problem.  Newegg's Power Search didn't offer an operating system selection, and they didn't seem to carry ConnectPRO KVMs.  A Google Shopping search led to two ConnectPRO KVMs, each costing at least $130.  I ran across a workaround suggestion to hit Win-D before and after switching with the KVM, but apparently that worked only with XBOXes, or anyway it didn't work for me.  There was another workaround, too technical for my blood.  Another thread prompted me to check for the most current driver for my ASUS EN210 graphics card.  As I recalled, the usual advice was to look for the latest drivers on the chipset manufacturer's webpage, so after consulting the details on the EN210, I went to the NVIDIA website and searched for GeForce 210 drivers.  I went with the most recent WHQL-certified driver.  After reboot, I saw that this did not solve the problem.  Note:  the machine had all current Windows updates at this point.

It seemed I had a choice.  I could go back to using one monitor per computer, or I could look for a hardware multimonitor solution.  Going back would mean waiting for Microsoft to fix this problem with Win7.  There was no guarantee that that would ever happen.  Basically, if I wanted multimonitor support for KVM-type functionality for two computers running Win7 (as distinct from one Win7 and one WinXP), it seemed I would either have to buy an expensive KVM or maybe come up with some other kind of funky plugging and switching.  For instance, I wondered whether I could make a go of it with two keyboards, two mice, and a switch just to flip monitor A from one computer to the other.  But this wouldn't circumvent the problem that Windows 7 was constantly polling the monitor, and that was the only thing that counted.  I found a device called the Geffen DVI Detective, which for $80 would remember the EDID and therefore defeat the problem (but only for monitors using DVI connectors).

Then I saw that Amazon carried a bunch of ConnectPRO KVMs, and some were far less expensive.  They did not carry the PR-12, which was the one PS/2 (as distinct from USB) KVM that ConnectPRO offered for my humble purposes:  two computers, one keyboard, one monitor, one mouse.  USB did not work reliably for both keyboard and mouse when Win7 was not running -- when, for instance, I was booting from a CD, or was adjusting the BIOS settings before the operating system booted.  But then I remembered that my new motherboards had only one PS/2 port, and the PR-12 would definitely require two (one each for keyboard and mouse).  I did have the option of using USB mice, one dedicated to each computer, and in fact had been doing that for a while, partly for the reason of pre-boot capability just mentioned and partly to reduce the strain on either wrist.  Another option was to use an adapter or some other gizmo to give me a second PS/2 port.

From ConnectPRO's product comparison page, it seemed there were several options to consider.  One was the choice between VGA and DVI.  DVI provided superior video, but VGA (using D-Sub connectors) was functioning well for me at the moment.  (DVI achieved using DVI-VGA adapters had, in my impression, the same risk of video problems as plain old VGA.)  It seemed that a couple of inexpensive video cards had eliminated problems of ghosting that I was getting when I had the monitors connected directly to the motherboards.  There was also the choice of two- or four-computer KVMs.  I needed only two.  Switching via hotkey was preferable to having to reach up and punch a button on the KVM in order to switch between computers.  All of the relevant ConnectPRO KVMs had All-time Full DDC, which was evidently the core need behind this KVM search.  ConnectPRO's Pro line of KVMs apparently did not have the Dynamic Device Mapping (DDM) technology that would remember attached USB peripherals (e.g., speakers, mice) and would thus eliminate lag time required for the switched computer to re-detect the devices.  It was confusing, shopping among these devices on Amazon, because there were various "kit" options that were described as "new" and yet did not appear on ConnectPRO's website, and also because now it started to look like some of these products did not have Full DDC and/or DDM.  What I came up with was a choice, for me, between the UR-12 PRO, with VGA and DDC but not DDM and no hotkey option ($102 with shipping from ConnectPRO through Amazon); the UR-12 PLUS, with VGA, DDC, DDM, and a hotkey option ($176); and the UD-12 PLUS, which was the same as the UR-12 PLUS but with DVI (and therefore with VGA as an option, via adapter) ($191 from a couple of sellers).

Since I was having no video issues at the moment, and might not have any again for some time, I decided to go with VGA rather than DVI, all other things being equal.  If I did get video problems, I could sell one KVM and upgrade to another later.  So then it was a question of whether I was willing to pay an extra $74 for DDM and a hotkey option.  DDM was nice -- I had noticed the lag in responsiveness at some point, hard to recall at the moment but apparently when I had upgraded from Windows XP to Windows 7 -- but that was not really bothering me much at present.  Those delays, and the hotkey, were especially important when I was doing a lot of switching between computers, which happened primarily when I was testing or tinkering with hardware or software on one machine and logging the developments on the other.  I was not presently doing much of that, and didn't plan to be doing much of it anytime soon.  It occurred to me that, if the DDM lags did bother me at such times, I could always dedicate one mouse, one monitor, and one keyboard to each computer at those times.  I could arrange that on my desk, and then the only lag would be the time needed to reorient my hands on the other keyboard.  Indeed, for purposes of working with the BIOS and such, I could simply keep a PS/2 keyboard always plugged in and standing off to the side of each computer, in addition to the USB keyboard connected to the KVM.  (PS/2 was not hot-swappable; it would be necessary to reboot to have the keyboard be recognized if it were not plugged in at time of bootup.)  Looking at the choice again, I reconsidered that the price difference between the UR-12 PLUS and the UD-12-PLUS was only $15.  From that perspective, I would choose the latter over the former, so as to wrap up the best product at not much additional cost; and in that case, the price difference between the solution with or without DDM, hotkey, and DVI was substantial:  the UD was almost twice the price of the UR.

As long as I was sure I did want to use dual monitors on computer B, sometimes swapping monitor A between computers A and B, I would need Full DDC, and it seemed the choice was then to spend $102 on a ConnectPRO UR-12 PRO KVM.  If I hadn't gotten the video cards for only $18 each, the decision to add dual monitor capability (with KVM and video cards) would then have cost me more than $150.  It was worth it -- dual monitor capability added a lot to a workspace -- but it was turning into more hassle and expense than it should have been.  I belatedly realized that perhaps I should have looked for a motherboard with dual monitor capability and with enough video memory so that the computer would not struggle to switch between windows on the same monitor, as computer A had been doing before I added the video card.  Desk space permitting, that kind of expense also raised the question of perhaps having three dedicated monitors -- one for computer A and two for computer B, and recabling one of the latter to computer A if a multimonitor need arose there -- thereby reducing the KVM need to a simple $20-30 device that would swap keyboards and mice, assuming those were not likewise dedicated to single machines.  The temptation to just get a third monitor and forget about the Full DDC KVM would be even stronger if I were looking at the nearly $200 price tag for a ConnectPRO UD-12 PLUS KVM.  But even without that, as I considered the time I had devoted to screwing around with KVMs, on this and on previous occasions, I did think that possibly the best approach would be to go with the third monitor, wait for someone to compete with ConnectPRO and/or for Microsoft to get its act together -- to buy a third monitor as an interim solution, in other words, and to sell it when and if a superior KVM alternative emerged.