This is one of a number of pages about installing Kubuntu Linux on a Sony TX1XP laptop. To see the other pages go here
The TX1XP uses the Intel Graphics Media Accelerator 900 chipset. My Kubuntu seems to refer to this as 915
I got the following from Arild Bergh
I'm attaching two xorg.conf files which makes it possible to use an external monitor, took forever to get it right, mainly because of a buglet: Basically when you switch between configurations (by renaming the xorg.conf.internal/xorg.conf.external to xorg.conf) and then restart the X Server by pressing Ctrl+Alt+Backspace (seems to need to do it twice to work,,, security I guess) the screen on the Vaio takes on the resolution of the external screen. At this point one thinks "dang, something wrong with xorg.conf", but in fact doing another reset at the KDE login prompt will sort it out. Why I don't know, but it works beatifully with external display.
You are probably NOT going to want to do something along the lines of:
sudo -s cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak cp [one of the above files] /etc/X11/xorg.conf then press Ctrl+Alt+Backspace to restart X then repeat the Ctrl+Alt+Backspace key combo when the KDE login prompt appears.
Why? Compare the
to what you currently have in /etc/X11/xorg.conf. It may differ. It looks like these files have also been modified to apply a fix to the touchpad device. See this page for details about the touchpad changes ... which personally, I've not applied as I am quite happy with the default touchpad behaviour.
As I haven't applied the touchpad fixes, I had what should have been an original xorg.conf file. Using the files above as a crib, I created the following file:
Replace the existing single instance of Section "Device" Section "Monitor" Section "Screen" With two instance of each : one for the laptop screen and one for the external monitor. Then, modify the instance of Section "ServerLayout" to include both Screen's, and determine which side the external monitor should be on (LeftOf or RightOf)
You may want to adjust the Mode sections to a resolution supported by your monitor
and you may also want to check the Horizontal and Vertical refresh ranges
HorizSync 30-81 VertRefresh 56-75
Hitting Ctrl-Alt-Backspace twice caused the X server to restart, and after a few seconds I have two screens working in tandem. Magic!
Initially I found that VLC would only play video on the laptop screen, showing a blank screen on the external monitor. Mplayer didn't have an issue (although I've still not figured out how to keep the audio and video in sync with mplayer - see the next section).
Going into the Settings menu in VLC, then
Preferences -> Video -> Output modules
then changing the Video Output Module to
X11 Video Output
appears to fix that problem. Like this, Full screening the video in VLC will flip back to the laptop screen, but in windowed form, it plays nicely on the external screen.
To fix the fullscreen issue on the external monitor, the best I've found so far is to comment out the following line in /etc/X11/xorg.conf
#Option "Xinerama" "on"
And hit Ctrl-Alt-Backspace a couple of times to restart the X server.
The catch here is that you don't get one (rather cool) single desktop that is split across two screens. Instead you have two screens, each with their own desktop. You can still mouse between the two, but you cannot drag windows between the monitors.
What you start on the external monitor stays there. But, full screen works in vlc.
I'm not sure if this is worth it or not, but heck, processing 24 bit colour has to be more work than dealing with 16 bit color and as I cannot tell the difference, I figure this ought to give the graphics card a slightly easier time.
(First take a backup copy of that file, then) Find the following:
Section "Screen" Identifier "Default Screen" Device "Intel Corporation Intel Default Card" Monitor "Generic Monitor" DefaultDepth 24
And change DefaultDepth to 16
anyone figured out how to adjust the resolution yet?
Alexander Stefanescu sent me the following great advice. Note he's using 6.06 Dapper Drake and Ubuntu:
I use the external VGA-plug mainly for giving talks with a projector, so I was quite unhappy with using xinerama to drive the VGA-out. The i855-crt and i810switch tools also didn't work correctly for me. But reading the documentation for xorg's i810 driver, I figured out a very nice way to do it.
Here's the three lines that I added to the Device Section of my xorg.conf to enable Automagic VGA-Out Goodness:
Option "MonitorLayout" "CRT,LFP" Option "Clone" "true" Option "DevicePresence" "true"
This way I just have to plug in a projector, and presto! No need to boot with the external monitor plugged in, like you can sometimes read. In fact, it's not even neccessary to restart X!
Depending on the projector, I maybe have to switch to a more "standard" resolution like 1024x768, but I can do that on-the-fly in the preferences menu. The only thing not working is xv on the VGA-out. To watch a movie on the projector, I use the gl video-output of mplayer which works on both screens. The 3D-driver seems to be slightly buggy, sometimes when I switch to fullscreen, the image is shifted up by half a screen. This is ususally fixed by switching to-and-fro a couple of times between windwowed playback and fullscreen.