TwinView, openSUSE, and the NVIDIA driver
·2 min read·paskov
A week ago, I bought a 37″ LG LED TV for my living room. It’s cheap and has a lot of features. After buying a 10 m DVI to HDMI cable, I connected the TV to my development machine, which also happens to be in my living room. It’s great for watching HD movies late at night or playing games when I feel like taking a break.
My development PC runs openSUSE 11.4 and has an NVIDIA GeForce 8600 GT graphics card. It’s old, but it’s perfectly good for my needs. I’m using the proprietary NVIDIA driver and a great tool that comes with it: NVIDIA X Server Settings.
Here’s how to configure both displays and make the changes permanent.
Configuring TwinView
- Open NVIDIA X Server Settings and select X Server Display Configuration. You should see your displays there - in my case, my primary monitor and TV.
- Select the disabled display and click Configure….
- In the Configure Display Device dialog, choose TwinView and click OK.
- Adjust the display resolution and refresh rate if needed.
- If you want the selected display to be the primary one, select Make this the primary display for the X screen.
- Click Apply. Adjust the options until you’re happy with the results, but leave NVIDIA X Server Settings open.
Saving the configuration
- Open a terminal, become root, and open
/etc/X11/xorg.conf.d/50-screen.confin a text editor. - In NVIDIA X Server Settings, select Save to X Configuration File, then Show Preview.
- Find the
Screensection in the preview. Copy its generatedOptionlines into theScreensection of50-screen.conf, immediately after theMonitordirective. - Save the file, close NVIDIA X Server Settings, and log out. After the X server restarts, your saved settings should be applied automatically.
Related Posts
Gentoo GNU/Linux on Acer Extensa 5620Z
2010-11-14
Heroes III on GNU/Linux
2011-05-18