[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

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 ();             }