Re: [OpenIndiana-discuss] OI new user questions - 2

2020-12-14 Thread Gary Mills
On Mon, Dec 14, 2020 at 04:20:49PM +, Kalle Anka via openindiana-discuss 
wrote:
> 
> @Gary Mills, 
> the "hal service" has started and runs fine. I get the same output as you. 

Okay, hal is running.  That is good to know.

> However, there are several posts from Linux users, having the same
> problems as I do. For instance:

> https://unix.stackexchange.com/questions/152418/x-server-started-by-kdm-dies-during-startup-because-of-keymap-couldnt-be-loaded
> http://forums.debian.net/viewtopic.php?f=10=107337
> https://bbs.archlinux.org/viewtopic.php?id=54015=2

> It seems that this problem can be fixed by reinstalling
> "x11-xkb-utils" or "xkbcomp " if you read the threads. So I dont
> really understand how to do that on OI?

That solution is too magical for me.  The OI USB image should have
everything that it needs.

> I also tried to dabble with BIOS settings
> EHCI
> XHCI
> Legacy USB
> ...

> but I still get the same Xorg error messages as usual. How can I
> fix the xkbcomp software on OI?

You may be chasing the wrong fox.  It seems to me that the real
problem is that something is telling Xorg not to use hal.  You can't
do that.  Near the beginning of the Xorg log is the statement:

[44.620] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.

Your Xorg seems to search for the keyboard without the aid of hal.  It
should not be compiling a keymap at all.  Perhaps the command does not
exist.  Perhaps it's looking in the wrong place.  In any case, the
error is here.

> BTW, I dont use the integrated graphics of Intel HD4600, I have
> shut it off. I only use the Geforce GTX 1070 Ti. And Vesa driver.

How do you specify the VESA driver?  Xorg does that itself if it finds
that the other drivers don't work.  Could you try not specifying the
VESA driver for a test?  In fact, try booting the OI USB image without
making any changes.  It should be a BIOS boot.  Maybe you've already
tried that.

You could even try enabling the built-in Intel video and disabling the
external video in the BIOS setup.  Maybe the OI boot will work
correctly then.  The video output will be on a different connector,
of course.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] OI new user questions - 2

2020-12-14 Thread Kalle Anka via openindiana-discuss
I read all answers, so thanx for your help guys! However, I do not receive 
every reply mail so I can not reply to the correct mail. I reply to the mail I 
get. And now I reply to John D Groenvald.

@Gary Mills, 
the "hal service" has started and runs fine. I get the same output as you. 

However, there are several posts from Linux users, having the same problems as 
I do. For instance:
https://unix.stackexchange.com/questions/152418/x-server-started-by-kdm-dies-during-startup-because-of-keymap-couldnt-be-loaded

http://forums.debian.net/viewtopic.php?f=10=107337

https://bbs.archlinux.org/viewtopic.php?id=54015=2

It seems that this problem can be fixed by reinstalling "x11-xkb-utils" or 
"xkbcomp " if you read the threads. So I dont really understand how to do that 
on OI?

I also tried to dabble with BIOS settings
EHCI
XHCI
Legacy USB
...

but I still get the same Xorg error messages as usual. How can I fix the 
xkbcomp software on OI?

BTW, I dont use the integrated graphics of Intel HD4600, I have shut it off. I 
only use the Geforce GTX 1070 Ti. And Vesa driver.

Here is the tail of dmesg and Xorg.0.log

   122.271] (--) VESA(0): Virtual size is 1024x768 (pitch 1024)
[   122.271] (**) VESA(0): *Built-in mode "1024x768"
[   122.271] (**) VESA(0): *Built-in mode "800x600"
[   122.271] (**) VESA(0): *Built-in mode "640x480"
[   122.271] (==) VESA(0): DPI set to (96, 96)
[   122.271] (**) VESA(0): Using "Shadow Framebuffer"
[   122.271] (II) Loading sub module "shadow"
[   122.271] (II) LoadModule: "shadow"
[   122.271] (II) Loading /usr/lib/xorg/modules/amd64/libshadow.so
[   122.271] (II) Module shadow: vendor="X.Org Foundation"
[   122.271]     compiled for 1.19.7, module version = 1.1.0
[   122.271]     ABI class: X.Org ANSI C Emulation, version 0.4
[   122.271] (II) Loading sub module "fb"
[   122.271] (II) LoadModule: "fb"
[   122.271] (II) Loading /usr/lib/xorg/modules/amd64/libfb.so
[   122.271] (II) Module fb: vendor="X.Org Foundation"
[   122.271]     compiled for 1.19.7, module version = 1.0.0
[   122.271]     ABI class: X.Org ANSI C Emulation, version 0.4
[   122.271] (==) Depth 24 pixmap format is 32 bpp
[   122.271] (II) Loading sub module "int10"
[   122.271] (II) LoadModule: "int10"
[   122.271] (II) Loading /usr/lib/xorg/modules/amd64/libint10.so
[   122.271] (II) Module int10: vendor="X.Org Foundation"
[   122.271]     compiled for 1.19.7, module version = 1.0.0
[   122.271]     ABI class: X.Org Video Driver, version 23.0
[   122.271] (II) VESA(0): initializing int10
[   122.276] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[   122.372] (II) VESA(0): VESA BIOS detected
[   122.372] (II) VESA(0): VESA VBE Version 3.0
[   122.372] (II) VESA(0): VESA VBE Total Mem: 16384 kB
[   122.372] (II) VESA(0): VESA VBE OEM: NVIDIA
[   122.372] (II) VESA(0): VESA VBE OEM Software Rev: 134.4
[   122.372] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
[   122.372] (II) VESA(0): VESA VBE OEM Product: GP104 Board
[   122.372] (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev   
[   122.372] (II) VESA(0): virtual address = fc7fea80, VGAbase = 
fc7feed6
    physical address = 0xd100, size = 16777216
[   122.385] (II) VESA(0): Setting up VESA Mode 0x118 (1024x768)
[   122.527] (==) VESA(0): Default visual is TrueColor
[   122.527] (==) VESA(0): Backing store enabled
[   122.527] (==) VESA(0): DPMS enabled
[   122.527] (==) RandR enabled
[   122.530] (II) AIGLX: Screen 0 is not DRI2 capable
[   122.530] (EE) AIGLX: reverting to software rendering
[   122.542] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[   122.542] (II) IGLX: Loaded and initialized swrast
[   122.542] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   122.575] (EE) Error compiling keymap (server-0) executing 
'"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD 
keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not 
fatal to the X server" "/var/run/xkb/server-0.xkm"'
[   122.575] (EE) XKB: Couldn't compile keymap
[   122.575] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[   122.597] (EE) Error compiling keymap (server-0) executing 
'"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD 
keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not 
fatal to the X server" "/var/run/xkb/server-0.xkm"'
[   122.597] (EE) XKB: Couldn't compile keymap
[   122.597] XKB: Failed to compile keymap
[   122.597] Keyboard initialization failed. This could be a missing or 
incorrect setup of xkeyboard-config.
[   122.597] (EE) 
Fatal server error:
[   122.597] (EE) Failed to activate virtual core keyboard: 2(EE) 
[   122.597] (EE) 
Please consult the Project OpenIndiana support 
     at http://openindiana.org
 for help. 
[   122.597] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[   122.597] (EE) 
[   126.248] (EE) Server terminated with error (1). Closing log