Ticket #289 (closed usability: fixed)

Opened 4 years ago

Last modified 3 years ago

2.4.0_rc1 color changed for some menus and graphics

Reported by: marcel@… Owned by: jeremyhu@…
Priority: Important Milestone: 2.4.0
Component: xserver Version: dev (xorg-server-1.5-apple)
Keywords: Cc:

Description (last modified by jeremyhu@…) (diff)

XQuartz 2.4.0_rc1 (xorg-server 1.5.3-apple12)

I have installed the 2.4.0_rc1 and found out a problem whit the colors in the dialogs on NX. Whiteout any change on the NX installation, the colors in the dialog's are not correct while the graphic windows are correct.

Last login: Mon Jul 27 14:33:59 on ttys000
Marcels-iMac:~ marcel$ defaults read org.x.X11
{
    "NSWindow Frame x11_prefs" = "82 446 613 324 0 0 1680 1028 ";
    SULastCheckTime = 2009-07-27 09:48:52 +0200;
    "app_to_run" = "/usr/X11/bin/xterm";
    "cache_fonts" = 1;
    depth = -1;
    "done_xinit_check" = 1;
    "enable_fake_buttons" = 0;
    "enable_key_equivalents" = 1;
    "enable_system_beep" = 0;
    "fullscreen_menu" = 0;
    "login_shell" = "/bin/sh";
    "no_auth" = 0;
    "nolisten_tcp" = 1;
    rootless = 1;
    "sync_clipboard_to_pasteboard" = 1;
    "sync_keymap" = 0;
    "sync_pasteboard" = 1;
    "sync_pasteboard_to_clipboard" = 0;
    "sync_pasteboard_to_primary" = 1;
    "sync_primary_on_select" = 0;
    "wm_click_through" = 1;
    "wm_ffm" = 0;
    "wm_focus_on_new_window" = 0;
}
Marcels-iMac:~ marcel$ 

Attachments

Bild 1.png (270.1 KB) - added by marcel@… 4 years ago.
xdpyinfo.txt (42.1 KB) - added by marcel@… 4 years ago.
xwininfo_color_menu.txt (690 bytes) - added by marcel@… 4 years ago.
xwininfo_graphic_window.txt (706 bytes) - added by marcel@… 4 years ago.
xwininfo_history_window.txt (684 bytes) - added by marcel@… 4 years ago.
glxinfo.txt (26.3 KB) - added by marcel@… 4 years ago.
org.x.X11.txt (723 bytes) - added by marcel@… 4 years ago.
xwininfo_color_window_old.txt (690 bytes) - added by marcel@… 4 years ago.
xwininfo_graphic_window_old.txt (699 bytes) - added by marcel@… 4 years ago.
xwininfo_history_window_old.txt (684 bytes) - added by marcel@… 4 years ago.
xdpyinfo_old.txt (138.9 KB) - added by marcel@… 4 years ago.
glxinfo_old.txt (84.7 KB) - added by marcel@… 4 years ago.
X11Schnappschuss007.png (293.5 KB) - added by marcel@… 4 years ago.
nx_graphic_driver_info.txt (848 bytes) - added by marcel@… 4 years ago.
nx_graphic_driver_info_old.txt (832 bytes) - added by marcel@… 4 years ago.
X11Schnappschuss008.png (315.3 KB) - added by marcel@… 4 years ago.

Change History

Changed 4 years ago by marcel@…

comment:1 Changed 4 years ago by jeremyhu@…

  • Status changed from new to assigned

Please provide the output of the NX diagnostic information for that window, xdpyinfo, glxinfo both with the current (broken) and the last working configuration. Also, please report the version number of the last-working version (as stated in X11->About X11).

comment:2 Changed 4 years ago by jeremyhu@…

  • Priority changed from blocker to major

comment:3 Changed 4 years ago by jeremyhu@…

  • Description modified (diff)

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

comment:4 Changed 4 years ago by marcel@…

After using the 1.4.2-apple45 X11.bin NX won't start. See here the logfile info:

it seams i have to downgrade X11...

30.07.09 10:31:00 [0x0-0x1c81c8].com.ugs.nx[22757] X Toolkit Warning:
30.07.09 10:31:00 [0x0-0x1c81c8].com.ugs.nx[22757]     Name: TbxmEditViewer_edit_control
30.07.09 10:31:00 [0x0-0x1c81c8].com.ugs.nx[22757]     Class: XmTextField
30.07.09 10:31:00 [0x0-0x1c81c8].com.ugs.nx[22757]     Character '\60' not supported in font.  Discarded.
30.07.09 10:31:03 org.x.startx[22591] Quitting Xquartz...
30.07.09 10:31:03 org.x.startx[22591] Xquartz: start_x11_server: (ipc/mig) server died
30.07.09 10:31:03 org.x.startx[22591] /usr/X11/bin/xinit:  connection to X server lost.
30.07.09 10:31:29 sudo[22839]   marcel : TTY=ttys001 ; PWD=/Users/marcel ; USER=root ; COMMAND=/bin/chmod 755 /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
30.07.09 10:31:36 org.x.startx[22841] font_cache: Scanning user font directories to generate X11 font caches
30.07.09 10:31:36 org.x.startx[22841] font_cache: Updating FC cache
30.07.09 10:31:36 org.x.privileged_startx[22848] font_cache: Scanning system font directories to generate X11 font caches
30.07.09 10:31:36 defaults[22873]
The domain/default pair of (org.x.X11, dpi) does not exist

30.07.09 10:31:36 org.x.startx[22841] xauth:  creating new authority file /Users/marcel/.serverauth.22841
30.07.09 10:31:36 org.x.privileged_startx[22848] font_cache: Updating FC cache
30.07.09 10:31:36 kernel encodings.dir/rsrc: file access by '/rsrc' was deprecated in 10.4
30.07.09 10:31:36 org.x.startx[22841] Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
30.07.09 10:31:36 org.x.startx[22841] Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/MacOS/X11 --listenonly
30.07.09 10:31:38 org.x.startx[22841] font_cache: Done
30.07.09 10:31:38 org.x.privileged_startx[22848] font_cache: Done
30.07.09 10:31:38 org.x.startx[22841] waiting for X server to begin accepting connections
30.07.09 10:31:39 org.x.startx[22841] .
30.07.09 10:31:40 org.x.startx[22841] X11.app: main(): argc=2
30.07.09 10:31:40 org.x.startx[22841]  argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
30.07.09 10:31:40 org.x.startx[22841]  argv[1] = --listenonly
30.07.09 10:31:40 org.x.startx[22841] Waiting for startup parameters via Mach IPC.
30.07.09 10:31:40 org.x.startx[22841] .
30.07.09 10:31:40 org.x.startx[22841] X11.app: Listening on socket for fd handoff:  (3) /var/tmp/tmp.0.DESNg6
30.07.09 10:31:40 org.x.startx[22841] X11.app: Thread created for handoff.  Returning success to tell caller to connect and push the fd.
30.07.09 10:31:40 org.x.startx[22841] Xquartz: Handoff connection established (try 1 of 5) on fd 4, "/var/tmp/tmp.0.DESNg6".  Sending message.
30.07.09 10:31:40 org.x.startx[22841] Xquartz: Message sent.  Closing handoff fd.
30.07.09 10:31:40 org.x.startx[22841] X11.app: do_start_x11_server(): argc=6
30.07.09 10:31:40 org.x.startx[22841]  argv[0] = /usr/X11/bin/X
30.07.09 10:31:40 org.x.startx[22841]  argv[1] = :0
30.07.09 10:31:40 org.x.startx[22841]  argv[2] = -nolisten
30.07.09 10:31:40 org.x.startx[22841]  argv[3] = tcp
30.07.09 10:31:40 org.x.startx[22841] X11.app: Received new $DISPLAY fd: 5 ... sleeping to allow xinitrc to catchup.
30.07.09 10:31:40 org.x.startx[22841]  argv[4] = -auth
30.07.09 10:31:40 org.x.startx[22841]  argv[5] = /Users/marcel/.serverauth.22841
30.07.09 10:31:41 org.x.startx[22841] .
30.07.09 10:31:42 org.x.startx[22841] Xquartz starting:
30.07.09 10:31:42 org.x.startx[22841] X.Org X Server 1.4.2-apple45
30.07.09 10:31:42 org.x.startx[22841] Build Date: 20090703
30.07.09 10:31:43 org.x.startx[22841] X11.app Handing off fd to server thread via DarwinListenOnOpenFD(5)
30.07.09 10:31:43 org.x.startx[22841] DarwinListenOnOpenFD: 5
30.07.09 10:31:43 org.x.startx[22841] (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
30.07.09 10:31:43 org.x.startx[22841] (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
30.07.09 10:31:44 org.x.startx[22841] Calling ListenOnOpenFD() for new fd: 5
30.07.09 10:31:44 3DxMagellanProxy[22840] added device

30.07.09 10:32:18 [0x0-0x1cc1cc].com.ugs.nx[23014] xp_destroy_surface: assertion failed: s != ((void *)0)
30.07.09 10:32:18 [0x0-0x1cc1cc].com.ugs.nx[23014] xp_destroy_surface error: 3
30.07.09 10:32:29 [0x0-0x1cc1cc].com.ugs.nx[23014] ====================================================
30.07.09 10:32:29 [0x0-0x1cc1cc].com.ugs.nx[23014] Failed to handle error condition correctly - exiting
30.07.09 10:32:29 [0x0-0x1cc1cc].com.ugs.nx[23014] Unable to make OpenGL rendering context current.
30.07.09 10:32:29 [0x0-0x1cc1cc].com.ugs.nx[23014] ====================================================
30.07.09 10:32:36 [0x0-0x1cc1cc].com.ugs.nx[23014] ====================================================
30.07.09 10:32:36 [0x0-0x1cc1cc].com.ugs.nx[23014] Failed to handle error condition correctly - exiting
30.07.09 10:32:36 [0x0-0x1cc1cc].com.ugs.nx[23014] General Fault Exception
30.07.09 10:32:36 [0x0-0x1cc1cc].com.ugs.nx[23014] ====================================================
30.07.09 10:32:39 com.apple.launchd[184] ([0x0-0x1cc1cc].com.ugs.nx[23014]) Exited: Killed


comment:5 follow-up: ↓ 6 Changed 4 years ago by jeremyhu@…

Please open a new bug for this surface destroy issue and try 1.4.2-apple46, 1.4.2-apple44, 1.4.2-apple43. Please narrow down the version that introduced your problem with NX. You may want to use this script to help find the version that caused the problem:

http://xquartz.macosforge.org/trac/export/361/trunk/find_version_delta.sh

download it, set it executable, and run it from within Terminal.app using sudo (sudo ./find_version_delta.sh). It will download and install different versions to help you find the version that introduced your problem.

Please keep this bug *just* for the colormap issue. Furthermore, please report the requested information here. I do not have access to NX, so there is no way for me to debug this without your feedback. I need to know what visual that window is using when it is not working and when it is working. Pleae provide the necessary information:

glxinfo xdpyinfo NX window diagnostic information

for both the working AND broken versions.

comment:6 in reply to: ↑ 5 Changed 4 years ago by marcel@…

i have run your cool shell script and found :

Trying 1.4.2-apple31
Please quit X11.app and restart it.
Is this version working (y/n)? y
Trying 1.4.2-apple38
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1581k  100 1581k    0     0   324k      0  0:00:04  0:00:04 --:--:--  352k
Please quit X11.app and restart it.
Is this version working (y/n)? y
Trying 1.4.2-apple41
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1581k  100 1581k    0     0   338k      0  0:00:04  0:00:04 --:--:--  387k
Please quit X11.app and restart it.
Is this version working (y/n)? y
Trying 1.4.2-apple43
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1580k  100 1580k    0     0   334k      0  0:00:04  0:00:04 --:--:--  381k
Please quit X11.app and restart it.
Is this version working (y/n)? y
Trying 1.4.2-apple44
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1581k  100 1581k    0     0   257k      0  0:00:06  0:00:06 --:--:--  334k
Please quit X11.app and restart it.
Is this version working (y/n)? y
1.4.2-apple44 was the last to work
1.4.2-apple45 was the first to break

All of the working versions have no color problem... I cant test 1.4.2-apple45 because it has the "xp_destroy_surface: assertion failed: s != ((void *)0)" were i will make a other report. I will upload the 1.4.2-apple44 infos for glxinfo xdpyinfo NX window diagnostic information here later.

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

Changed 4 years ago by marcel@…

comment:7 Changed 4 years ago by jeremyhu@…

The changes between 44 and 45 are very minor. My guess is that the "xp_destroy_surface: assertion failed: s != ((void *)0)" is likely transient. Can you please try 45 and 46 again without closing any windows during the test.

Thanks for the info.

comment:8 follow-up: ↓ 9 Changed 4 years ago by jeremyhu@…

Ok, I have done a bunch of code cleanup and fixed a few bugs in the visuals. Can you please give the 1.5.3-apple13 server a try?

Changed 4 years ago by marcel@…

comment:9 in reply to: ↑ 8 Changed 4 years ago by marcel@…

The 1.5.3-apple13 version seams to work again... :-) and the colors seams to be also OK! (see the image) You still need the "xp_destroy_surface" ticket?

comment:10 Changed 4 years ago by jeremyhu@…

  • Status changed from assigned to closed
  • Resolution set to fixed

If 1.5.3-apple13 is working, then that's good enough for me. Thanks for testing.

Note: See TracTickets for help on using tickets.