Proper Way to Upgrade Mesa?mesa

7 Antworten [Letzter Beitrag]
freeme
Offline
Beigetreten: 10/10/2012

Trisquel includes mesa version 8.0.4. However, I notice there is a mesa-xxx-xxx-quantal version at 9.0.3. I would like to install the newer mesa version, but I am not sure of the proper way to do it, as in, are there other packages I would need to upgrade at the same time?

Mampir
Offline
Beigetreten: 12/16/2009

Ubuntu documentations suggest doing it like this:

sudo apt-get install --install-recommends linux-generic-lts-belenos xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantal

Source: https://wiki.ubuntu.com/Kernel/LTSEnablementStack

I did this myself and it works. But I'm not sure if this method doesn't make a dependency mess.

GustavoCM

I am a member!

Offline
Beigetreten: 11/20/2012

That gives me the following errors, to which I didn't give much time to interpret (so, I don't know what to suggest; perhaps a proper 'trisquel-lts-belenos' package depending on everything, so the stack enablement would run smoothly... but I don't know what will be that promised "point releases", perhaps they'll make it properly and we shouldn't be doing this :D ):

$ LANG=C sudo aptitude install --with-recommends linux-generic-lts-belenos xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantal
The following NEW packages will be installed:
  libdrm-nouveau2{a} libgl1-mesa-dri-lts-quantal{ab} libgl1-mesa-glx-lts-quantal{b} libglapi-mesa-lts-quantal{ab} libllvm3.1{a} libtxc-dxtn-s2tc0{a} 
  libxatracker1-lts-quantal{ab} libxrandr-ltsq2{a} linux-generic-lts-belenos x11-xserver-utils-lts-quantal{a} xserver-common-lts-quantal{a} xserver-xorg-core-lts-quantal{ab} 
  xserver-xorg-input-all-lts-quantal{ab} xserver-xorg-input-evdev-lts-quantal{ab} xserver-xorg-input-mouse-lts-quantal{ab} xserver-xorg-input-synaptics-lts-quantal{ab} 
  xserver-xorg-input-vmmouse-lts-quantal{ab} xserver-xorg-input-wacom-lts-quantal{ab} xserver-xorg-lts-quantal{b} xserver-xorg-video-all-lts-quantal{ab} 
  xserver-xorg-video-ati-lts-quantal{ab} xserver-xorg-video-cirrus-lts-quantal{ab} xserver-xorg-video-fbdev-lts-quantal{ab} xserver-xorg-video-intel-lts-quantal{ab} 
  xserver-xorg-video-mach64-lts-quantal{ab} xserver-xorg-video-mga-lts-quantal{ab} xserver-xorg-video-modesetting-lts-quantal{a} xserver-xorg-video-neomagic-lts-quantal{ab} 
  xserver-xorg-video-nouveau-lts-quantal{ab} xserver-xorg-video-openchrome-lts-quantal{ab} xserver-xorg-video-r128-lts-quantal{ab} xserver-xorg-video-radeon-lts-quantal{ab} 
  xserver-xorg-video-s3-lts-quantal{ab} xserver-xorg-video-savage-lts-quantal{ab} xserver-xorg-video-siliconmotion-lts-quantal{ab} xserver-xorg-video-sis-lts-quantal{ab} 
  xserver-xorg-video-sisusb-lts-quantal{ab} xserver-xorg-video-tdfx-lts-quantal{ab} xserver-xorg-video-trident-lts-quantal{ab} xserver-xorg-video-vesa-lts-quantal{ab} 
  xserver-xorg-video-vmware-lts-quantal{ab} 
0 packages upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 14,5 MB of archives. After unpacking 46,9 MB will be used.
The following packages have unmet dependencies:
 xserver-xorg-video-mach64-lts-quantal : Conflicts: xserver-xorg-video-mach64 but 6.9.0-1build2 is installed.
 xserver-xorg-video-trident-lts-quantal : Conflicts: xserver-xorg-video-trident but 1:1.3.4-2build2 is installed.
 xserver-xorg-video-sis-lts-quantal : Conflicts: xserver-xorg-video-sis but 1:0.10.3-3build2 is installed.
 xserver-xorg-input-synaptics-lts-quantal : Conflicts: xorg-driver-synaptics which is a virtual package.
                                            Conflicts: xserver-xorg-input-synaptics but 1.6.2-1ubuntu1~precise2 is installed.
 xserver-xorg-input-evdev-lts-quantal : Conflicts: xserver-xorg-input-evdev but 1:2.7.0-0ubuntu1.2 is installed.
 xserver-xorg-video-ati-lts-quantal : Conflicts: xserver-xorg-video-ati but 1:6.14.99~git20111219.aacbd629-0ubuntu2 is installed.
 libxatracker1-lts-quantal : Conflicts: libxatracker1 but 8.0.4-0ubuntu0.4 is installed.
 libgl1-mesa-glx : Conflicts: libgl1 which is a virtual package.
 libgl1-mesa-glx-lts-quantal : Conflicts: libgl1 which is a virtual package.
                               Conflicts: libgl1-mesa-glx but 8.0.4-0ubuntu0.4 is installed.
 xserver-xorg-input-vmmouse-lts-quantal : Conflicts: xserver-xorg-input-vmmouse but 1:12.9.0-0ubuntu0.1 is installed.
 xserver-xorg-video-s3-lts-quantal : Conflicts: xserver-xorg-video-s3 but 1:0.6.3-4build2 is installed.
 xserver-xorg-video-vesa-lts-quantal : Conflicts: xserver-xorg-video-vesa but 1:2.3.0-7build2 is installed.
 xserver-xorg-video-tdfx-lts-quantal : Conflicts: xserver-xorg-video-tdfx but 1:1.4.3-4build2 is installed.
 xserver-xorg-video-fbdev-lts-quantal : Conflicts: xserver-xorg-video-fbdev but 1:0.4.2-4ubuntu2 is installed.
 xserver-xorg-video-nouveau-lts-quantal : Conflicts: xserver-xorg-video-nouveau but 1:0.0.16+git20111201+b5534a1-1build3 is installed.
 libglapi-mesa-lts-quantal : Conflicts: libglapi-mesa but 8.0.4-0ubuntu0.4 is installed.
 xserver-xorg : Conflicts: xorg-renamed-package which is a virtual package.
                Conflicts: xserver-xorg-renamed which is a virtual package.
 xserver-xorg-video-mga-lts-quantal : Conflicts: xserver-xorg-video-mga but 1:1.4.13.dfsg-4build2 is installed.
 xserver-xorg-video-sisusb-lts-quantal : Conflicts: xserver-xorg-video-sisusb but 1:0.9.4-2build2 is installed.
 xserver-xorg-video-vmware-lts-quantal : Conflicts: xserver-xorg-video-vmware but 1:12.0.1-1ubuntu1.1 is installed.
 xserver-xorg-video-neomagic-lts-quantal : Conflicts: xserver-xorg-video-neomagic but 1:1.2.5-2build2 is installed.
 xserver-xorg-video-radeon-lts-quantal : Conflicts: xserver-xorg-video-radeon but 1:6.14.99~git20111219.aacbd629-0ubuntu2 is installed.
 xserver-xorg-video-openchrome-lts-quantal : Conflicts: xserver-xorg-video-openchrome but 1:0.2.904+svn1050-1 is installed.
 xserver-xorg-video-cirrus-lts-quantal : Conflicts: xserver-xorg-video-cirrus but 1:1.3.2-4build1 is installed.
 xserver-xorg-input-wacom-lts-quantal : Conflicts: xserver-xorg-input-wacom but 1:0.14.0-0ubuntu2.1 is installed.
 xserver-xorg-input-mouse-lts-quantal : Conflicts: xserver-xorg-input-mouse but 1:1.7.1-1build3 is installed.
 xserver-xorg-input-all-lts-quantal : Conflicts: xserver-xorg-input-all but 1:7.6+12ubuntu2 is installed.
 xserver-xorg-video-intel-lts-quantal : Conflicts: xserver-xorg-video-intel but 2:2.17.0-1ubuntu4.4 is installed.
 xserver-xorg-video-savage-lts-quantal : Conflicts: xserver-xorg-video-savage but 1:2.3.3-1ubuntu1 is installed.
 xserver-xorg-video-all-lts-quantal : Conflicts: xserver-xorg-video-all but 1:7.6+12ubuntu2 is installed.
 libgl1-mesa-dri-lts-quantal : Conflicts: libgl1-mesa-dri but 8.0.4-0ubuntu0.4 is installed.
 xserver-xorg-video-siliconmotion-lts-quantal : Conflicts: xserver-xorg-video-siliconmotion but 1:1.7.5-1build2 is installed.
 xserver-xorg-input-synaptics : Conflicts: xorg-driver-synaptics which is a virtual package.
 xserver-xorg-lts-quantal : Conflicts: libgl1-mesa-dri (>= 0~) but 8.0.4-0ubuntu0.4 is installed.
                            Conflicts: libgl1-mesa-dri-experimental (>= 0~) but 8.0.4-0ubuntu0.4 is installed.
                            Conflicts: libgl1-mesa-glx (>= 0~) but 8.0.4-0ubuntu0.4 is installed.
                            Conflicts: libglapi-mesa (>= 0~) but 8.0.4-0ubuntu0.4 is installed.
                            Conflicts: libxatracker1 (>= 0~) but 8.0.4-0ubuntu0.4 is installed.
                            Conflicts: xserver-xorg but 1:7.6+12ubuntu2 is installed.
                            Conflicts: xserver-xorg-core (>= 0~) but 2:1.11.4-0ubuntu10.13 is installed.
                            Conflicts: xserver-xorg-input-all (>= 0~) but 1:7.6+12ubuntu2 is installed.
                            Conflicts: xserver-xorg-video-all (>= 0~) but 1:7.6+12ubuntu2 is installed.
 xserver-xorg-core-lts-quantal : Conflicts: xserver-xorg-core but 2:1.11.4-0ubuntu10.13 is installed.
 xserver-xorg-video-r128-lts-quantal : Conflicts: xserver-xorg-video-r128 but 6.8.1-5build2 is installed.
The following actions will resolve these dependencies:

      Remove the following packages:                                                             
1)      libgl1-mesa-glx                                                                          
2)      libglapi-mesa                                                                            
3)      trisquel                                                                                 
4)      trisquel-desktop-common                                                                  
5)      xserver-xorg                                                                             

      Keep the following packages at their current version:                                      
6)      libgl1-mesa-dri-lts-quantal [Not Installed]                                              
7)      libxatracker1-lts-quantal [Not Installed]                                                
8)      xserver-xorg-core-lts-quantal [Not Installed]                                            
9)      xserver-xorg-input-all-lts-quantal [Not Installed]                                       
10)     xserver-xorg-input-evdev-lts-quantal [Not Installed]                                     
11)     xserver-xorg-input-mouse-lts-quantal [Not Installed]                                     
12)     xserver-xorg-input-synaptics-lts-quantal [Not Installed]                                 
13)     xserver-xorg-input-vmmouse-lts-quantal [Not Installed]                                   
14)     xserver-xorg-input-wacom-lts-quantal [Not Installed]                                     
15)     xserver-xorg-lts-quantal [Not Installed]                                                 
16)     xserver-xorg-video-all-lts-quantal [Not Installed]                                       
17)     xserver-xorg-video-ati-lts-quantal [Not Installed]                                       
18)     xserver-xorg-video-cirrus-lts-quantal [Not Installed]                                    
19)     xserver-xorg-video-fbdev-lts-quantal [Not Installed]                                     
20)     xserver-xorg-video-intel-lts-quantal [Not Installed]                                     
21)     xserver-xorg-video-mach64-lts-quantal [Not Installed]                                    
22)     xserver-xorg-video-mga-lts-quantal [Not Installed]                                       
23)     xserver-xorg-video-modesetting-lts-quantal [Not Installed]                               
24)     xserver-xorg-video-neomagic-lts-quantal [Not Installed]                                  
25)     xserver-xorg-video-nouveau-lts-quantal [Not Installed]                                   
26)     xserver-xorg-video-openchrome-lts-quantal [Not Installed]                                
27)     xserver-xorg-video-r128-lts-quantal [Not Installed]                                      
28)     xserver-xorg-video-radeon-lts-quantal [Not Installed]                                    
29)     xserver-xorg-video-s3-lts-quantal [Not Installed]                                        
30)     xserver-xorg-video-savage-lts-quantal [Not Installed]                                    
31)     xserver-xorg-video-siliconmotion-lts-quantal [Not Installed]                             
32)     xserver-xorg-video-sis-lts-quantal [Not Installed]                                       
33)     xserver-xorg-video-sisusb-lts-quantal [Not Installed]                                    
34)     xserver-xorg-video-tdfx-lts-quantal [Not Installed]                                      
35)     xserver-xorg-video-trident-lts-quantal [Not Installed]                                   
36)     xserver-xorg-video-vesa-lts-quantal [Not Installed]                                      
37)     xserver-xorg-video-vmware-lts-quantal [Not Installed]                                    

      Leave the following dependencies unresolved:                                               
38)     gdm recommends xserver-xorg                                                              
39)     libgl1-mesa-glx-lts-quantal recommends libgl1-mesa-dri-lts-quantal (>= 7.2)              
40)     xserver-xorg-core-lts-quantal recommends libgl1-mesa-dri-lts-quantal (>= 7.10.2-4)       
41)     xserver-xorg-lts-quantal recommends libgl1-mesa-dri-lts-quantal                          
42)     xserver-xorg-video-nouveau-lts-quantal recommends libgl1-mesa-dri-lts-quantal (>= 7.11.1)


Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
Mampir
Offline
Beigetreten: 12/16/2009

You should do the exact command I wrote. I usually use aptitude too, but for this I used apt-get. It resolved the dependencies on its own.

Here is again what I did:

sudo apt-get install --install-recommends linux-generic-lts-belenos xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantal

To revert the changes I did:

sudo apt-get install libgl1-mesa-glx trisquel xserver-xorg xserver-xorg-input-all

sudo aptitude purge libdrm-nouveau2 libllvm3.1 libtxc-dxtn-s2tc0 libxatracker1-lts-quantal libxrandr-ltsq2 linux-generic-lts-belenos linux-headers-3.5.0-25 linux-headers-3.5.0-25-generic linux-headers-generic-lts-belenos linux-image-3.5.0-25-generic linux-image-generic-lts-belenos x11-xserver-utils-lts-quantal xfonts-base
__martin__
Offline
Beigetreten: 12/25/2012

Tried on my own as well, alternative Mesa & Xorg stack booted okay with provided 3.5 kernel or Jason's current 3.9.2 if you want. The problem was elsewhere, first I thought it made use of LLVM-pipe CPU rendering back-end or so, but then I realized that incorrect resolution [only up to 1280x1024 (5:4)] appeared there in options because of VESA driver used as opposed to Radeon KMS-one.

Still I am aware of the mess with tainted firmware in case of any decent AMD/ATi chip.. RS880's onboard HD4250 in this specific HW build.

Just did rollback any changes with ease.

ahj
ahj

I am a member!

Offline
Beigetreten: 06/03/2012

This reminds me... didn't Mr. Rodríguez say Trisquel 6.0 would be updated with the iterative point releases - i.e. there would be a Trisquel 6.0.x - I know Ubuntu 12.04 already has a couple of point releases with an updated kernel and mesa.

Regards

freeme
Offline
Beigetreten: 10/10/2012

The only reason I ask is because mp4s look more like slide shows than video clips on the netbook. Strangely enough, they play perfectly on the desktop. The desktop runs nouveau and the netbook runs intel. So I think the mesa version (any mesa pre-9.0 I think) is at the bottom of it.

It's a shame too, because even though Trisquel's KDE is also a bit old, it works perfectly on the netbook. On the desktop, Trisquel's KDE loads faster than either Parabola or Gentoo compiled to the processor. And there are no bugs in Trisquel's KDE that I have found. However, I've GOT to be able to play mp4s.

GustavoCM

I am a member!

Offline
Beigetreten: 11/20/2012

I have the impression video decoding is not made by the video-board, but by the processor... Does your netbook have a CPU powerful enough to decode your videos? Does lower-resolution MP4s play better in it than the ones you are trying to play?