Re: X11 doesn't start -current amd64 lenovo laptop

2021-05-10 Thread Mayuresh
On Tue, May 11, 2021 at 08:06:38AM +1000, matthew green wrote:
> can you try without an xorg.conf at all?

Yes, first tried that. I just thought reporting xorg.conf will help
share what X thinks the hardware is.

> this hardware is not currently supported by our kernel drm driver and
> will need to fallback to wsfb or vesa.  it should do automatically
> without an xorg.conf to force a driver.

Manually writing wsfb in xorg.conf worked. But it wasn't happening
automatically. Also, vesa didn't work.

But hdmi screen and touchpad are still not working. Any suggestions on
those two?

-- 
Mayuresh


re: X11 doesn't start -current amd64 lenovo laptop

2021-05-10 Thread matthew green
can you try without an xorg.conf at all?  this hardware is
not currently supported by our kernel drm driver and will
need to fallback to wsfb or vesa.  it should do automatically
without an xorg.conf to force a driver.

in general, X -configure is no longer recommend, and a
minimal xorg.conf for only the parts that aren't default OK
is what we recommend now.  when i am trying to force a driver
all i have is an xorg.conf with just this:

---
Section "Device"
Identifier  "Card0"
Driver  "wsfb"
EndSection
---

thanks.


.mrg.


Re: X11 doesn't start -current amd64 lenovo laptop

2021-05-10 Thread Mayuresh
On Mon, May 10, 2021 at 11:57:10PM +0530, Mayuresh wrote:

(With attachments.)
[   150.236] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   150.237] Build Operating System: NetBSD/amd64 9.99.82 - The NetBSD 
Foundation, Inc.
[   150.237] Current Operating System: NetBSD  9.99.82 NetBSD 9.99.82 (GENERIC) 
#0: Sun May  9 16:58:57 UTC 2021  
mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
[   150.237] Build Date: 23 February 2020  07:11:23AM
[   150.237]  
[   150.237] Current version of pixman: 0.38.4
[   150.237]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   150.237] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   150.237] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 10 23:37:32 
2021
[   150.237] (++) Using config file: "/root/xorg.conf.new"
[   150.238] (==) ServerLayout "X.org Configured"
[   150.238] (**) |-->Screen "Screen0" (0)
[   150.238] (**) |   |-->Monitor "Monitor0"
[   150.238] (**) |   |-->Device "Card0"
[   150.238] (**) |-->Screen "Screen1" (1)
[   150.238] (**) |   |-->Monitor "Monitor1"
[   150.238] (**) |   |-->Device "Card1"
[   150.238] (**) |-->Input Device "Mouse0"
[   150.238] (**) |-->Input Device "Keyboard0"
[   150.238] (==) Not automatically adding devices
[   150.238] (==) Not automatically enabling devices
[   150.238] (==) Not automatically adding GPU devices
[   150.238] (==) Max clients allowed: 256, resource mask: 0x1f
[   150.238] (**) FontPath set to:
/usr/X11R7/lib/X11/fonts/misc/,
/usr/X11R7/lib/X11/fonts/TTF/,
/usr/X11R7/lib/X11/fonts/Type1/,
/usr/X11R7/lib/X11/fonts/75dpi/,
/usr/X11R7/lib/X11/fonts/100dpi/,
/usr/X11R7/lib/X11/fonts/misc/,
/usr/X11R7/lib/X11/fonts/TTF/,
/usr/X11R7/lib/X11/fonts/Type1/,
/usr/X11R7/lib/X11/fonts/75dpi/,
/usr/X11R7/lib/X11/fonts/100dpi/
[   150.238] (**) ModulePath set to "/usr/X11R7/lib/modules"
[   150.238] (II) Loader magic: 0x1f290a60
[   150.238] (II) Module ABI versions:
[   150.238]X.Org ANSI C Emulation: 0.4
[   150.238]X.Org Video Driver: 24.1
[   150.238]X.Org XInput driver : 24.1
[   150.238]X.Org Server Extension : 10.0
[   150.242] (--) PCI:*(0@0:1:0) 1002:98e4:17aa:39f5 rev 234, Mem @ 
0xe800/134217728, 0xf080/8388608, 0xf040/262144, I/O @ 
0x4000/256, BIOS @ 0x/131072
[   150.242] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[   150.242] (II) LoadModule: "dri"
[   150.242] (II) Module "dri" already built-in
[   150.242] (II) LoadModule: "dri2"
[   150.242] (II) Module "dri2" already built-in
[   150.242] (II) LoadModule: "glx"
[   150.242] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   150.243] (II) Module glx: vendor="X.Org Foundation"
[   150.243]compiled for 1.20.11, module version = 1.0.0
[   150.243]ABI class: X.Org Server Extension, version 10.0
[   150.243] (II) LoadModule: "shadow"
[   150.243] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[   150.243] (II) Module shadow: vendor="X.Org Foundation"
[   150.243]compiled for 1.20.11, module version = 1.1.0
[   150.243]ABI class: X.Org ANSI C Emulation, version 0.4
[   150.243] (II) LoadModule: "amdgpu"
[   150.244] (II) Loading /usr/X11R7/lib/modules/drivers/amdgpu_drv.so
[   150.244] (II) Module amdgpu: vendor="X.Org Foundation"
[   150.244]compiled for 1.20.11, module version = 19.1.0
[   150.244]Module class: X.Org Video Driver
[   150.244]ABI class: X.Org Video Driver, version 24.1
[   150.244] (II) LoadModule: "mouse"
[   150.244] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[   150.244] (II) Module mouse: vendor="X.Org Foundation"
[   150.244]compiled for 1.20.11, module version = 1.9.2
[   150.245]Module class: X.Org XInput Driver
[   150.245]ABI class: X.Org XInput driver, version 24.1
[   150.245] (II) LoadModule: "kbd"
[   150.245] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   150.245] (II) Module kbd: vendor="X.Org Foundation"
[   150.245]compiled for 1.20.11, module version = 1.9.0
[   150.245]Module class: X.Org XInput Driver
[   150.245]ABI class: X.Org XInput driver, version 24.1
[   150.245] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[   150.245] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode 
(version 3.32)
[   150.245] (--) using VT number 5
[   150.413] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[   150.562] (II) AMDGPU(1): [KMS] drm report modesetting isn't supported.
[   150.562] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   150.562] (EE) Screen 0 deleted because of no matching config section.
[   1