Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 >

mercredi 16 décembre 2015

Blade and Soul (PlayBNS.com) | Gallium Nine | Wine-Staging 1.8 RC 3

This is the version from playbns.com. This is a update of a ticket I wrote on 12-Feb-2015. Its content should be almost the same

Winetricks

winetricks -q vcrun2005sp1 corefonts

Sound

To get sound to work

  • Download openal32.dll from Internet (Google is your friend)
  • Put it in ${WINEPREFIX}/drive_c/windows/system32
  • Set it as "native" using winecfg

Video (Youtube)

mardi 15 décembre 2015

Heroes Of the Storm | Wine-Staging 1.8 RC3 | Gallium Nine

Got nice FPS for Low Settings test (60-70 FPS) compared to Ultra Settings test (20-30 FPS)

Devilian | Wine-Staging 1.8 RC3 | Gallium Nine

Got almost 55-60 FPS for this game.

1. Patch latest Mesa3D Sources with latest Gallium Nine patches. (Optional)

In this part I explained the steps I did to get the Mesa3D Sources patches with the latest Gallium Nine sources. I know that iXit Group keep their sources refreshed as much as expected but I am used to refresh to keep Mesa3D sources refreshed too :)

  • I have to extract the latest patches for Gallium Nine extracted from Git Repo of iXit Group (https://github.com/iXit/Mesa-3D). On 15-Dec-2015 the latest commit was 04360cbf9444b8b7f29e27db2a3f198b0953bfd3. There are 46 patches to extract to get latest Gallium Nine patches

    cd /opt/Sources
    git clone https://github.com/iXit/Mesa-3D Mesa-3D_ixit_$(date -I)
    cd Mesa-3D_ixit_$(date -I)
    git format-patch -46 04360cbf9444b8b7f29e27db2a3f198b0953bfd3

    Notice: the commit 04360cbf9444b8b7f29e27db2a3f198b0953bfd3 can be obtained by doing git log | head -n1

    root@amdgaming:/opt/Sources/Mesa-3D_ixit_2015-12-14# git log | head -n1
    commit 04360cbf9444b8b7f29e27db2a3f198b0953bfd3
  • Time to get the latest sources from Mesa3D Git Repo

    cd /opt/Sources
    git clone git://anongit.freedesktop.org/mesa/mesa Mesa-3D_$(date -I)
    cd Mesa-3D_$(date -I)
  • Since we have the latest patches from Gallium Nine then we can apply those patches
    for file in $(ls /opt/Sources/Mesa-3D_ixit_$(date -I)/*patch);do patch -p1 < $file;done

2. Patch Mesa3D

I have to patch this file src/gallium/state_trackers/nine/nine_shader.c by commenting out this line assert(tx->loop_or_rep[l] == loop_or_rep); at line #779

     if (ureg_dst_is_undef(tx->regs.rL[l])) {
         /* loop or rep ctr creation */
         tx->regs.rL[l] = ureg_DECL_local_temporary(tx->ureg);
         tx->loop_or_rep[l] = loop_or_rep;
     }
     /* loop - rep - endloop - endrep not allowed */
     //assert(tx->loop_or_rep[l] == loop_or_rep);

     return tx->regs.rL[l];
 }

After that you just have to rebuild Mesa3D as usual

3. Winetricks

As prerequisite you just need to install those packages

winetricks -q vcrun2013 d3dcompiler_43 d3dx9



4. Youtube Video

dimanche 13 décembre 2015

Facerig on Linux | Wine-Staging 1.8 RC3 | Gallium Nine | Radeon HD 7970

Here are my own tests for FaceRig on Linux. You have to patch and rebuild Wine. All steps are explained below.

1 Instructions (Patch/Rebuild Wine)

  • Patch wine to support your own webcam

    Download wine sources.

    Using your favorite text editor edit this file dlls/qcap/vfwcapture.c

    Near line 402 its new content should be something like (Or just copy/paste the following content to replace content for AMStreamConfig_GetNumberOfCapabilities() and AMStreamConfig_GetStreamCaps() )

    ...
    ...
    static HRESULT WINAPI
    AMStreamConfig_GetNumberOfCapabilities( IAMStreamConfig *iface, int *piCount,
                                            int *piSize )
    {
    //    FIXME("%p: %p %p - stub, intentional\n", iface, piCount, piSize);
    //    *piCount = 0;
    //    return E_NOTIMPL; /* Not implemented for this interface */
    
        FIXME("%p: %p %p - semi-stub\n", iface, piCount, piSize);
        *piCount = 1;
        *piSize = sizeof(VIDEO_STREAM_CONFIG_CAPS);
        return S_OK;
    
    }
    
    static HRESULT WINAPI
    AMStreamConfig_GetStreamCaps( IAMStreamConfig *iface, int iIndex,
                                  AM_MEDIA_TYPE **pmt, BYTE *pSCC )
    {
    //    FIXME("%p: %d %p %p - stub, intentional\n", iface, iIndex, pmt, pSCC);
    //    return E_NOTIMPL; /* Not implemented for this interface */
        HRESULT hr;
        VIDEO_STREAM_CONFIG_CAPS *pVSCC = (VIDEO_STREAM_CONFIG_CAPS*)pSCC;
        FIXME("%p: %d %p %p - semi-stub\n", iface, iIndex, pmt, pSCC);
        /* Should we return other results beyond just the current config? */
        if(iIndex != 0) return S_FALSE;
        hr = AMStreamConfig_GetFormat(iface, pmt);
        if(SUCCEEDED(hr))
        {
            memset(pVSCC, 0, sizeof(VIDEO_STREAM_CONFIG_CAPS));
            pVSCC->guid = (*pmt)->formattype;
            /* FIXME - we should probably fill this out properly */
        }
        return hr;
    }
    
    
    Quit and save the file.

    Notice about this new content: The new content I used so Wine can support my Webcam was found by reading this thread on Steam. It was about a patch to apply to Wine. I've just applied its content to my own purpose.

  • Rebuild Wine. Install it.
    ./configure --prefix=/some/path && make && make install

2. Steam (winetricks)

  • As prerequisites (This is what I did since I am using Gallium Nine but I don't really know if it works for you or if you need more dependencies)
  • winetricks -q vcrun2010 d3dcompiler_43
  • Install Steam
    winetricks --no-isolate steam
  • Log into Steam. Buy the software
  • Let Steam install all dependancies.

3. Videos (Youtube)


Video #1: Short version

Video #2: Long version