The NVIDIA GeForce GTX 770M is not good for solid works because it easily overheats.
Basically, the best mobile (laptop) GPU is the GeForce 780m. You would need to upgrade more than just a "GPU or CPU" to be able to run a lot of games. As for being able to run any game on "ultra" it's just not going to happen, to be honest. Ultra settings often involve some kind of antialiasing which is a lot of work on the GPU. I have seen people using computers with TWO 780s that can't run ANY game on ultra with no performance drops. Even though there are a lot of great hardware packages that are being sandwiched into laptops these days, there are still limitations and games can still ask more than hardware can deliver. You could have a great gaming rig, however. See about upgrading to a nicer GPU like maybe a 770m and maybe a bit faster CPU.