From: nospam@needed.invalid   
      
   On 4/29/2024 6:23 AM, Richard Kettlewell wrote:   
   > Jasen Betts writes:   
   >> On 2024-04-29, vallor wrote:   
   >>> Cygwin had an X server last time I used it, and it could be run   
   >>> "rootless" so that an X window would appear to be a native MS Windows   
   >>> window.   
   >>   
   >> There's also WSL now too, but I've never touched it.   
   >   
   > I have been using WSL’s X server lately. It seems to work OK for   
   > relatively light use (e.g. Emacs). I’ve not tried to give it anything   
   > more challenging than that.   
   >   
      
   I run Firefox on it.   
      
   The graphics stack is pretty impressive. And one   
   of the things that impressed me, is the time it   
   took to go from "barely working" to "tuned". Only   
   a week or two. Whoever did the work, "had experience" :-)   
   It wasn't run like a lot of Microsoft projects.   
   It had real Linux people in the pits.   
      
   One of the layers of the graphics stack, seems to be Terminal Services,   
   and I suspect that's how it gets to the Windows desktop.   
      
   $ xdpyinfo   
   name of display: :0   
   version number: 11.0   
   vendor string: Microsoft Corporation   
   vendor release number: 12010000   
   maximum request size: 16777212 bytes   
   motion buffer size: 256   
   bitmap unit, bit order, padding: 32, LSBFirst, 32   
   image byte order: LSBFirst   
   number of supported pixmap formats: 7   
   supported pixmap formats:   
    depth 1, bits_per_pixel 1, scanline_pad 32   
    depth 4, bits_per_pixel 8, scanline_pad 32   
    depth 8, bits_per_pixel 8, scanline_pad 32   
    depth 15, bits_per_pixel 16, scanline_pad 32   
    depth 16, bits_per_pixel 16, scanline_pad 32   
    depth 24, bits_per_pixel 32, scanline_pad 32   
    depth 32, bits_per_pixel 32, scanline_pad 32   
   keycode range: minimum 8, maximum 255   
   focus: None   
   number of extensions: 22   
    BIG-REQUESTS   
    Composite   
    DAMAGE   
    DOUBLE-BUFFER   
    GLX   
    Generic Event Extension   
    MIT-SHM   
    Present   
    RANDR   
    RECORD   
    RENDER   
    SHAPE   
    SYNC   
    X-Resource   
    XC-MISC   
    XFIXES   
    XFree86-VidModeExtension   
    XINERAMA   
    XInputExtension   
    XKEYBOARD   
    XTEST   
    XVideo   
   default screen number: 0   
   number of screens: 1   
      
   screen #0:   
    dimensions: 1440x900 pixels (381x238 millimeters)   
      
   $ inxi -G   
   Graphics: Device-1: Microsoft driver: dxgkrnl v: 2.0.2   
    Display: wayland-0 server: Microsoft Corporation X.org 11.0 driver:   
   dxgkrnl resolution: 1440x900~60Hz   
    OpenGL: renderer: D3D12 (NVIDIA GeForce GTX 1050 Ti) v: 3.3 Mesa   
   21.2.6   
      
   The renderer seems to be wired up (judging by Task Manager info), but...   
   it's not very fast.   
      
   $ vulkaninfo   
   WARNING: lavapipe is not a conformant vulkan implementation, testing use only.   
   ==========   
   VULKANINFO   
   ==========   
      
   Vulkan Instance Version: 1.2.131   
      
      
   Instance Extensions: count = 18   
   ====================   
    VK_EXT_acquire_xlib_display : extension revision 1 ...   
      
    [Picture] Vulkan Cube (it rotates at a good clip in person -- snapshotting   
   it, stops it)   
      
    https://i.postimg.cc/m2Q6VgZh/vkcube.gif   
      
   GLXGears doesn't seem to be accelerated.   
   However, in W11 Task Manager, the hardware GPU indicates it is   
   running at 40% at the moment, to make these paltry frame rates   
   for the animation.   
      
   $ glxgears   
   900 frames in 5.0 seconds = 179.969 FPS   
   905 frames in 5.0 seconds = 180.885 FPS   
   875 frames in 5.0 seconds = 174.880 FPS   
      
   $ __GL_SYNC_TO_VBLANK=0 glxgears   
   871 frames in 5.0 seconds = 174.049 FPS   
   856 frames in 5.0 seconds = 171.168 FPS   
   862 frames in 5.0 seconds = 172.282 FPS   
      
   $ vblank_mode=0 glxgears   
   ATTENTION: default value of option vblank_mode overridden by environment.   
   894 frames in 5.0 seconds = 178.791 FPS   
   882 frames in 5.0 seconds = 176.348 FPS   
      
   There are toys, and no lack of weirdness :-)   
      
    Paul   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|