Dear Peter, 1. Sorry but I think Svenni is right here. On my system I also have the scrambled bitmaps with 24 bpp color depth with patch 18-7. Also with -D 24.(16bit is OK) 2. The problems with scrambled screen area when copying text and behind start menu have gone. GREAT!! thank you :-) The problem with scrambled window area when moving a window outside of the screen and back still persist.
This seems to be a w2k specific problem, doesn't occur on NT4.
3. Do you have any idea how the problems with numlock and capslock out of sync could be fixed?
I realized that it always happens when caps- or numlock is turned on before connecting (then they work the other way round).
If they are turned off before connecting they work correct.
Please find my XF86Config attached.(3.3.6)
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/teemX"
EndSection
Section "ServerFlags"
#DontZap
DontZoom
AllowMouseOpenFail
EndSection
Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 5
LeftAlt Meta
RightAlt ModeShift
ScrollLock Compose
RightCtl Control
#XkbDisable
XkbKeycodes "xfree86"
XkbTypes "default"
XkbCompat "default"
XkbSymbols "us(pc101)"
XkbGeometry "pc"
XkbRules "xfree86"
XkbModel "pc105"
XkbLayout "German"
XkbVariant "nodeadkeys"
EndSection
Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
EndSection
Section "Device"
Identifier "JSVGA"
VendorName ""
BoardName ""
Option "swcursor"
EndSection
Section "Screen"
Driver "svga"
Device "JSVGA"
Monitor "JSMON"
DefaultColorDepth 24
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
best regards
Michael
-----Ursprüngliche Nachricht-----
Von: pbm@enkelbeckasin.oru.se [mailto:pbm@enkelbeckasin.oru.se]Im Auftrag von Peter Bystrom
Gesendet am: Dienstag, 09. Jänner 2001 11:52
An: Sveinn Sveinsson
Cc: rdesktop@cifs.org
Betreff: Re: unified-patch18-6
I'm sorry, but I fail to get this, it works perfectly well with my screen at 24bpp.
below is an attached XFconfig file from my computer...
if I set my defaultdepth to 24, which states that I have a depth of 24-bits, I can either start rdesktop as it is, or use the -D 24 switch.
the tdfx driver can't use a depth of 32, but the bits are to my knowledge handeld equally as in a depth of 24, so the code should work there
as well.
handling is the same; in our code a depth of 24 and 32 is equally fast.
what's the problem?
regards,
peter
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "unix/:7100"
FontPath "tcp/localhost:7101"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "se"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Nokia 447Xpr"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30 - 96
VertRefresh 50 - 150
EndSection
Section "Device"
Identifier "3Dfx Interactive, Inc.|Voodoo 3"
Driver "tdfx"
BoardName "Unknown"
EndSection
Section "Screen"
Identifier "Screen0"
Device "3Dfx Interactive, Inc.|Voodoo 3"
Monitor "Nokia 447Xpr"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1024x768"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Sveinn Sveinsson wrote:
Hi,
patch 18-6 looks very good, except that it doesn't work with X in 24bpp mode, but that doesn't concern me much. It used to work using my
patch to the 16bit patch, so this functionality could easily be restored if somebody needs it.
Attached is a minor change I made to tcp.c
Regards,
Svenni.
--
Sveinn Sveinsson | mailto:svenni@strengur.is
Strengur ltd Computer Consultants | mailto:ssveinss@informix.com
Ármúla 7 | Phone: +354-550-9000
IS-108 Reykjavik | Fax: +354-550-9010
Iceland
diff -Naur rdesktop-patched/tcp.c rdesktop-patched2/tcp.c
--- rdesktop-patched/tcp.c Tue Jan 9 09:28:28 2001
+++ rdesktop-patched2/tcp.c Tue Jan 9 09:29:45 2001
@@ -120,7 +120,7 @@
in.end += rcvd;
length -= rcvd;
}
- else if (uisocket != -1 && FD_ISSET (uisocket, &rfds))
+ if (uisocket != -1 && FD_ISSET (uisocket, &rfds))
{
ui_process_events ();
}
-- Sveinn Sveinsson | mailto:svenni@strengur.is Strengur ltd Computer Consultants | mailto:ssveinss@informix.com Ármúla 7 | Phone: +354-550-9000 IS-108 Reykjavik | Fax: +354-550-9010 Iceland