Re: Black screen when starting Xorg with new laptop.

2018-02-28 Thread George Ramirez
Sure. But I am not sure in which state you want me to send them. I
haven't disabled inteldrm like pstern suggested. tbh, I wouldn't know
how to do that yet. What I did do was upgrade to the latest snapshot
from February 28th and  give it another syspatch but that didn't fix
the problem. Here is my dmesg and Xorg.0.log.

On Wed, Feb 28, 2018 at 4:11 PM, Noth  wrote:
> Can you boot without X running, copy /var/log/Xorg.0.log and dmesg to a usb
> stick or another machine and then upload those to this thread? This is an
> ongoing acpi issue with inteldrm I believe, it stopped working in 6.2 for
> Skylake and newer intel GPUs. No change in sight...
>
>
> Noth
>
>
> On 26/02/18 23:11, George Ramirez wrote:
>>
>> Sadly this didn't work. I tried the keys for the screen brightness but
>> nothing changed.
>>
>> On Thu, Feb 22, 2018 at 3:29 PM, Andrew  wrote:
>>
>>> On 02/22/18 09:27, George Ramirez wrote:
>>>
 with intel 620 UHD graphics. At first, the console shows with underscan,
 then the resolution changes to the native one, and finally it goes
 black.

>>> It's a frustrating problem because there are no errors and it seemingly
>>> doesn't work. I bet X is actually running properly but xbacklight
>>> somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
>>> times and see if it illuminates the display properly. On my ThinkPad
>>> it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!
>>>
>


dmesg
Description: Binary data
# cat /var/log/Xorg.0.log
[23.819] (--) checkDevMem: using aperture driver /dev/xf86
[23.842] (--) Using wscons driver on /dev/ttyC4
[23.860] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[23.861] X Protocol Version 11, Revision 0
[23.861] Build Operating System: OpenBSD 6.2 amd64 
[23.861] Current Operating System: OpenBSD novao.home 6.2 GENERIC.MP#15 amd64
[23.861] Build Date: 27 February 2018  10:32:31PM
[23.861]  
[23.861] Current version of pixman: 0.34.0
[23.861]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[23.861] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[23.861] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar  1 02:40:44 2018
[23.862] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[23.863] (==) No Layout section.  Using the first Screen section.
[23.863] (==) No screen section available. Using defaults.
[23.863] (**) |-->Screen "Default Screen Section" (0)
[23.863] (**) |   |-->Monitor ""
[23.863] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[23.864] (==) Automatically adding devices
[23.864] (==) Automatically enabling devices
[23.864] (==) Not automatically adding GPU devices
[23.864] (==) Max clients allowed: 256, resource mask: 0x1f
[23.868] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[23.868] (==) ModulePath set to "/usr/X11R6/lib/modules"
[23.868] (II) The server relies on wscons to provide the list of input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[23.868] (II) Loader magic: 0x351bf42000
[23.868] (II) Module ABI versions:
[23.868]X.Org ANSI C Emulation: 0.4
[23.868]X.Org Video Driver: 23.0
[23.868]X.Org XInput driver : 24.1
[23.868]X.Org Server Extension : 10.0
[23.868] (--) PCI:*(0:0:2:0) 8086:5917:1558:1313 rev 7, Mem @ 0xdb00/16777216, 0x9000/268435456, I/O @ 0xf000/64
[23.868] (II) LoadModule: "glx"
[23.870] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[23.877] (II) Module glx: vendor="X.Org Foundation"
[23.877]compiled for 1.19.6, module version = 1.0.0
[23.877]ABI class: X.Org Server Extension, version 10.0
[23.877] (==) Matched modesetting as autoconfigured driver 0
[23.877] (==) Assigned the driver to the xf86ConfigLayout
[23.877] (II) LoadModule: "modesetting"
[23.878] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[23.878] (II) Module modesetting: vendor="X.Org Foundation"
[23.878]compiled for 1.19.6, module version = 1.19.6
[23.878]Module class: X.Org Video Driver
[23.878]ABI class: X.Org Video Driver, version 23.0
[23.878] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[23.879] (**) 

Re: Black screen when starting Xorg with new laptop.

2018-02-28 Thread Noth
Can you boot without X running, copy /var/log/Xorg.0.log and dmesg to a 
usb stick or another machine and then upload those to this thread? This 
is an ongoing acpi issue with inteldrm I believe, it stopped working in 
6.2 for Skylake and newer intel GPUs. No change in sight...



Noth


On 26/02/18 23:11, George Ramirez wrote:

Sadly this didn't work. I tried the keys for the screen brightness but
nothing changed.

On Thu, Feb 22, 2018 at 3:29 PM, Andrew  wrote:


On 02/22/18 09:27, George Ramirez wrote:


with intel 620 UHD graphics. At first, the console shows with underscan,
then the resolution changes to the native one, and finally it goes black.


It's a frustrating problem because there are no errors and it seemingly
doesn't work. I bet X is actually running properly but xbacklight
somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
times and see if it illuminates the display properly. On my ThinkPad
it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!



[65.893] (--) checkDevMem: using aperture driver /dev/xf86
[65.912] (--) Using wscons driver on /dev/ttyC4
[65.931] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[65.931] X Protocol Version 11, Revision 0
[65.931] Build Operating System: OpenBSD 6.2 amd64 
[65.931] Current Operating System: OpenBSD ghost.nineinchnetworks.ch 6.2 GENERIC.MP#10 amd64
[65.931] Build Date: 21 February 2018  09:42:35PM
[65.931]  
[65.931] Current version of pixman: 0.34.0
[65.931] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[65.931] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[65.931] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 27 00:01:56 2018
[65.932] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[65.933] (==) No Layout section.  Using the first Screen section.
[65.933] (==) No screen section available. Using defaults.
[65.933] (**) |-->Screen "Default Screen Section" (0)
[65.933] (**) |   |-->Monitor ""
[65.934] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[65.934] (==) Automatically adding devices
[65.934] (==) Automatically enabling devices
[65.934] (==) Not automatically adding GPU devices
[65.934] (==) Max clients allowed: 256, resource mask: 0x1f
[65.940] (==) FontPath set to:
	/usr/X11R6/lib/X11/fonts/misc/,
	/usr/X11R6/lib/X11/fonts/TTF/,
	/usr/X11R6/lib/X11/fonts/OTF/,
	/usr/X11R6/lib/X11/fonts/Type1/,
	/usr/X11R6/lib/X11/fonts/100dpi/,
	/usr/X11R6/lib/X11/fonts/75dpi/
[65.940] (==) ModulePath set to "/usr/X11R6/lib/modules"
[65.940] (II) The server relies on wscons to provide the list of input devices.
	If no devices become available, reconfigure wscons or disable AutoAddDevices.
[65.940] (II) Loader magic: 0x137d86742000
[65.940] (II) Module ABI versions:
[65.940] 	X.Org ANSI C Emulation: 0.4
[65.940] 	X.Org Video Driver: 23.0
[65.940] 	X.Org XInput driver : 24.1
[65.940] 	X.Org Server Extension : 10.0
[65.941] (--) PCI:*(0:0:2:0) 8086:1916:1028:0704 rev 7, Mem @ 0xdb00/16777216, 0x9000/268435456, I/O @ 0xf000/64
[65.941] (II) LoadModule: "glx"
[65.942] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[65.952] (II) Module glx: vendor="X.Org Foundation"
[65.952] 	compiled for 1.19.6, module version = 1.0.0
[65.952] 	ABI class: X.Org Server Extension, version 10.0
[65.952] (==) Matched modesetting as autoconfigured driver 0
[65.952] (==) Assigned the driver to the xf86ConfigLayout
[65.952] (II) LoadModule: "modesetting"
[65.952] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[65.953] (II) Module modesetting: vendor="X.Org Foundation"
[65.953] 	compiled for 1.19.6, module version = 1.19.6
[65.953] 	Module class: X.Org Video Driver
[65.953] 	ABI class: X.Org Video Driver, version 23.0
[65.953] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[65.953] (**) modeset(0): claimed PCI slot 0@0:2:0
[65.953] (II) modeset(0): using default device
[65.954] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[65.954] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[65.954] (==) modeset(0): RGB weight 888
[65.954] (==) modeset(0): Default visual is TrueColor
[65.954] (II) Loading sub module "glamoregl"
[65.954] (II) LoadModule: "glamoregl"
[65.955] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[65.968] (II) Module glamoregl: vendor="X.Org Foundation"
[65.968] 	compiled for 1.19.6, module version = 1.0.0
[65.968] 	ABI class: X.Org ANSI C Emulation, version 0.4
[65.968] (II) 

Re: Black screen when starting Xorg with new laptop.

2018-02-26 Thread George Ramirez
Sadly this didn't work. I tried the keys for the screen brightness but
nothing changed.

On Thu, Feb 22, 2018 at 3:29 PM, Andrew  wrote:

> On 02/22/18 09:27, George Ramirez wrote:
>
>> with intel 620 UHD graphics. At first, the console shows with underscan,
>> then the resolution changes to the native one, and finally it goes black.
>>
>
> It's a frustrating problem because there are no errors and it seemingly
> doesn't work. I bet X is actually running properly but xbacklight
> somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
> times and see if it illuminates the display properly. On my ThinkPad
> it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!
>


Re: Black screen when starting Xorg with new laptop.

2018-02-22 Thread Andrew

On 02/22/18 09:27, George Ramirez wrote:

with intel 620 UHD graphics. At first, the console shows with underscan,
then the resolution changes to the native one, and finally it goes black. 


It's a frustrating problem because there are no errors and it seemingly
doesn't work. I bet X is actually running properly but xbacklight
somehow ended up = 0. Tap the "brightness" key on your keyboard a couple
times and see if it illuminates the display properly. On my ThinkPad
it's [Fn]+[Home]. Also check out man xbacklight(1). Good luck !!!



Black screen when starting Xorg with new laptop.

2018-02-22 Thread George Ramirez
So far I have been unable to start X with a new OpenBSD install on my
laptop. I am a complete beginner to OpenBSD. I did manage to get to the
desktop environment in a virtualbox vm. I tried both the default fvwm and
gnome, with both xenodm and gdm. This all worked fine, albeit very slow on
non accelerated vm graphics. However, on my N130WU laptop the screen goes
black right after the boot up messages. This is a kaby lake refresh laptop
with intel 620 UHD graphics. At first, the console shows with underscan,
then the resolution changes to the native one, and finally it goes black. I
was still able to connect through SSH while the laptop was in this state
and get the Xorg.0.log. The log told me to add machdep.allowaperture=1 to
/etc/sysctl.conf which I did, but the screen went black again after I
rebooted. From the new Xorg.0.log I can not understand what went wrong this
time. Here are the new Xorg.0.log and dmesg output.
https://pastebin.com/F9Gf26mb  https://pastebin.com/SQRgxBdz

George