iXit / Mesa-3D

Please use official https://gitlab.freedesktop.org/mesa/mesa/ !
https://github.com/iXit/Mesa-3D/wiki
66 stars 13 forks source link

ubuntu 18.04.01 compatibility broken #326

Closed tatsujb closed 5 years ago

tatsujb commented 5 years ago

I'm not sure if you guys are the maintainers of this repo : https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3

but it seems you are.

you guys updating from 3.18 to 3.20 brought on wine refusing to install :

t@tsu:~$ sudo apt install wine-d3d9-staging
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-d3d9-staging : Depends: wine-d3d9-staging-amd64 (= 3.20-1~b) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

the broken packages thing is a generic message ubuntu does when dependencies can't be met as evidenced here :

t@tsu:~$ sudo dpkg --configure -a
t@tsu:~$ sudo apt install -f 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and here (no broken package message) :

t@tsu:~$ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://repo.steampowered.com/steam precise InRelease                                                                                                                                                 
Hit:3 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                         
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                                                                          
Hit:5 http://ppa.launchpad.net/audio-recorder/ppa/ubuntu bionic InRelease                                                                                                                                  
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease                                                                                                                                                 
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                               
Hit:8 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                       
Hit:9 https://deb.nodesource.com/node_11.x bionic InRelease                                                                                                                                                
Hit:10 https://dl.yarnpkg.com/debian stable InRelease                                                                                                                                                      
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                                                         
Hit:12 http://linux.teamviewer.com/deb stable InRelease                                       
Hit:13 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu bionic InRelease
Hit:14 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease                        
Hit:15 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease                                     
Ign:16 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ InRelease   
Hit:17 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ Release                                
Hit:18 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic InRelease                                           
Hit:19 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic InRelease             
Hit:20 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease              
Reading package lists... Done                        
Building dependency tree       
Reading state information... Done
All packages are up to date.

t@tsu:~$ sudo apt install rar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  rar
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 295 kB of archives.
After this operation, 799 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu bionic/multiverse amd64 rar amd64 2:5.5.0-1 [295 kB]
Fetched 295 kB in 0s (1 858 kB/s)
Selecting previously unselected package rar.
dpkg: warning: files list file for package 'fonts-wine' missing; assuming package has no files currently installed
(Reading database ... 232627 files and directories currently installed.)
Preparing to unpack .../rar_2%3a5.5.0-1_amd64.deb ...
Unpacking rar (2:5.5.0-1) ...
Setting up rar (2:5.5.0-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
sarnex commented 5 years ago

Does apt-get install wine-d3d9-staging wine-d3d9-staging-amd64 work?

tatsujb commented 5 years ago

i'll try that tonight. from what it tested neither worked separately. they both told me it wasn't install-able. I'll try with a new install of ubuntu and with the concatenated command.

tatsujb commented 5 years ago

sorry took awhile :

sudo apt-get install wine-d3d9-staging wine-d3d9-staging-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-d3d9-staging-amd64 : Depends: libd3dadapter9-mesa but it is not installable
                           Recommends: libcapi20-3 but it is not going to be installed
                           Recommends: libgnutls-deb0-28 but it is not installable or
                                       libgnutls26 but it is not installable
                           Recommends: libosmesa6 but it is not going to be installed
                           Recommends: libpng12-0 but it is not installable
                           Recommends: libtxc-dxtn-s2tc0 but it is not installable
                           Recommends: libva-drm1 but it is not installable
                           Recommends: libva-x11-1 but it is not installable
E: Unable to correct problems, you have held broken packages.
tatsujb commented 5 years ago

Here I am on my new ubuntu install and I get the same result :

t@tsu:~$ sudo add-apt-repository ppa:commendsarnex/winedri3
[sudo] password for t: 
 Install Oibaf's PPA before using this.

Works with DRI2 and DRI3

If you are on radeon and want to use DRI3, make sure oibaf's PPA is installed and add this to your xorg.conf,

Section "Device"
   Identifier  "radeon"
   Driver      "radeon"
   Option      "DRI" "3"
EndSection

NEW: The checkbox to enable Nine is in winecfg under the Staging tab!

IMPORTANT: This PPA only supports Bionic now

Contact me at #d3d9 on irc.freenode.net
 More info: https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://fr.archive.ubuntu.com/ubuntu cosmic InRelease
Ign:2 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic InRelease  
Hit:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic InRelease    
Hit:4 http://archive.canonical.com/ubuntu cosmic InRelease                     
Hit:5 http://security.ubuntu.com/ubuntu cosmic-security InRelease              
Err:6 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release    
  404  Not Found [IP: 91.189.95.83 80]
Hit:7 http://fr.archive.ubuntu.com/ubuntu cosmic-updates InRelease             
Hit:8 http://fr.archive.ubuntu.com/ubuntu cosmic-backports InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
t@tsu:~$ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu cosmic-updates InRelease             
Ign:3 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic InRelease  
Hit:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic InRelease    
Hit:5 http://security.ubuntu.com/ubuntu cosmic-security InRelease              
Hit:6 http://archive.canonical.com/ubuntu cosmic InRelease                     
Err:7 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release    
  404  Not Found [IP: 91.189.95.83 80]
Hit:8 http://fr.archive.ubuntu.com/ubuntu cosmic-backports InRelease     
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
t@tsu:~$ sudo apt install wine-d3d9-staging -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package wine-d3d9-staging
sarnex commented 5 years ago

It seems to be some general apt problem because it's complaining about official packages. Can you try installing aptitude instead of apt and doing aptitude install? Some users are reporting that works

tatsujb commented 5 years ago

:(

t@tsu:~$ sudo apt install aptitude
[sudo] password for t: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aptitude-common libcwidget3v5 libsigc++-2.0-0v5
Suggested packages:
  aptitude-doc-en | aptitude-doc apt-xapian-index debtags tasksel
  libcwidget-dev
The following NEW packages will be installed:
  aptitude aptitude-common libcwidget3v5 libsigc++-2.0-0v5
0 upgraded, 4 newly installed, 0 to remove and 8 not upgraded.
Need to get 2 606 kB of archives.
After this operation, 11,0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://fr.archive.ubuntu.com/ubuntu cosmic/universe amd64 aptitude-common all 0.8.10-9ubuntu4 [1 013 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu cosmic/main amd64 libsigc++-2.0-0v5 amd64 2.10.0-2.1 [11,0 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu cosmic/universe amd64 libcwidget3v5 amd64 0.5.17-11 [303 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu cosmic/universe amd64 aptitude amd64 0.8.10-9ubuntu4 [1 279 kB]
Fetched 2 606 kB in 1s (4 828 kB/s)     
Selecting previously unselected package aptitude-common.
(Reading database ... 177720 files and directories currently installed.)
Preparing to unpack .../aptitude-common_0.8.10-9ubuntu4_all.deb ...
Unpacking aptitude-common (0.8.10-9ubuntu4) ...
Selecting previously unselected package libsigc++-2.0-0v5:amd64.
Preparing to unpack .../libsigc++-2.0-0v5_2.10.0-2.1_amd64.deb ...
Unpacking libsigc++-2.0-0v5:amd64 (2.10.0-2.1) ...
Selecting previously unselected package libcwidget3v5:amd64.
Preparing to unpack .../libcwidget3v5_0.5.17-11_amd64.deb ...
Unpacking libcwidget3v5:amd64 (0.5.17-11) ...
Selecting previously unselected package aptitude.
Preparing to unpack .../aptitude_0.8.10-9ubuntu4_amd64.deb ...
Unpacking aptitude (0.8.10-9ubuntu4) ...
Setting up aptitude-common (0.8.10-9ubuntu4) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up libsigc++-2.0-0v5:amd64 (2.10.0-2.1) ...
Setting up libcwidget3v5:amd64 (0.5.17-11) ...
Setting up aptitude (0.8.10-9ubuntu4) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
Processing triggers for libc-bin (2.28-0ubuntu1) ...
t@tsu:~$ sudo add-apt-repository ppa:commendsarnex/winedri3
 Install Oibaf's PPA before using this.

Works with DRI2 and DRI3

If you are on radeon and want to use DRI3, make sure oibaf's PPA is installed and add this to your xorg.conf,

Section "Device"
   Identifier  "radeon"
   Driver      "radeon"
   Option      "DRI" "3"
EndSection

NEW: The checkbox to enable Nine is in winecfg under the Staging tab!

IMPORTANT: This PPA only supports Bionic now

Contact me at #d3d9 on irc.freenode.net
 More info: https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://fr.archive.ubuntu.com/ubuntu cosmic InRelease
Get:2 http://fr.archive.ubuntu.com/ubuntu cosmic-updates InRelease [83,2 kB]   
Get:3 http://security.ubuntu.com/ubuntu cosmic-security InRelease [83,2 kB]    
Ign:4 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic InRelease  
Get:5 http://fr.archive.ubuntu.com/ubuntu cosmic-backports InRelease [74,6 kB] 
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic InRelease    
Hit:7 http://archive.canonical.com/ubuntu cosmic InRelease                     
Err:8 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release    
  404  Not Found [IP: 91.189.95.83 80]
Get:9 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 DEP-11 Metadata [96,6 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/main DEP-11 48x48 Icons [21,3 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/main DEP-11 64x64 Icons [33,0 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 DEP-11 Metadata [33,7 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/universe DEP-11 48x48 Icons [13,5 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu cosmic-updates/universe DEP-11 64x64 Icons [19,0 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 DEP-11 Metadata [5 812 B]
Ign:16 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ InRelease
Hit:17 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
Get:18 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 DEP-11 Metadata [204 B]
Get:19 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 DEP-11 Metadata [2 456 B]
Reading package lists... Done                                              
E: The repository 'http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
t@tsu:~$ sudo apt-get update
Hit:1 http://fr.archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu cosmic-updates InRelease             
Ign:3 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic InRelease  
Hit:4 http://archive.canonical.com/ubuntu cosmic InRelease                     
Hit:5 http://fr.archive.ubuntu.com/ubuntu cosmic-backports InRelease           
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic InRelease    
Ign:7 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ InRelease
Hit:8 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
Hit:9 http://security.ubuntu.com/ubuntu cosmic-security InRelease              
Err:10 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done                      
E: The repository 'http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
t@tsu:~$ sudo aptitude install wine-d3d9-staging
Couldn't find any package whose name or description matched "wine-d3d9-staging"
Unable to apply some actions, aborting
sarnex commented 5 years ago

No idea my dude. Either way, it is clear this is a general package manager issue as you can find numerous online reports of the same issue. Try asking around in some Ubuntu IRC channels. Closing

TheDiscordian commented 5 years ago

The person reporting the issue may not have managed their packages properly for reporting (aptitude should always find the package), however I have the exact same issue running AMDGPU, or AMDGPU-PRO, where this package used to work for me.

user@user-Inspiron-5675:~$ sudo apt-get install wine-d3d9-staging-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 wine-d3d9-staging-amd64 : Depends: libd3dadapter9-mesa but it is not installable
                           Recommends: libgnutls-deb0-28 but it is not installable or
                                       libgnutls26 but it is not installable
                           Recommends: libpng12-0 but it is not installable
                           Recommends: libtxc-dxtn-s2tc0 but it is not installable
                           Recommends: libva-drm1 but it is not installable
                           Recommends: libva-x11-1 but it is not installable
E: Unable to correct problems, you have held broken packages.

Is is possible it just doesn't support the mesa package of this driver anymore? AMDGPU changes a lot, I just did a fresh reinstall of the driver and it setup these packages:

DKMS: install completed.
Setting up glamor-amdgpu:amd64 (1.19.0-641594) ...
Setting up libgbm1-amdgpu:amd64 (1:18.1.0-641594) ...
Setting up libgbm1-amdgpu:i386 (1:18.1.0-641594) ...
Setting up libglapi-amdgpu-mesa:amd64 (1:18.1.0-641594) ...
Setting up libglapi-amdgpu-mesa:i386 (1:18.1.0-641594) ...
Setting up libgles1-amdgpu-mesa:amd64 (1:18.1.0-641594) ...
Setting up libgles1-amdgpu-mesa:i386 (1:18.1.0-641594) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.92-641594) ...
Setting up libdrm-amdgpu-amdgpu1:i386 (1:2.4.92-641594) ...
Setting up libxatracker2-amdgpu:amd64 (1:18.1.0-641594) ...
Setting up libxatracker2-amdgpu:i386 (1:18.1.0-641594) ...
Setting up libosmesa6-amdgpu:amd64 (1:18.1.0-641594) ...
Setting up libosmesa6-amdgpu:i386 (1:18.1.0-641594) ...
Setting up libgles2-amdgpu-mesa:amd64 (1:18.1.0-641594) ...
Setting up libgles2-amdgpu-mesa:i386 (1:18.1.0-641594) ...
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:18.1.0-641594) ...
Setting up libgl1-amdgpu-mesa-dri:i386 (1:18.1.0-641594) ...
Setting up mesa-amdgpu-omx-drivers:amd64 (1:18.1.0-641594) ...
Setting up libegl1-amdgpu-mesa:amd64 (1:18.1.0-641594) ...
Setting up libegl1-amdgpu-mesa:i386 (1:18.1.0-641594) ...
Setting up mesa-amdgpu-va-drivers:amd64 (1:18.1.0-641594) ...
Setting up mesa-amdgpu-va-drivers:i386 (1:18.1.0-641594) ...
Setting up xserver-xorg-amdgpu-video-amdgpu (1:18.0.99-641594) ...
Setting up mesa-amdgpu-vdpau-drivers:amd64 (1:18.1.0-641594) ...
Setting up mesa-amdgpu-vdpau-drivers:i386 (1:18.1.0-641594) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:18.1.0-641594) ...
Setting up libgl1-amdgpu-mesa-glx:i386 (1:18.1.0-641594) ...
Setting up libwayland-amdgpu-egl1-mesa:amd64 (1:18.1.0-641594) ...
Setting up libwayland-amdgpu-egl1-mesa:i386 (1:18.1.0-641594) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:18.1.0-641594) ...
Setting up libegl1-amdgpu-mesa-drivers:i386 (1:18.1.0-641594) ...
Setting up amdgpu (18.30-641594) ...
Setting up amdgpu-lib32 (18.30-641594) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

I will continue to investigate, but I'm running out of ideas.

sarnex commented 5 years ago

Gallium nine does not support AMDGPU-PRO. You need the oibaf ppa installed to install wine from my PPA