Mobile Intel R series Express graphic card is not connecting-xorg.conf probelm

Asked by katy mith

Hello,

I am new to Ubuntu but at the same time shocked with the fact that a lot of work is needed to get my computer setup to get it connected to various devices. This is trivial in Windows 7 which really made my think why shall I move in Ubuntu. I still like Ubuntu and hope these problems can be solved more easily.

My problem at the moment is connecting two monitors to my Laptop (Toshiba Tecra M10). I am using a DVI-VGA USB (Winstar) adapter to do this job which works beautifully in Windows 7. I have been fiddling with Ubuntu 12.10 for a week now in order to get this dual monitor working. I also tried to setup Xorg.conf few times but this caused Ubuntu failing and had to Re-install Ubuntu for the third time. It is interesting that changes in Xorg.conf is very damaging and once you loose booting it is very difficult to go back even with the recovery mode which I found very difficult and useless in many ways. If anyone can have any suggestion, then I will be very grateful.

Chiptype = Mobile Intel(R) series Express
Adapter = Mobile intel(R) GMA 4500MHD
Monitor 1 = BenQ E2420HD (resolution = 1920x1080; orientation = landscape; refresh =60; color 32 bit )
Monitor 2= BenQ G2420HD (resolution = 1080x1920; orientation = portrait; refresh= 60; color 32 bit)
Monitor1 and the laptop monitor are extended

Here is what I did but did not work and actually damaged the Ubuntu setup.

1- install Miscellaneous Mesa GL utilities (help detecting the graphics card)
2- update kernel and its headers Install linux source (sudo apt-get install linux-source) and headers (sudo apt-get install linux-headers-generic). ............ not really sure if this was necessary.
3-download https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-video-displaylink_0.3-0ubuntu10_i386.deb
this would not download as it is dependant on an the old xorg-video-abi-11 . Could not download this component so I tried the next
4-
sudo apt-get update
    sudo apt-get install libusb-dev xorg-dev build-essential
    cd ~/Desktop
    wget http://projects.unbit.it/downloads/udlfb-0.2.3_and_xf86-video-displaylink-0.3.tar.gz
    tar xzvf udlfb-0.2.3_and_xf86-video-displaylink-0.3.tar.gz
    cd udlfb
    make && sudo make install && sudo depmod -a
    cd ../xf86-video-displaylink
    ./configure && make && sudo make install
    gksudo gedit /etc/X11/xorg.conf

ok here I got many errors when trying to install displaylink. The main thing is that displaylink_drv.so could not be copied to /usr/lib/xorg/modules/drivers

So what I've done is to extract xserver-xorg-video-displaylink_0.3-0ubuntu10_i386.deb and then copy displaylink_drv.so to both
/usr/lib/xorg/modules/drivers and /usr/local/lib/xorg/modules/drivers

Ok up to here nothing has changed even after re-boot.

So, I installed install Video decode & encode driver for Intel G45 chipsets and Intel HD Graphics for Intel Core processor family.

udo add-apt-repository ppa:glasen/intel-driver
sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update
sudo apt-get upgrade

re-boot

Noticed a flicking in the power light Monitor 2 (not green color yet). So decided to play with Xorg.conf. Here is Xorg.conf content:

Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Mouse0" "CorePointer"
   InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
    Load "glx"
 EndSection

Section "ServerFlags"
 Option "DontZap"
 Option "Xinerama" "true" # Use both as one big screen
EndSection

Section "Extensions"
  Option "Composite" "Enable"
  Option "RENDER" "Enable"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VertRefresh 60
EndSection

Section "Monitor"
    Identifier "Monitor1"
    VertRefresh 60
EndSection

Section "Device"
    Identifier "Benq E2420HD"
    Driver "intel GMA 4500MHD"
    VendorName "Intel Corporation"
    BoardName "Unknown Board"
    BusID "pci:00:02.0"

    Screen 0
EndSection

Section "Device"
    Identifier "Benq G2420HD"
    Driver "intel GMA 4500MHD"
    VendorName "Intel Corporation"
    BoardName "Unknown Board"
   BusID "pci:00:02.1"
      Screen 1
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Benq E2420HD"
    Monitor "Monitor0"
    DefaultDepth 32
    Subsection "Display"
        Depth 32
        Modes "1920x1080"
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device "Benq G2420HD"
    Monitor "Monitor1"
    DefaultDepth 32
    Subsection "Display"
        Depth 32
        Modes "1080x1920"

    EndSubsection
EndSection

Section "DRI"
    Mode 0666
EndSection

This did not work and got the laptop and screen 1 blank while monitor 2 was displaying the boot screen with Ubuntu logo in the centre.

Please help!!

Kind Regads

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Sure its not:

Driver "intel"

?

Revision history for this message
katy mith (katy-g-smith) said :
#2

Hello,

Do you mean the driver in Xorg.conf should be "Driver" and not "intel GMA 4500MHD"?

I am wondering if there is a way of testing Xorg.conf setting without restarting so that this give the opportunity to change things or correct errors.

Cheers

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

You shouldn't add xorg-edgers and glasen repositories all together. Remove glasen's repository with below commands

sudo apt-get install ppa-purge
sudo ppa-purge ppa:glasen/intel-driver
sudo apt-get update

and reboot your system.

Also you have to know that newer intel drivers has sna accelereation enabled by default , so try to use uxa instead (if sna causes you problems).

Add the following to section "Device"

Section "Device"
        Identifier "intel"
        Driver "intel"
        Option "AccelMethod" "uxa"
EndSection

save xorg.conf and restart X to test it.

Thanks

Revision history for this message
katy mith (katy-g-smith) said :
#4

Hello Nick,

I did what you suggested ... nothing happened. The second monitor still not detected. The first monitor is working fine.

Here is what I did:

Remove existing xorg

sudo apt-get remove --purge xserver-xorg

Install xorg

sudo apt-get install xserver-xorg

Reconfigure xorg

sudo dpkg-reconfigure xserver-xorg

Then updated the Xorg.Conf as:

Section "Monitor"
Identifier "Monitor0"
VendorName "BenQ"
ModelName "E2420HD"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 76.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "BenQ"
ModelName "G2420HD"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 76.0
EndSection

Section "Device"
Identifier "Device0"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 32
Modes "1920x1080"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "Monitor1"
DefaultDepth 24
Subsection "Display"
Depth 32
Modes "1080x1920"
EndSubsection
EndSection

Section "DRI"
Mode 0666
EndSection

this time, when I logout I do not get the "low-graphics mode" error. It just allow me to logout and login with not errors. I checked the Xorg.conf and it is intact as above. However, the second monitor is not detected yet. The option uxa or sna does not seem to make any difference. Any ideas folks?

Kind regards

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.