It's best to try and take it to Autozone or Checker/oReilly and pull the codes.
My GV did the same thing (minus the smoke) and I tried everything to fix it and ended up selling it. I cleaned the MAF, the MAP, the ICV, changed out the intake, ran seafoam twice, changed the oil, checked linkages, etc.
How many miles are on the engine? My problems didn't start until AFTER I ran seafoam through the booster vacuum hose on the valve cover side. After that she never ran the same.
What events led up to the engine issue? Overheat? Low oil?