Building EMGD Drivers for Ubuntu Server

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: Building EMGD Drivers for Ubuntu Server

Post by BuZz »

Answer the question "y". (you answered no to the first question. it should have been a y)

the first time it worked out the dependencies fine, and decided not to install the meta packages for input/video etc. exactly what you want I should think.
User avatar
roobarb!
Posts: 1772
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Building EMGD Drivers for Ubuntu Server

Post by roobarb! »

BuZz wrote:Answer the question "y". (you answered no to the first question. it should have been a y)

the first time it worked out the dependencies fine, and decided not to install the meta packages for input/video etc. exactly what you want I should think.
Hehe - I guess I dismissed it because it still listed all those video drivers as 'to be installed', but you are right - it has installed Xorg v1.9.2. The problem is, it has still installed xserver-xorg-video-all and everything is rather bloated. It also tried building the nvidia-current-260.19.29 package and failed again - although I'll retry compiling on the Joggler itself rather than the chroot now.

Code: Select all

# aptitude install xserver-xorg-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following packages are BROKEN:
  xserver-xorg-core 
The following NEW packages will be installed:
  acpid{a} apport{a} apport-symptoms{a} binutils{a} consolekit{a} cpp{a} cpp-4.4{a} dbus{a} defoma{a} 
  dkms{a} fakeroot{a} fontconfig{a} fontconfig-config{a} gcc{a} gcc-4.4{a} hicolor-icon-theme{a} 
  intel-gpu-tools{a} iso-codes{a} libatk1.0-0{a} libatk1.0-data{a} libavahi-client3{a} 
  libavahi-common-data{a} libavahi-common3{a} libc-dev-bin{a} libc6-dev{a} libcairo2{a} 
  libck-connector0{a} libcups2{a} libdatrie1{a} libdbus-glib-1-2{a} libdirectfb-1.2-0{a} 
  libeggdbus-1-0{a} libexpat1{a} libfontconfig1{a} libfontenc1{a} libfreetype6{a} libgl1-mesa-dri{a} 
  libgmp3c2{a} libgomp1{a} libgtk2.0-0{a} libgtk2.0-bin{a} libgtk2.0-common{a} libice6{a} libjasper1{a} 
  libjpeg62{a} libjs-jquery{a} libmpfr1ldbl{a} libpam-ck-connector{a} libpango1.0-0{a} 
  libpango1.0-common{a} libpciaccess0{a} libpixman-1-0{a} libpolkit-backend-1-0{a} 
  libpolkit-gobject-1-0{a} libsm6{a} libsysfs2{a} libthai-data{a} libthai0{a} libtiff4{a} libts-0.0-0{a} 
  libx11-6{a} libx11-data{a} libx11-xcb1{a} libxau6{a} libxaw7{a} libxcb-aux0{a} libxcb-dri2-0{a} 
  libxcb-render-util0{a} libxcb-render0{a} libxcb1{a} libxcomposite1{a} libxcursor1{a} libxdamage1{a} 
  libxdmcp6{a} libxext6{a} libxfixes3{a} libxfont1{a} libxft2{a} libxi6{a} libxinerama1{a} 
  libxkbfile1{a} libxml2{a} libxmu6{a} libxmuu1{a} libxpm4{a} libxrandr2{a} libxrender1{a} libxt6{a} 
  libxv1{a} libxvmc1{a} linux-libc-dev{a} manpages{a} manpages-dev{a} nvidia-current{a} 
  nvidia-settings{a} patch{a} policykit-1{a} python-apport{a} python-apt{a} python-httplib2{a} 
  python-launchpadlib{a} python-lazr.restfulclient{a} python-lazr.uri{a} python-oauth{a} 
  python-pkg-resources{a} python-problem-report{a} python-simplejson{a} python-support{a} 
  python-wadllib{a} python-xkit{a} python-zope.interface{a} screen-resolution-extra{a} sgml-base{a} 
  shared-mime-info{a} tsconf{a} ttf-dejavu-core{a} x-ttcidfont-conf{a} x11-common{a} x11-xkb-utils{a} 
  xauth{a} xfonts-base{a} xfonts-encodings{a} xfonts-utils{a} xml-core{a} xserver-common{a} 
  xserver-xorg{a} xserver-xorg-input-all{a} xserver-xorg-input-evdev{a} xserver-xorg-input-mouse{a} 
  xserver-xorg-input-synaptics{a} xserver-xorg-input-vmmouse{a} xserver-xorg-input-wacom{a} 
  xserver-xorg-video-all{a} xserver-xorg-video-apm{a} xserver-xorg-video-ark{a} 
  xserver-xorg-video-ati{a} xserver-xorg-video-chips{a} xserver-xorg-video-cirrus{a} 
  xserver-xorg-video-fbdev{a} xserver-xorg-video-geode{a} xserver-xorg-video-i128{a} 
  xserver-xorg-video-i740{a} xserver-xorg-video-intel{a} xserver-xorg-video-mach64{a} 
  xserver-xorg-video-mga{a} xserver-xorg-video-neomagic{a} xserver-xorg-video-nouveau{a} 
  xserver-xorg-video-nv{a} xserver-xorg-video-openchrome{a} xserver-xorg-video-r128{a} 
  xserver-xorg-video-radeon{a} xserver-xorg-video-rendition{a} xserver-xorg-video-s3{a} 
  xserver-xorg-video-s3virge{a} xserver-xorg-video-savage{a} xserver-xorg-video-siliconmotion{a} 
  xserver-xorg-video-sis{a} xserver-xorg-video-sisusb{a} xserver-xorg-video-tdfx{a} 
  xserver-xorg-video-trident{a} xserver-xorg-video-tseng{a} xserver-xorg-video-v4l{a} 
  xserver-xorg-video-vesa{a} xserver-xorg-video-vmware{a} xserver-xorg-video-voodoo{a} 
The following packages will be upgraded:
  libdrm-intel1 libdrm-nouveau1 
2 packages upgraded, 166 newly installed, 0 to remove and 3 not upgraded.
Need to get 79.5MB of archives. After unpacking 298MB will be used.
The following packages have unmet dependencies:
  xserver-xorg-core: Breaks: xserver-xorg-input-7 which is a virtual package.
                     Breaks: xserver-xorg-video-6 which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
xserver-xorg-input-all [Not Installed]
xserver-xorg-input-wacom [Not Installed]
xserver-xorg-video-all [Not Installed]
xserver-xorg-video-geode [Not Installed]
xserver-xorg-video-openchrome [Not Installed]

Score is 95

Accept this solution? [Y/n/q/?] y
Going to try it on the Joggler itself now.
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
roobarb!
Posts: 1772
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Building EMGD Drivers for Ubuntu Server

Post by roobarb! »

roobarb! wrote:Going to try it on the Joggler itself now.
Ah-ha! Right, on the Joggler the nvidia compilation still fails in the same way, but emgd-dkms and xorg-emgd install perfectly. I then purge the nvidia stuff with dpkg and run apt-get autoremove. Tons of stuff to be wiped out - much better!

A quick sprinkle of apt-get install xinit xterm to test - it works! :D

Thank you so much for your help with this again, BuZz; you're invaluable!
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
roobarb!
Posts: 1772
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Building EMGD Drivers for Ubuntu Server

Post by roobarb! »

Nuts. I've just tried rebuilding a system and it looks like the maverick packages have been removed from xorg-edgers PPA. Is there any way to rescue these and stick them in a PPA of my own, or are they gone forever now?

Alternatively, how's Precise looking? ;)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: Building EMGD Drivers for Ubuntu Server

Post by BuZz »

you might be able to do what ive done with precise and pull x from oneiric. you might as well do a precise based system. it works fine.

where i am; base system works. Just tweaking some gui stuff.

For xserver I pinned xorg stuff to the oneiric version which works fine. like

Code: Select all

deb http://de.archive.ubuntu.com/ubuntu/ oneiric main
and made /etc/preferences.d/xorg.conf with the following pins:

Code: Select all

Package: *
Pin: release n=oneiric
Pin-Priority: -1

Package: xorg
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-core
Pin: release n=oneiric                   
Pin-Priority: 1000

Package: xserver-xorg-input-all
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-input-mouse
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-input-synaptics  
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-input-vmmouse
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-input-wacom
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-all
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-ati
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-cirrus
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-fbdev
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-geode
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-intel
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-mach64
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-mga
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-neomagic
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-nouveau
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-openchrome
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-qxl
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-r128
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-radeon
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-s3
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-savage
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-siliconmotion
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-sis
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-sisusb
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-tdfx
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-trident
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-vesa
Pin: release n=oneiric
Pin-Priority: 1000

Package: xserver-xorg-video-vmware
Pin: release n=oneiric
Pin-Priority: 1000

Package: libgl1-mesa-dri
Pin: release n=oneiric
Pin-Priority: 1000

Package: libgl1-mesa-glx
Pin: release n=oneiric
Pin-Priority: 1000

Package: libglapi-mesa
Pin: release n=oneiric
Pin-Priority: 1000
and my ppa's pinned at a higher priority

Code: Select all

Package: *
Pin: release o=LP-PPA-jools-joggler
Pin-Priority: 1010

Package: *
Pin: release o=LP-PPA-jools-emgd-xorg1.10
Pin-Priority: 1010
and all is good. Using 3.2.16 kernel - same patches as before.
User avatar
roobarb!
Posts: 1772
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Building EMGD Drivers for Ubuntu Server

Post by roobarb! »

Ah-ha! Great stuff.

I've managed to roll together a purely Oneiric system which seems to work okay, but I'm aware of its limited shelf-life, so I'll definitely have a shot at this Precise method. Out of interest, is there a way to archive theses X.org 1.10 packages so that they are still available once the Oneiric package archives are closed down?

Of course, the nicest thing would be if Intel squeezed v1.11 of the EMGD drivers with X.org 1.11 support in there. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: Building EMGD Drivers for Ubuntu Server

Post by BuZz »

you could grab the sources and binary debs of them. (apt-get source), however ubuntu does archive its releases so they will still be available I guess

http://old-releases.ubuntu.com/releases/
Post Reply