-
Notifications
You must be signed in to change notification settings - Fork 1
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
Connect to RDP session causes crash on hackintosh with RX580 #21
Comments
I have captured log from running The crash was due to Seems like there is no error before the crash. |
std::shared_ptr<std::vector<ULIPCRect>> XrdpUlalacaPrivate::createCopyRects(
std::vector<ULIPCRect> &dirtyRects,
int rectSize
) const {
auto blocks = std::make_shared<std::vector<ULIPCRect>>();
blocks->reserve((_sessionSize.width * _sessionSize.height) / (rectSize * rectSize));
if (rectSize == RECT_SIZE_BYPASS_CREATE) {
std::copy(dirtyRects.begin(), dirtyRects.end(), std::back_insert_iterator(*blocks));
return std::move(blocks);
}
int mapWidth = std::ceil((float) _sessionSize.width / (float) rectSize);
int mapHeight = std::ceil((float) _sessionSize.height / (float) rectSize);
I guess the exception occurs when Also, note that int XrdpUlalacaPrivate::decideCopyRectSize() const {
if (isRFXCodec()) {
return 64;
}
if (isNSCodec() || isH264Codec() || isGFXH264Codec()) {
// ??? FIXME
return RECT_SIZE_BYPASS_CREATE;
}
return RECT_SIZE_BYPASS_CREATE;
} The |
I compiled and run as x86_64 on M1 macmini using Rosetta. |
Sorry for the late reply. |
i have same issue , hope for a fix for this , thank you |
Currently I don't have access to that hackintosh with RX580, but just now I have done testing on another hackintosh with Intel Coffee Lake CPU and internal GPU (Specs: https://github.com/laggykiller/hackintosh-gmk-nucbox2). Without the patch, the behavior is the same as the hackintosh with RX580, immediately crash after logging in the session. Using the patched version, the screen remains blue, and I can control the mouse cursor for a while, but the session crashes after a short while. Unfortunately I think more work has to be done to solve this issue... btw Can you recreate the issue on your side? |
@laggykiller I completely forgot that sessionprojector.app performs os_log() and fputs() to STDERR for logging. Maybe you can check the logs of sessionprojector.app in Console.app. (+ If you don't mind, could you please attach the logs?) |
@unstabler seems nothing useful in log...
|
I am testing on a hackintosh with i7-12700F, RX580, running Ventura. xrdp immediately crash after logging in the session. The session screen remains blue. On rare occasion I can move the mouse cursor for a bit before the crash.
I installed following this guide: https://teamunstablers.notion.site/xrdp-Ulalaca-Getting-started-f82b0c55f0b540a6ac277cc5902361b1
The specs and the EFI is given here: https://github.com/laggykiller/Hackintosh_MSI_B660M-A_WIFI_DDR4
Note that I also have a RTX2070 inserted into motherboard, but disabled by EFI. Not sure if this is the culprit?
Here is the crash report:
xrdp log
Btw I also tested with Sonoma. After logging in, xrdp does not crash, but the rdp screen stays at blue screen. The mouse cursor is teleported to left upper corner, and I cannot move it in the RDP session. However if I left click in RDP session, I can see that it went through and responded to my left click.
The text was updated successfully, but these errors were encountered: