RFactor and Racer issue when running

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MrZasen
Newbie
Newbie
Posts: 2
Joined: Thu Jun 07, 2018 7:56 am

RFactor and Racer issue when running

Post by MrZasen »

Hi all, I've been trying to run rFactor 1255 and Racer (with CG shaders) games with Wine 3.9, with a very similar fatal error, related to shaders.
Racer is a free game you can get in the official developer's web Racer.nl
RACER
Image

Code: Select all

DGPUShaderManager:MakeObject(standard_xtree_f.cg):
can't create CG fragment shader program 
The compile returned an error.
data/renderer/shaders/shadowmapping.cg(193) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(243) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(290) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(298) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(306) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(359) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(366) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(373) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(381) :
warning C7011: implicit cast from "float4" to "float2"
data/renderer/shaders/shadowmapping.cg(164) :
warning C7011: implicit cast from "float4" to "float3"
data/renderer/shaders/shadowmapping.cg(165) :
warning C7011: implicit cast from "float4" to "float3"
data/renderer/shaders/shadowmapping.cg(131) : error 
C3004: function "float ddx(float);" not supported in this 
profile
RFACTOR
Image

Code: Select all

Fatal error compiling vertex shader vs11_blinnBumpT0. Please compile offline for more info.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: RFactor and Racer issue when running

Post by DarkShadow44 »

What GPU are you using?
I'm using a Radon R9 285 with mesa, and I get the same errors.
I'd guess that it's a graphics driver issue, not a wine problem. But I'm not 100% sure.

I got the program from http://www.racer.nl/dl_beta_win.htm, and it states that they "work almost exclusively with nVidia cards (and drivers), so those are highly recommended for the best compatibility with Racer".
MrZasen
Newbie
Newbie
Posts: 2
Joined: Thu Jun 07, 2018 7:56 am

Re: RFactor and Racer issue when running

Post by MrZasen »

Hmm I have Intel 4th Generation Integrated Graphics, the thing is, I've never had this issue on any game when I had Windows...
Also, what about rFactor problem? is it the same issue then?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: RFactor and Racer issue when running

Post by DarkShadow44 »

I don't have the game, so I can't test. I guess best would be if we got someone with nvidia and proprietary drivers on linux to test it. If it works there, it's a driver issue, if it does not, it could be wine.
Locked