Launchpad has imported 10 comments from the remote bug at
http://bugs.winehq.org/show_bug.cgi?id=31904.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-10-07T10:08:14+00:00 Olelukoie wrote:

When I run configure script for latest wine 1.5.x releases it always
reports that it can not find OSMesa but I have it installed correctly.

Looking for a solution I've found several versions of patch that fixes
this. For example this is the Gentoo version:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-
emulation/wine/files/wine-1.5.10-osmesa-check.patch

and this is Fedora version:

http://pkgs.fedoraproject.org/cgit/wine.git/tree/wine-1.5.10-osmesa-
check.patch?h=f17

I've tested Fedora version of the patch and it works well for me (I'm
using mageia linux).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/0

------------------------------------------------------------------------
On 2012-10-07T10:49:27+00:00 Hverbeet wrote:

No. If OSMesa built with shared glapi depends on libGL, it's broken.
This is supposed to be fixed in current versions of Mesa. (See also
http://lists.freedesktop.org/archives/mesa-
dev/2012-September/028019.html)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/1

------------------------------------------------------------------------
On 2012-10-07T14:39:07+00:00 Olelukoie wrote:

I insist on fixing this issue in wine's configure as it's needed for
building (backporting) current wine devel versions (1.5.x) on current
stable linux distributions that ship mesa 8.0.

And please notice that there are two different problems:
- test for glAccum that is not part of OSmesa library (it is much better to 
test for something that belongs to OSmesa and is not part of the OpenGL 
standard);
- possible requirement of glapi library to correctly link (if glapi is a shared 
library then it should be explicitly used in link commands as the current linux 
distro policies are to get rid of *.la files completely).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/2

------------------------------------------------------------------------
On 2012-10-07T14:45:45+00:00 Hverbeet wrote:

This can't be fixed in Wine, configure fails because OSMesa is *broken*.
You say you tested those patches, but I doubt you actually have an
application that uses the functionality in question.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/3

------------------------------------------------------------------------
On 2012-10-07T15:07:25+00:00 Gyebro69 wrote:

(In reply to comment #3)
> You say you tested those patches, but I doubt you actually have an 
> application that
> uses the functionality in question.

It seems at least Civilization III: Complete (Steam version) tries to make some 
use of it. Wine prints the following error when the game is loading to the main 
menu. This is with Wine compiled without OSMesa support:
>err:dib:dibdrv_wine_get_wgl_driver OSMesa not compiled in, no OpenGL bitmap 
>support

I tried the Fedora version of the patch, but it didn't make it better. The 
error message changed to
>err:dib:init_opengl Failed to load OSMesa: /lib/libOSMesa.so.8: undefined 
>symbol: _glapi_Dispatch
when Wine was compiled with that patch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/4

------------------------------------------------------------------------
On 2012-10-07T15:10:30+00:00 Olelukoie wrote:

The only "app" (really game) that I can test is Civilization 3 (see
http://bugs.winehq.org/show_bug.cgi?id=30669 ). I've tested it on openSUSE 12.1
with mesa 8 and latest wine builds and it works if I install osmesa package.

If you wish I can test it once again on my current installation of Mageia 2
(that ships mesa 8 too) and my own builds of current wine git snapshots and
report the results.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/5

------------------------------------------------------------------------
On 2012-10-07T15:19:24+00:00 Olelukoie wrote:

Oh sorry, openSUSE 12.1 comes with even older mesa 7 and it also
provides osmesa and it is required for Civ3.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/6

------------------------------------------------------------------------
On 2012-10-07T17:55:57+00:00 Olelukoie wrote:

Well... I've made some more testing and found that libosmesa is not
really needed for Civ3 to work. At least it's not needed with current
wine 1.5.14+.

So if you do not want to change the configure script you can close this
bug with any resolution you like.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/7

------------------------------------------------------------------------
On 2012-10-08T08:53:24+00:00 Alexandre Julliard wrote:

The configure script is correct, we can't use shared glapi OSMesa.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/8

------------------------------------------------------------------------
On 2012-10-09T17:56:11+00:00 Austin English wrote:

(In reply to comment #1)
> No. If OSMesa built with shared glapi depends on libGL, it's broken. This is
> supposed to be fixed in current versions of Mesa. (See also
> http://lists.freedesktop.org/archives/mesa-dev/2012-September/028019.html)

UPSTREAM then.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/9


** Changed in: wine
       Status: Unknown => Won't Fix

** Changed in: wine
   Importance: Unknown => Medium

** Bug watch added: Wine Bugzilla #30669
   http://bugs.winehq.org/show_bug.cgi?id=30669

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1066599

Title:
  Wine is unable to detect OSMesa correctly when compiling from source

Status in Mesa:
  Unknown
Status in Wine:
  Won't Fix
Status in “mesa” package in Ubuntu:
  New

Bug description:
  I'm trying to compile Wine from source but everytime i run ./configure i got 
at the end of the log:
  configure: libOSMesa development files not found (or too old), OpenGL 
rendering in bitmaps won't be supported.

  There was a bug filled in wine-bugs but they say is a problem in mesa
  http://bugs.winehq.org/show_bug.cgi?id=31904, the issue is supposed to
  be fixed in Mesa 9.0 but i have updated to version 9.0-0ubuntu1 and
  I'm still getting this error.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libosmesa6-dev 9.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic i686
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: i386
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  CompositorRunning: compiz
  Date: Sun Oct 14 16:33:55 2012
  DistUpgraded: 2012-06-27 12:51:06,634 DEBUG enabling apt cron job
  DistroCodename: quantal
  DistroVariant: ubuntu
  DkmsStatus: virtualbox, 4.1.18, 3.5.0-17-generic, i686: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices [AMD] nee ATI Madison [Mobility Radeon HD 5000 
Series] [1002:68c0] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1594]
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120419)
  MachineType: Hewlett-Packard HP Pavilion dv6 Notebook PC
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=d8f2140b-0c50-4d83-9991-c03e9a2a89a4 ro quiet splash vt.handoff=7
  SourcePackage: mesa
  UpgradeStatus: Upgraded to quantal on 2012-06-27 (109 days ago)
  dmi.bios.date: 07/26/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.0F
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1594
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 91.36
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrF.0F:bd07/26/2011:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvr058B200000242B10000020100:rvnHewlett-Packard:rn1594:rvr91.36:cvnHewlett-Packard:ct10:cvrChassisVersion:
  dmi.product.name: HP Pavilion dv6 Notebook PC
  dmi.product.version: 058B200000242B10000020100
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.8.4-0ubuntu2
  version.libdrm2: libdrm2 2.4.39-0ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.99.99~git20120913.8637f772-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.2-0ubuntu3

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1066599/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to