I've had fun+games with Linux's video drivers this week, and some desktop startup (post login) problems that gave me login times in excess of five minutes (with a solid-state system drive!!!).
Hair torn out, lots of soul searching about whether Ubuntu was stable enough to use for work, etc.
Googling provided fixes to the boot/login problems*. The other proved a bit more 'interesting' but with a good outcome:
Sorting out the graphics card mess:
I have a reasonably inexpensive dual DVI-ported, AMD/ATI Radeon graphics card (6570, PCI-E). It's intended for low end CAD, etc., and one reason it was relatively inexpensive was that it's not a gamers' card . Brilliant for work though.
Under Windows, there is a pretty good control panel plugin ("AMD Catalyst Control Center"), handling colour balance, scaling, desktop positioning, etc. The standard xubuntu display driver isn't very good, but it turns out there is an up-to-date, proprietary AMD/ATI driver (for Ubuntu 14.04), and the equivalent control panel. I've installed it and I'm very pleased so far...
Getting AMD/AMI graphics card drivers:
For any reasonably modern graphics card, find out exactly what you have, by opening a terminal window and typing:
My card returns...
Code:
VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550]
... as part of the returned info from these two, piped-together commands.
(note:
lspci returns a lot of data;
grep VGA filters it but there's still a lot of spurious stuff onscreen - don't be alarmed by this).
Anyway, you can use one of the Settings 'applets' to find the AMD proprietary driver:
Or you can go directly to the AMD web site:
http://support.amd.com/en-us/download
The above link gives you several choices for Ubuntu (read the download list carefully!), crucially whether or not you go for a basic 2D driver (normal work, including Sketchup), or 3D (games mainly). My advice is don't push it! If you don't need the 3D tweaks, the 2D driver uses fewer resources, less memory and generally should be less troublesome (hopefully not at all). Note that you can see the new AMD control panel icons in the screengrab above.
So actually I installed via the Settings applet, and it's worked very well.
I also needed to re-install Wine, done from the Ubuntu Software Centre, but that was trouble-free. Sketchup runs faster, and with fewer glitches, and I think the output (rendered for the screen) is actually better.
The results
Here are a couple of "x-ray" views, which is one of the tougher rendering tasks for a graphics card +driver:
You'll immediately see I've cheated terribly with that model - no pulley cones in the gearbox, etc. In my defence, I was designing a table!
But the point is that the rendering is pretty good now, and Sketchup is nice to use, especially so with the new Wacom tablet. In particular the
orbit and
pan controls which are on the 2nd pen button are brilliantly quick and fluid when you're working. The 2nd and 3rd mouse button mappings (side buttons on the Wacom stylus) are swapped over from Windows, which is a pain. I'm used to the other way round, but I think I can fix that in the
conf file for the Wacom driver.
More on that anon if anyone's interested.
Hope that's useful and not too boring...
E.
**Whilst it was running OK-ish using the default xubuntu drivers, there were oddities, for example my two monitors were identified the wrong way round (how can this be? Over DVI the monitor actually tells the graphics card what it's called and what capabilities it has!). Also, occasionally, the Sketchup/Wine window would 'lose it' entirely - the main, non-taskbar/menu part of the window would go totally garbled. Forcing any sort of redraw, e.g. slightly resizing it, or actually doing something to the model would fix it, but it turned out to be an early warning of "fun" to come.
*Recovery mode boot + login was nearly instant, login via my normal account was nearly eternity!
If you have similar issues - that's a very long wait on the 'running mouse' screen immediately after logging in, loss of the Panel (rough equiv. of Windows' taskbar), and/or stuff missing from menus, it's probably caused by not shutting down correctly: simply delete
/home/[your account]/.cache/sessions/[everything] and shutdown/restart.
That should do it, but if menus are still missing, make sure
xfwm4 is in the Application Autostart list ( a tab under System... Session and Startup in the Settings Manager). It's the 'window manager' and having it there does no harm: if absent, create a new autostart entry ("+" button at the bottom of the list) and put in "xfwm4" as the command (you need to give it a name too). It's in the default path, so no complex command is required.