Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with WEG 1.5.2 #1743

Closed
Eniac60 opened this issue Aug 3, 2021 · 22 comments
Closed

Issue with WEG 1.5.2 #1743

Eniac60 opened this issue Aug 3, 2021 · 22 comments

Comments

@Eniac60
Copy link

Eniac60 commented Aug 3, 2021

I have a problems whit Whatevergreen version 1.5.2 .

With this version i don't have hardware acceleration though the GPU is recognized exactly , on OC 0.7.0 - 0.7.1 and 0.7.2

My graphics card is R9 270X 2gb

With whatevergreen versione 1.5.1 it's work fine.

107182674_Schermata2021-08-03alle10_27_12 thumb png f220cb183aabc1de63f30a07eec0e1e9

@Eniac60 Eniac60 closed this as completed Aug 3, 2021
@Eniac60 Eniac60 reopened this Aug 3, 2021
@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

  • Is your GPU natively supported?
  • Do you inject device-id?
  • Do you use FakePCIID or any similar stuff?

@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

-I don't think this card is natively supported

  • Yes device-id is injected on Device-Properties

  • i don't use FakePCIID or similar stuff

Schermata 2021-08-03 alle 16 48 35

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

Does it work without injecting this device-id?

@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

No, without injecting device-id doesn't work

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

Update to master and inject no-gfx-spoof = <01 00 00 00> (any value really).

@vit9696 vit9696 closed this as completed Aug 3, 2021
@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

I updated to version 1.5.3 as you suggested and added the line in device properties but on reboot it crashes after the first phase.
My card is not an X (in the first post I wrote wrong saying 270X) it has device-id 6811 so I inject the fake-id of the X (device-id 6810) which is native, and up to version 1.5.1 it has always worked perfectly.
Schermata 2021-08-03 alle 17 49 25

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

Crashes how? This is not helpful without a symbolicated kernel panic. Just to clarify, with this property injected 1.5.3 is not different from 1.5.1.

@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

The screen goes completely black and I can't photograph the verbose where it stops. How can I help you ?

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

Hrm. Can you confirm that 31b8dd1 is broken for you and c8c0711 works fine?

See: https://dortania.github.io/builds/?product=WhateverGreen&viewall=true

@vit9696 vit9696 reopened this Aug 3, 2021
@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

No, up to version 1.5.1 it works perfectly with all other versions 1.5.2 and 1.5.3 not work . In the photo you can see exactly the versions it works well with1243885889_Schermata2021-08-03alle12_42_35 thumb png 3c51eaaa998358d7bd8c1dc9dba6a3d6

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

In this case I close this is as user error, since c8c0711 changes nothing but a version number.

@vit9696 vit9696 closed this as completed Aug 3, 2021
@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

I humbly apologize, I was using a key with still inserted "no-gfx-spoof = <01 00 00 00>" now I have cleaned everything and I have tried again, with the version c8c0711 works fine.
With all other higher versions, up to 1.5.3 it always starts, the graphics card is recognized correctly but without acceleration.
I got confused, forgive me

@vit9696
Copy link
Contributor

vit9696 commented Aug 3, 2021

May I see your IOReg?

@Eniac60
Copy link
Author

Eniac60 commented Aug 3, 2021

there he is..
iMac di Eniac.zip

@vit9696
Copy link
Contributor

vit9696 commented Aug 4, 2021

Check master. Make sure you update to a9741df and include no-gfx-spoof property. Provide ioreg.

@vit9696 vit9696 reopened this Aug 4, 2021
@keatliang2005
Copy link

I has issue on WEG 1.5.2 too but the situation is slightly different

To what i understand, the spoofing is by SSDT
https://github.com/osy/HaC-Mini/blob/master/ACPI/SSDT-GpuSpoof.asl

and the graphic render glitch is patch via
https://github.com/osy/Polaris22Fixup

on WEG 1.5.1 it work well, but once run on WEG 1.5.2
i had this issue

osy/HaC-Mini#614

Wonder do i need to inject device-id via device property ? since it's already spoof via SSDT

PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
- device-id  : <DF670000>

@Eniac60
Copy link
Author

Eniac60 commented Aug 5, 2021

Bingo , now work fine with versione 1.5.3 (a9741df) .
If you find it useful I am attaching the ioreg versions with and without no-gfx-spoof
Without no-gfx-spoof.zip
with no-gfx-spoof.zip
1443533639_Schermata2021-08-03alle17_49_25 thumb png 50096e34127ce36a9fee0429ad296683
Schermata 2021-08-05 alle 09 31 09

@carlox97
Copy link

carlox97 commented Oct 22, 2021

Bingo , now work fine with versione 1.5.3 (a9741df) .
If you find it useful I am attaching the ioreg versions with and without no-gfx-spoof
Without no-gfx-spoof.zip
with no-gfx-spoof.zip

nice! This can also be done via SSDT https://github.com/carlox97/Getting-Started-With-ACPI/commit/2aa3f875db6f8104def3f8e5b7886671d294505f

Here is one sample

BrushXue added a commit to BrushXue/Getting-Started-With-ACPI that referenced this issue Nov 15, 2021
@PracticalPear413
Copy link

Please help, this is not working for me. I added no-gfx-spoof as 01000000 and deviceid as DF670000 in config.plist, with WhateverGreen 1.5.5 I'm stuck on black screen.
Using 1.5.1 results in the same problem :(

@ccrvlh
Copy link

ccrvlh commented Jan 10, 2022

I think I have a similar problem as well. I have a R9 380 that I've used for two previous builds without problems. If using without spoof, system crashes basically in any site with a more demanding animation (simple animations really), I can only load static websites.

When with SPOOF to the (supported) 380x, the crashes stop, but no hardware acceleration at all, sluggish performance. Tried a couple of older versions and nothing. I don't have any DeviceProperties associated with the card (with the specific codes above), any references I could consult to help troubleshoot this?

Thanks!

@ccrvlh
Copy link

ccrvlh commented Jan 10, 2022

FUP: Tried adding the no-gfx-spoof, I get the hardware acceleration, but still crashing.
By crashing I mean that it crashes at any sign of "heavy" graphics on websites.

I found a thread here that mentioned the possibility of the GPU locking up, and it is pretty similar to my case. I can see the "DumpGPURestart" a couple of minutes before the system watchdog throws the error: "no successful checkins from WindowServer in 120 seconds".

Lilu 1.5.8
WhateverGreen 1.5.5 (tried a couple of other versions as well)

@kernel-dev
Copy link

kernel-dev commented May 14, 2022

Hello, I'm also encountering a similar issue with WEG builds where both the device-id (for spoofing purposes) and no-gfx-spoof properties were added. I would assume that the causation of the KPs/crashes is similar to that which @lowercase00 has described above.

Here's a KP log from 2 weeks ago (Apr 30th):
kp_30.apr.2022.txt

The way this issue presents itself is that the system stops responding, and shortly after, it completely restarts on it's own – all the way to POST, I mean.

I do not encounter this issue if I use WEG v1.5.0 and use an SSDT-GPU-SPOOF patch, or just use my iGPU with the dGPU disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

8 participants
@keatliang2005 @vit9696 @ccrvlh @carlox97 @kernel-dev @Eniac60 @PracticalPear413 and others