-
Notifications
You must be signed in to change notification settings - Fork 70
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
Fedora 41 / Debian 12 - Workspace not loading #451
Comments
Hi Patrick, I've already seen that error message "NSColor.m:279 Assertion failed in void initSystemColors(void). couldn't get default system color selectedKnobColor" message on Fedora 41. If I remember correctly my solution was to setup 'nouveau' driver for NVidia card (I've added To sum up: it's definitely not GNUstep or NextSpace problem - it's Xorg/Wayland type of a problem - with |
Hi Sergii, |
P.S.: Having the same issue now on debian 12 after tweaking Xorg conf to fix resolution/frequency and prevent Login.app flickering. See my Draft Pull request to review code changing attempt at this stage. |
Nice! Looking forward to complete PR. Just curious: could you please make an install of NextSpace on Debian 12 in virtual machine? Will you have working setup or same problems? |
Hi Sergii, What machine should be targeted in the VM ? |
P.S.: comparing between NextSpace and GSDE (OnFlapp) implementations, I found several differences worth knowing:
Did You have the opportnity to converse with OnFlapp about the GNUstep Back choice ? Has anybody already tried that with NextSpace ? |
That would be on time since I wanna start new Slackware install and cannot decide on GNUstep or NEXTspace. |
GSDE doesn't use displays and screen management implemented inside SystemKit while NextSpace does. By default, at first start SystemKit uses XRandR mechanism to automatically set resolution best applicable to your hardware. It's same as starting Xorg without any configuration.
Display resolution setting has nothing to GNUstep Back. GNUstep Back manages drawing and displaying text - it doesn't contain Xorg resolution management. Do you mean something different about GNUstep Back?
There's nothing to communicate about - NextSpace more integrated with OS than GSDE. Basically GSDE is a bunch of applications bundled together (and includes part of NextSpace BTW). NextSpace's idea is to be more consistent desktop environment in look/feel as well as OS integration. That's why it contains less applications then GSDE. BTW, now I'm working on more tight integration with D-Bus services (like UPower and UDisks2). So if you think that resolution management in NextSpace is not appropriate, give me more information about your case. Basically I need to understand 2 things:
|
I guess you've got enough information in my reply to @pcardona34 or something leaves unclear to you? |
Hi Sergii, About my graphic hardware:GPU model: Broadcom VideoCore VI. Related instructions:
I shall try a new installation from a clean clone of the repo. |
Hi Sergii, I was able to install Nextspace from my branch (Debian12 arm64 pcardona34) on my pi400
At the first launch, the screen was flickering.
Please, see my proposals on the PR finalized. I will try again under Fedora next week-end following the same method. |
Hi Sergii,
|
Pattrick, any program may segfault (producing core dump) at a bunch of different reasons. "Workspace generates a core dump" has no information to help me identify and fix bug. Also I don't have aarch64 of any kind to try to reproduce it. You may create more and more issues like this without any hope to get a fix. Sorry. |
I Sergii, 1- Why is Workspace not loading or just stop doing ?If You read the log, You can see that some symbols are not found: a bad dynamic linking. But why it does sometimes and sometimes it does not ?
When it occurs, on debian 12, it aborts and on Ultramarine (Fedora like) it produces a core (segmentation fault). I was not able to run
Workaround: You must revert to the English locale. |
2. Why are Login.app and Workspace flickering on HD display ?Obviously, the way If I observe the resolutions that work, I notice that:
And HD: In the meanwhile, the workaround is to copy in
|
Do not take it seriously. It's not critical and CoreFoundation releated.
Good point, thank you! I've found a place inside GNUstep GUI which incorrectly convert colors doubles into NSString placing |
That's it! I need to understand several things:
It's good temporary solution but not right from a correct NextSpace behavior perspective. |
This is a
The context is:
And this one also not flickering, under Ultramarine 40, same computer, last NeXTspace build:
|
And now the
|
Also, I add, in case it could be usefull, the Xorg.log. |
Thanks. I guess I've found flickering cause: for some reason "1920x1080i" selected instead of "1920x1080". Have you tried to specify "1920x1080" in xorg.conf? What is the result? |
Yes, it should not use interlaced mode (1080i) with a HD LCD monitor (1080p expected). I attach the EDID (Hex format) of the ACER 57e monitor. Maybe it could be helpful. |
Have yout tried to specify "1920x1080" in
If so, did it work? And you don't need to use tools like
|
So, in the case of |
P.S.: I was using cvt to get modelines and try more sophisticated screen-resolution.conf, but it was not successful because the driver is doing it from EDID... and, following the above note, it results that it is not efficient this way. |
Try with latest changes to code tree - it should be fixed now. |
Show me your ~/Library/Preferences/.NextSpace/Displays-<hash number>.config file. |
As You should expect, after last update, new messages about the display are now available in the console.log:
|
Please ignore this - this debug message means nothing for this issue case. |
As I assume the user's display configuration is correct and works as expected. Moreover SystemKit doesn't make possible to choose resolution with non-numeric width or height (like 1080i). You may accept it as design flow - I'll think about it later... The only place in the code that may select intelaced mode is when there's no saved display configuration. In that case the best resolution selected and "best resolution" is simply the first resolution in XRandR output list. To prove this idea I want to ask you to try this:
I expect to see 1920x1080i at first place in a list of resolutions. |
Hi Sergii,
As You can note it, it is not as You expected. It is the 1080p and not the 1080i mode at first position, because my monitor is a LCD one, not a RTC. |
If 1920x1080 is set by Xorg and not DM or DE then Login.app should work the same way. As I mentioned earlier SystemKit classes (which set initial resolution) set resolution first in XRandR screen resources. To prove that could please do what I asked to literally? Without DM and DE. |
Hi Sergii,
The output is the same above:
The differences between 1080p and 1080i modes are not only progressive/interlace, but also rates: maybe the 75.00 Hz rate is ignored by Display Preferences and in that context, it is ever a 60 Hz rate: so this could explain the 1080i mode, because, its default rate is 60 Hz VS the 75.00 Hz rate for the 1080p mode. |
@pcardona34 could you please try to disable screen resolution setup in Login.app and check if it helps? nextspace/Applications/Login/Login_main.m Line 326 in 155da5f
then reinstall and restart Login application:
|
After the rebuild of |
@pcardona34 I've added a fix. Please check if it works correctly for you. |
Hi Sergii,
To be complete, I also noted that the system has created an 'Outputclass' section in '/etc/X11/xorg.conf.d/99-v3d.conf':
The item "MachDriver" makes me think that it is a Kernel mode. The same file exists on other RPI OS debian environments I can observe (Pixel Desktop). But, because it has no bad effect on Login panel, it is not the cause, I presume. Maybe, You could modify 'Workspace/Preferences' apps code according to the efficient way You did with Login ? |
P.S.: today, I built it again inside a virtual machine:
And there, after building NEXTSPACE, guess what happened ? I could choose for Workspace a full screen with a |
Great test. It needs more investigation. Current issue subject is not relevant to problem we're discussing. Would you mind to close this issue and create new with resolution-related subject? |
Please see #465 about 75Hz refresh rate issue. |
Hi Sergii,
After building from
Packaging/Sources
on Fedora 41, I was not able to launch Workspace even with (loginwindow.service) or without (startx)Login.app
first.Logfile.txt
Release.txt
Uname.txt
The text was updated successfully, but these errors were encountered: