Announcement

Collapse
No announcement yet.

FGLRX + Wine 1.6/1.7

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    FGLRX + Wine 1.6/1.7

    Hello Kubuntu Devs,

    Novice administrator of a home system wavering faith-:

    I am having issues with installing wine 1.7 (or wine 1.6) with the propriatory FGLRX-updates ( FG-updates-core, FG-CCCLE-upd...) package. When you apt-get wine you remove FGLRX and alternately then apt-get FGLRX removes wine ( + icd-opencl-dev). This is the best I have narrowed the issue.

    Having Wine without FGLRX is almost entirely pointless from my own perspective as both packages sole purpose on my computer is for 3d games.

    This was not a problem until a few days ago, prior to this I had upgraded to Utopic 14.10 to upgrade to the new wine 1.7.26 from their development PPA ( A dotnetfx pipeline patch was applied in this Wine release allowing a windows application to run apon a Linux distro for the 1st time ) I mention this as I can confirm a good symbiosis between the 2 packages until the last couple of days.

    I have an upgrade of a Kubuntu Live CD 14.04 which originally worked as described above until 2-3 days ago.

    I have a fresh Ubuntu 14.04 Minimal installation on a seperate partition, upgraded with all bells and whistles, it has the same FGLRX & wine scenario ( installed in the last few days )

    I have a fresh Ubuntu 14.04 Minimal installation on another seoerate partition, Upgraded with plasma 5 Next it has this issue and the one below and a few others ( but this is only as of today so it can wait in other cases)

    In addition, I have a Samsung HD ready LCD TV with which I am presently using as a monitor. Without the FGLRX driver the Desktop ( Console and Xserver ) is rendered a handful of pixels outside of the screen, which is irritating, does anyone know of a way to adjust scaling?! is this possible like that which is found in the catalyst driver.

    ( I guess these following issues are ubuntu/ubuntu-minimal upgrade issues )

    Whilst I have a query open, logging in has been a pain, I have switched from Lightdm to Kdm as lightdm seemed uninterested in me and kept returning back to itself to re-enter login creds, but as KDM it functions now.

    Mountall command from recovery console or any command from the recovery menu initiates a full boot of the system, I had to learn a few new mount and dhclient commands ( I challenge the devs to a duel, sirs! )

    Thankyou for your patience.

    Dragon on the Razzle

    #2
    I have the same issue with nvidia-331. As of last Friday, updating nvidia-331 wants to remove wine. Before this it was all working perfectly. I didn't update on Friday, since I thought it would be soon corrected, but today it still wants to remove wine. This is obviously a bug somewhere that will need to be corrected before release.

    Comment


      #3
      when using the open source driver try scaling via xrandr

      http://kparal.wordpress.com/2014/07/...ource-drivers/

      its possible that the newer versions of wine (or a depencicy ) has a confilct with properitary drivers. it could just a packaging bug
      you may want to ask on https://forum.winehq.org/ they should be able to tell you if its expected or not.
      Mark Your Solved Issues [SOLVED]
      (top of thread: thread tools)

      Comment


        #4
        This only happens on 14.10. I have 14.04 at work with the same version of wine and nvidia drivers, no problems at all. Something changed last Friday or so in the beta updates.

        EDIT:
        Try removing nvidia-libopencl1-331. I noticed that on 14.04 when you install wine, this one package is removed. I removed it on 14.10 and now I can do the updates, and nvidia and wine are both retained.
        Last edited by timber; Sep 16, 2014, 05:31 AM.

        Comment


          #5
          Thanks for the replies.

          The xrandr tip may prove useful, I have used it to change the resolution before but still all 4 edges of the screen are about 20-30 pixels beyond the border (unfortunately this is where all the action is, task bar, command prompt after a directory listing etc. There are a billion options in there to configure but it takes time and patience and ultimately what I require may not be configerable, so I just hurriedly install catalyst. If I do this, and drop to command prompt from kdm login this generally is fine.

          I have since found even my bios screen will not scale to this LCDTV so a new PC monitor is probably a better solution, I can bearly read text on this 37" 720p.

          Opencl will not remove on it's own for me, I do not believe Nvidia Opencl installs with my ATI update, so I have a more general Opencl package ( I think ) removing it does not make my graphics happy, but still, we try.

          Wine 1.7.27 is released ( 19/09/2014 ) though not in the ppa as of this morning, this may have a 14.10 fix or Kubuntu may do it, I will wait for the next named beta package of Kubuntu for a better point of reference. It surely isn't an isolated problem.
          Last edited by BasilDazz; Sep 20, 2014, 06:41 AM. Reason: I hadn't finished

          Comment


            #6
            Sithlord:

            I installed the latest WINE yesterday, and it unloaded my nVidia 331 driver, which killed my HDMI sound. My gf108 digital audio device (in my nVidia card) is now greyed out in Phonon.

            I can do without WINE on this machine. I cannot do without sound. It is my media PC, and it runs my sound system.

            I can uninstall WINE no problem. How do I reinstate the nVidia driver?

            I am thinking of trying the restricted drivers option -- selecting an nVidia driver one older than mine (304, I think), switching to it, and then BEFORE rebooting, re-selecting the 331 driver. Much chance that it will reinstall 331 and fix what is missing?

            Is there a better way?

            I'm not afraid of the command line, but I haven't done a video driver install that way for a LONG time. I hate playing with video. Too easy to end up with nothing to look at, and no idea what happened.

            Frank.
            Linux: Powerful, open, elegant. Its all I use.

            Comment


              #7
              sithlord48:

              OK, I went to WineHQ, did a search, and came up with this thread:

              https://forum.winehq.org/viewtopic.p...+ubuntu#p96444

              Here is what that thread says:

              To install Wine Windows Program Loader, these items need to be removed:
              Nvidia opencl driver and icd loader library
              nvidia-lib opencl1-331

              My Mac mini has a video card Nvidia GE Force 320M which requires Nvidia driver 331.38, which means that following the above message would be problematic with my setup. I did not install Wine, but I need it. Is there a way to resolve this conflict? Thanks.

              dimesio
              Post subject: Re: Strange message when trying to install Wine in Ubuntu 14
              Posted: Wed Sep 10, 2014 8:59 am
              Moderator
              Joined: Tue Mar 25, 2008 10:30 pm
              Posts: 8721
              Ask your distro. That's a packaging/package manager issue, not a Wine issue.


              So, where next?

              Like I say, I can do without WINE on that machine. However, I DO need the nVidia driver, and I need to reinstall it somehow.

              Thanks.

              Frank.
              Linux: Powerful, open, elegant. Its all I use.

              Comment


                #8
                you should be able to install the nvidia driver using muon or the restricted driver manager (now in system settings -> driver manager)
                Mark Your Solved Issues [SOLVED]
                (top of thread: thread tools)

                Comment


                  #9
                  sithlord48:

                  Yeah, I did that. I installed the 304 diver, then installed the 331 driver on top. It worked, but I don't have animation. Desktops change in the blink of an eye. No fade, no cube rotation. However, the sound now works.

                  Good enough.

                  Frank.
                  Linux: Powerful, open, elegant. Its all I use.

                  Comment


                    #10
                    you might need to reset your desktop effects settings. (system settings -> desktop effects)
                    Mark Your Solved Issues [SOLVED]
                    (top of thread: thread tools)

                    Comment


                      #11
                      I just installed Wine 1.7.28 on my 14.04 machine (I'm hoping to get office 2010 to work so I can quit using a VM). I ran into the same issue.

                      Both wine1.7-amd64 and wine1.7-i386 depend on ocl-icd-libopencl1 or libopencl1. These contain "installable client driver (ICD) loaders," which do the actual work of loading the OpenCL driver into memory whenever it's needed. The latter is a virtual package, which the dependency solver can use to choose the best OpenCL ICD loader package for your system, including any proprietary one. Nvidia provides an ICD loader in the package nvidia-libopencl1-343.

                      Now then, when you install wine1.7, you'll note that it installs both the 32-bit and the 64-bit versions of Wine. This, in turn, requires installing both the 32-bit and 64-bit versions of many system libraries. Included in this requirement is an OpenCL ICD loader -- either the generic one or a vendor-specific one. However, there is a packaging problem with the Nvidia ICD loader packages. Namely, they've been created such that you can't install both the 32-bit and the 64-bit versions. Take a look at a simulation run that attempts to install both:
                      Code:
                      steve@t520:~$ [B]apt-get -s install nvidia-libopencl1-343 nvidia-libopencl1-343:i386[/B]
                      NOTE: This is only a simulation!
                            apt-get needs root privileges for real execution.
                            Keep also in mind that locking is deactivated,
                            so don't depend on the relevance to the real current situation!
                      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:
                       nvidia-libopencl1-343 : Conflicts: nvidia-libopencl1-343:i386 but 343.22-0ubuntu1~xedgers14.04.1 is to be installed
                       nvidia-libopencl1-343:i386 : Conflicts: nvidia-libopencl1-343 but 343.22-0ubuntu1~xedgers14.04.1 is to be installed
                      E: Unable to correct problems, you have held broken packages.
                      To solve this, I had to uninstall nvidia-libopencl1-343. Then the dependency solver figured out that its only option was to install the generic ocl-icd-libopencl1 package, because here both the 32-bit and 64-bit versions can co-exist.

                      In the end, it doesn't really matter, as all three packages contain the important file: libOpenCL.so. And this file has only one job: to load the actual OpenCL driver into memory. For Nvidia, that driver is in the package nvidia-opencl-icd-343. And for this, you install only one package: the correct one for your system's CPU architecture.

                      Comment


                        #12
                        Just a note that this issue seems to regress to wine 1.6 on the 14.10 development upgrade ( there isn't a concern on either my 32-bit or 64-bit installs of kubuntu 14.04 when getting and using package wine 1.7.28 from the wine ppa ). But I make you right that the packager would only install the 64-bit version on 64-bit kubuntu and likewise 32-bit with 32 from a livecd install.

                        Has an O/S system label been removed from within 14.10 dev causing the packager to install all?

                        Comment


                          #13
                          In the end, it doesn't really matter, as all three packages contain the important file: libOpenCL.so. And this file has only one job: to load the actual OpenCL driver into memory. For Nvidia, that driver is in the package nvidia-opencl-icd-343. And for this, you install only one package: the correct one for your system's CPU architecture.
                          Unfortunately no, at least not in my installation. The opencl package installed with wine1.7 does not work, at least not with darktable. It says it is loading the opencl driver, but then gives a message that it does not work. The nvidia-libopencl1-331-updates driver did work fine, so there is something wrong somewhere. Oh, and I did install the required -dev package.
                          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                          Comment


                            #14
                            Steve and Sithlord48:

                            OK, so I understand the issue, and I sort-of understand how you solved it. What should I do to fix mine?

                            I tried reinstalling the 331 driver by first installing the 304 driver, then switching back to the 331. I thought it worked, but there are no desktop effects, and while the nVidia settings console is available from the Kmenu, it shows no configuration. I am guessing that I am still running the Nouveau driver, though I don't know how to check that for sure. I tried enabling an additional desktop effect (they are checked off as being turned on in the Desktop Effects settings), but I went to apply it, I got an error message that they could not be enabled, check here for details. Clicking 'details' brought up another message saying something to the effect that it was not possible to provide an answer.

                            Do I understand correctly that I want to install "nvidia-opencl-icd-343" at this point? Can I do that from Synaptic? Will I get a prompt during the install asking me whether I want 32 or 64 bit?

                            Thanks.

                            Frank.
                            Linux: Powerful, open, elegant. Its all I use.

                            Comment


                              #15
                              Let's verify what you're running first. Please show the output of
                              Code:
                              lsmod | egrep 'nvidia|nouveau'
                              
                              egrep 'nvidia|nouveau' /var/log/Xorg.0.log

                              Comment

                              Working...
                              X