El 1/2/24 a las 15:56, RVP escribió:
On Thu, 1 Feb 2024, Ramiro Aceves wrote:

I am not using any xorg.conf file. Ithink I will have to
generate w new one with:

# X -configure

And place in /etc/X11/xorg.conf

then add the option

Option "SWcursor" "on"


You don't need the whole thing; just a fragment like this will do:

```
$ cat /etc/X11/xorg.conf.d/modesetting.conf
Section "Device"
     Identifier  "Card0"
     Driver      "modesetting"
     Option      "SWcursor" "on"
EndSection
$
```

-RVP

Hello RVP,

Thanks for the tip.

I found that I was indeed using a xorg.conf file product of old experiments:

********************************************
netbsd-nuc# cat xorg.conf-backup-modesetting
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/X11R7/lib/modules"
        FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "dri2"
        Load  "glx"
        #Load  "shadow"
EndSection


Section "DRI"
        Group "wheel"
        Mode 0660
EndSection


Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        #Driver      "wsfb"
        Driver      "modesetting"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
********************************************************


If I use no xorg.conf file at all, it picks intel driver and there are no problems in window edges and corners.

If I use your config file it works fine!, no problems on the corners and edges and modesetting driver is used:

netbsd-nuc# cat /etc/X11/xorg.conf
Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
    Option      "SWcursor" "on"
EndSection

Thanks so much.
Ramiro.





Reply via email to