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 283 284 285 286 287 288 289 290 291 292 293 >

jeudi 1 mars 2012

Playing Crysis 2 (using wine 1.4-rc5) in a virutal machine on a domU PVHVM Ubuntu Lucid x86_64 (Xen VGA Passthrough /NVIDIA)

Finaly I did it

Update 03/05/2012: It works with wine 1.4 RC6 too.

  • domU : Ubuntu Lucid 10.04.4 64 bits.
  • Graphic card: GTX 560 Ti
  • Xen: Xen 4.2 unstable + VGA PassThrough patches
  • Kernel domU: 3.1.10 + PV drivers
  • Wine 1.4-rc5 compiled for 32-bits-way and patched with
    1. pure patch: http://bugs2.winehq.org/attachment.cgi?id=27310
    2. patch from: http://forum.ubuntu-fr.org/viewtopic.php?id=634461 (see the first message in this link)
    3. Before installing the game
      wget http://winetricks.org/winetricks
      chmod +x winetricks 
      ./winetricks vcrun2005sp1 vcrun2008 d3dx9 d3dx10 d3dxof
      
      For regedit and Direct3D
      david@mercury-xen0X:~/Bureau$ lspci |grep VGA
      00:07.0 VGA compatible controller: nVidia Corporation Device 1200 (rev a1)
      david@mercury-xen0X:~/Bureau$ lspci -n -s 00:07.0
      00:07.0 0300: 10de:1200 (rev a1)
      david@mercury-xen0X:~/Bureau$ cat backup_direct3d 
      REGEDIT4
      
      [HKEY_CURRENT_USER\Software\Wine\Direct3D]
      "DirectDrawRenderer"="opengl"
      "OffscreenRenderingMode"="fbo"
      "RenderTargetLockMode"="readtex"
      "UseGLSL"="disabled"
      "VideoMemorySize"="2048"
      "VideoPciDeviceID"="0x1200"
      "VideoPciVendorID"="0x10de"
      

mercredi 29 février 2012

Slony 1.2: Switch off autovacuum for Slony tables and pg_listerner,pg_statistic

It is well advised to siwtch off autovacuum for a few tables when using Slony 1.2.x.

Have a look at http://slony.info/documentation/1.2/maintenance.html (Section 6.1 Interaction with PostgreSQL autovaccuum).

Here are the SQL query
-- Slony tables
-- NOTICE: IN THE LINE BELOW, REPLACE clustername by the real cluster name.
INSERT INTO pg_catalog.pg_autovacuum 
    (vacrelid, enabled, vac_base_thresh, vac_scale_factor, anl_base_thresh, anl_scale_factor, vac_cost_delay, vac_cost_limit, freeze_min_age, freeze_max_age)
        SELECT oid, 'f', -1, -1, -1, -1, -1, -1, -1, -1 FROM pg_catalog.pg_class WHERErelnamespace = (SELECT OID FROM pg_namespace WHERE nspname = '_' || 'clustername') AND relhasindex;

-- System tables				
INSERT INTO pg_catalog.pg_autovacuum 
    (vacrelid, enabled, vac_base_thresh, vac_scale_factor, anl_base_thresh, anl_scale_factor, vac_cost_delay, vac_cost_limit, freeze_min_age, freeze_max_age) 
		SELECT oid, 'f', -1, -1, -1, -1, -1, -1, -1, -1 FROM pg_catalog.pg_class WHERE relname in ('pg_listener','pg_statistic') and relnamespace=(select oid from pg_namespace where nspname='pg_catalog') ;

lundi 27 février 2012

Interesting images

Jana Defi...very very interesting came from "LimeLight" collection.... I've got one of Limelight images on my mug but not one of the following images
wget http://i9.fastpic.ru/big/2010/0813/87/c0d0c81e595bc4a8645c9a4f48883587.jpg
wget http://i9.fastpic.ru/big/2010/0813/29/0b1cf936a6f6af34e5b941a9ab80f229.jpg
wget http://i9.fastpic.ru/big/2010/0813/1f/e364c7561998df6773cd08ce909edf1f.jpg
wget http://i9.fastpic.ru/big/2010/0813/41/2681d11332617f44493ea9418cc09441.jpg
wget http://i9.fastpic.ru/big/2010/0813/a3/2ddfa2629bb68dde595712d439e6ada3.jpg
wget http://i9.fastpic.ru/big/2010/0813/4e/3a944d7cecc0a73323d34fac99f12b4e.jpg
wget http://i9.fastpic.ru/big/2010/0813/81/1f0cf03223220b38e9e3528130280d81.jpg
wget http://i9.fastpic.ru/big/2010/0813/cb/402e3b7a818af7331d32fea0aef0a5cb.jpg
wget http://i9.fastpic.ru/big/2010/0813/33/1eeb24dff6af6658284527909f54fd33.jpg
wget http://i9.fastpic.ru/big/2010/0813/86/c71f2e65c95d68132a78a7affa98a086.jpg
wget http://i9.fastpic.ru/big/2010/0813/2e/4863131d0a5b7b600abf22fdfed0842e.jpg
wget http://i9.fastpic.ru/big/2010/0813/6d/e82eba74c67eceb7b0a069017f1bb96d.jpg
wget http://i9.fastpic.ru/big/2010/0813/33/1eeb24dff6af6658284527909f54fd33.jpg
wget http://i9.fastpic.ru/big/2010/0813/c4/0f65a12043bb794fc3e85551d6dd8ec4.jpg
Enjoy your Monday !

EnterpriseDB / PostgreSQL Advanced Server 8.3 - Documentation on line

See http://www.enterprisedb.com/docs/en/8.3/server/index.html