Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Few things on a new system....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sat Oct 13, 2018 12:55 pm    Post subject: [Solved] Few things on a new system.... Reply with quote

I am installing Gentoo on a HP laptop with a nvidia card and intel wireless etc. I installed Gentoo and got it to boot with UEFI. I tried upgrading to systems but when I run systemctl command it says the machine is not running systemd. I suspect that I didn’t modify the grub2 file properly in /etc/default/grub. Desired end result with be:
Boot splash (framebuffer is working but haven’t got fbsplash configured
Wireless
Gnome
Systemd

I used gentoo heavily for a long time and am trying to pick it back up- at the moment my first challenge appears to be the changes in grub2.... unless there is something else I’ve missed. Any ideas?


Last edited by dspahn on Thu Oct 18, 2018 2:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Blind_Sniper
n00b
n00b


Joined: 20 Apr 2018
Posts: 51

PostPosted: Sat Oct 13, 2018 5:04 pm    Post subject: Reply with quote

You have to add
Code:
init=/usr/lib/systemd/systemd

to kernel command line options (in grub menu)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Sat Oct 13, 2018 5:52 pm    Post subject: Reply with quote

dspahn,

If you didn't install using the systemd stage3, you have openRC and need to convert to systemd.

With a GNOME profile selected, you will have USE=systemd for free, so everything will be built with optional systemd support.

Once everything is in place, do what Blind_Sniper says to actually start systemd at boot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sat Oct 13, 2018 9:29 pm    Post subject: Figured it out... Reply with quote

I thought the /etc/default/grub file worked like a confit file- I figured out that I needed to run the grub-mkconfig -o /boot/grub/grub.cfg command to regenerate the grub config.
Now that systemd is running, it fails to load Plymouth and the wired network adapter. The messages look very generic. One thing I noticed is that the resolv.conf symlink is called a dangling sum link. how do I troubleshoot these two things?
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sun Oct 14, 2018 3:11 am    Post subject: Here's what I did... Reply with quote

For the network problem, I checked out the .network file (filename was something like 50-DHCP.network) and found I had typod a line DHCP-yes where the line should have been DHCP=yes. I didn't have to mess with the /etc/resolv.conf symlink.

For the Plymouth issue, I did some reading and found that the package seems to work fine on a 32-bit architecture, so I re-emerged it with the static-libs USE flag enabled.

so now that system is working, I have emerged Gnome and am trying to get Xorg server working.

I am using the NVidia-Drivers as installed by xorg-drivers. The computer has an intel display device listed as well as the Quadro K610M that is built in.

I don't have the /dev/dri/card0 directory- In fact, I don't even have /dev/dri- Did I miss a kernel option?
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sun Oct 14, 2018 3:34 am    Post subject: More updates... Reply with quote

I removed the xorg.conf file and ran startx. Here is my xorg.0.log:

Quote:

[ 330.180]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[ 330.183] X Protocol Version 11, Revision 0
[ 330.184] Build Operating System: Linux 4.14.65-gentoo x86_64 Gentoo
[ 330.185] Current Operating System: Linux USMDITLT007 4.14.65-gentoo #2 SMP Sun Oct 14 02:13:54 EDT 2018 x86_64
[ 330.185] Kernel command line: root=/dev/sda2 BOOT_IMAGE=/vmlinuz-4.14.65-gentoo root=/dev/sda4 ro init=/usr/lib/systemd/systemd
[ 330.187] Build Date: 13 October 2018 03:15:56PM
[ 330.188]
[ 330.189] Current version of pixman: 0.34.0
[ 330.190] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 330.190] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 330.193] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 23:19:58 2018
[ 330.515] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 330.515] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 330.515] (==) No Layout section. Using the first Screen section.
[ 330.515] (==) No screen section available. Using defaults.
[ 330.515] (**) |-->Screen "Default Screen Section" (0)
[ 330.515] (**) | |-->Monitor "<default monitor>"
[ 330.515] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 330.515] (**) | |-->Device "nvidia"
[ 330.515] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 330.515] (==) Automatically adding devices
[ 330.515] (==) Automatically enabling devices
[ 330.515] (==) Automatically adding GPU devices
[ 330.516] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 330.516] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 330.516] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[ 330.516] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 330.516] (II) Loader magic: 0x559dc542fce0
[ 330.516] (II) Module ABI versions:
[ 330.516] X.Org ANSI C Emulation: 0.4
[ 330.516] X.Org Video Driver: 23.0
[ 330.516] X.Org XInput driver : 24.1
[ 330.516] X.Org Server Extension : 10.0
[ 330.516] (++) using VT number 1

[ 330.516] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 330.517] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 330.519] (--) PCI:*(0:0:2:0) 8086:0416:103c:1909 rev 6, Mem @ 0xcc400000/4194304, 0xa0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[ 330.519] (--) PCI: (0:1:0:0) 10de:12b9:103c:1909 rev 161, Mem @ 0xcb000000/16777216, 0x50000000/268435456, 0x60000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[ 330.519] (II) LoadModule: "glx"
[ 330.519] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 330.522] (II) Module glx: vendor="NVIDIA Corporation"
[ 330.522] compiled for 4.0.2, module version = 1.0.0
[ 330.522] Module class: X.Org Server Extension
[ 330.522] (II) NVIDIA GLX Module 396.54 Tue Aug 14 22:37:05 PDT 2018
[ 330.522] (II) LoadModule: "nvidia"
[ 330.522] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 330.523] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 330.523] compiled for 4.0.2, module version = 1.0.0
[ 330.523] Module class: X.Org Video Driver
[ 330.523] (II) NVIDIA dlloader X Driver 396.54 Tue Aug 14 22:15:03 PDT 2018
[ 330.523] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 330.523] (EE) No devices detected.
[ 330.523] (EE)
Fatal server error:
[ 330.523] (EE) no screens found(EE)
[ 330.523] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 330.523] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 330.523] (EE)
[ 330.526] (EE) Server terminated with error (1). Closing log file.


and here is my lspci- Looks like it uses Optimus. These NVidia drivers do support this card- I confirmed the version on their site.
Quote:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK208GLM [Quadro K610M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
5c:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
5d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)


and my .xinitrc:
Quote:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

Also worth noting- I did emerge gnome but I have not set it up- I've been trying to get Xorg-server up first.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Sun Oct 14, 2018 9:03 am    Post subject: Reply with quote

dspahn,

You will need to read the glossy brochure for your laptop to see if you have Optimus or not.
There are high end laptops out there with Intel and nVidia cards without Optimus.

Both graphics cards require /dev/dri/...
The intel GPU will be slow without it and may not run Xorg at all.
The nVidia GPU won't run Xorg without it.

Yes, there is a bit missing in your kernel. The symbol name is CONFIG_DRM. Use the search in menuconfig to find it.
However, that's not all. CONFIG_DRM is a menu, you need things inside that menu too.

Optimus and two real graphics cards need different kernel setups, so the first step is to determine if you have Optimus or not.
Optimus is only one and a half graphics cards.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sun Oct 14, 2018 11:39 am    Post subject: Ran through the DRM devices needed.... Reply with quote

I found a walkthrough and used the kernel information to rebuild the kernel and NVidia-drivers. The log output looks better but still does not start X:
here is my lspci -k:
Quote:

USMDITLT007 ~ # lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: Hewlett-Packard Company ZBook 15
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: Hewlett-Packard Company 4th Gen Core Processor Integrated Graphics Controller
Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company ZBook 15
Kernel driver in use: i801_smbus
01:00.0 VGA compatible controller: NVIDIA Corporation GK208GLM [Quadro K610M] (rev a1)
Subsystem: Hewlett-Packard Company GK208GLM [Quadro K610M]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
Subsystem: Hewlett-Packard Company GK208 HDMI/DP Audio Controller
Kernel driver in use: snd_hda_intel
5c:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
5d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
Subsystem: Hewlett-Packard Company ZBook 15


and the Xorg.0.log:
Quote:

[ 61.033]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[ 61.033] X Protocol Version 11, Revision 0
[ 61.033] Build Operating System: Linux 4.14.65-gentoo x86_64 Gentoo
[ 61.033] Current Operating System: Linux USMDITLT007 4.14.65-gentoo #3 SMP Sun Oct 14 06:55:04 EDT 2018 x86_64
[ 61.033] Kernel command line: root=/dev/sda2 BOOT_IMAGE=/vmlinuz-4.14.65-gentoo root=/dev/sda4 ro init=/usr/lib/systemd/systemd
[ 61.033] Build Date: 13 October 2018 03:15:56PM
[ 61.033]
[ 61.033] Current version of pixman: 0.34.0
[ 61.034] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 61.034] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 61.034] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 14 07:29:02 2018
[ 61.034] (==) Using config file: "/etc/X11/xorg.conf"
[ 61.035] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 61.035] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 61.035] (==) ServerLayout "Layout0"
[ 61.035] (**) |-->Screen "Screen0" (0)
[ 61.035] (**) | |-->Monitor "Monitor0"
[ 61.035] (**) | |-->Device "Device0"
[ 61.035] (**) | |-->GPUDevice "Device0"
[ 61.035] (**) | |-->GPUDevice "intel"
[ 61.035] (**) |-->Inactive Device "intel"
[ 61.035] (**) |-->Input Device "Keyboard0"
[ 61.035] (**) |-->Input Device "Mouse0"
[ 61.036] (==) Automatically adding devices
[ 61.036] (==) Automatically enabling devices
[ 61.036] (==) Automatically adding GPU devices
[ 61.036] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 61.036] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 61.036] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[ 61.036] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 61.036] (WW) Disabling Keyboard0
[ 61.036] (WW) Disabling Mouse0
[ 61.036] (II) Loader magic: 0x55dc5f2f7ce0
[ 61.036] (II) Module ABI versions:
[ 61.036] X.Org ANSI C Emulation: 0.4
[ 61.036] X.Org Video Driver: 23.0
[ 61.036] X.Org XInput driver : 24.1
[ 61.036] X.Org Server Extension : 10.0
[ 61.037] (++) using VT number 1

[ 61.037] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 61.040] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 61.041] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 61.042] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[ 61.042] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 61.043] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 61.045] (--) PCI:*(0:0:2:0) 8086:0416:103c:1909 rev 6, Mem @ 0xcc400000/4194304, 0xa0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[ 61.045] (--) PCI: (0:1:0:0) 10de:12b9:103c:1909 rev 161, Mem @ 0xcb000000/16777216, 0x50000000/268435456, 0x60000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[ 61.045] (II) LoadModule: "glx"
[ 61.045] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 61.048] (II) Module glx: vendor="NVIDIA Corporation"
[ 61.048] compiled for 4.0.2, module version = 1.0.0
[ 61.048] Module class: X.Org Server Extension
[ 61.048] (II) NVIDIA GLX Module 396.54 Tue Aug 14 22:37:05 PDT 2018
[ 61.048] (II) LoadModule: "nvidia"
[ 61.048] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 61.048] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 61.048] compiled for 4.0.2, module version = 1.0.0
[ 61.048] Module class: X.Org Video Driver
[ 61.048] (II) LoadModule: "modesetting"
[ 61.048] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 61.074] (II) Module modesetting: vendor="X.Org Foundation"
[ 61.074] compiled for 1.19.5, module version = 1.19.5
[ 61.074] Module class: X.Org Video Driver
[ 61.074] ABI class: X.Org Video Driver, version 23.0
[ 61.074] (II) NVIDIA dlloader X Driver 396.54 Tue Aug 14 22:15:03 PDT 2018
[ 61.074] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 61.074] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 61.074] (II) systemd-logind: releasing fd for 226:1
[ 61.075] (II) modeset(G0): using drv /dev/dri/card0
[ 61.075] (EE) No devices detected.
[ 61.075] (EE)
Fatal server error:
[ 61.075] (EE) no screens found(EE)
[ 61.075] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 61.075] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 61.075] (EE)
[ 61.080] (EE) Server terminated with error (1). Closing log file.

The DRM is loading, and the dev/dri/card0 and /dev/dri/card1 devices are showing now...
It says it is not seeing any devices- it is a quadro K610M... any ideas of where to go from here?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Sun Oct 14, 2018 1:09 pm    Post subject: Reply with quote

dspahn,

Make friends with wgetpaste.
Put your dmesg onto a pastebin site and post the link. dmesg will not fit into a post.

Put your kernel .config onto a pastebin too. Again, its too big for a post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sun Oct 14, 2018 1:24 pm    Post subject: Great idea! Reply with quote

I never heard of wgetpaste- sounds like a much better way than using scp and ssh to move data from a working machine!
Here's the link for the dmesg output:
https://pastebin.com/NnMqYBiq
and my .config:
https://pastebin.com/mfjnd4W7

Thanks again for the help!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6555
Location: Saint Amant, Acadiana

PostPosted: Sun Oct 14, 2018 2:38 pm    Post subject: Reply with quote

You also have Intel graphics. Is this some sort of hybrid setup? Optimus perhaps?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Sun Oct 14, 2018 3:06 pm    Post subject: Reply with quote

dspahn,

wgetpaste is deliberately command line and no dependences other that the stage3.

Your dmesg and kernel .config look mostly harmless.

We need to know if you have Opimus or not.
Code:
[    3.625313] fb: switching to inteldrmfb from EFI VGA

That's the intel framebuffer driver in use for the Intel graphics.

If you dan't have Optimus, thats OK. If you do, you need to use a non framebuffer console so that the modesetting driver can control the Intel chip when Xorg is running.

Code:
[ 61.074] (II) NVIDIA dlloader X Driver 396.54 Tue Aug 14 22:15:03 PDT 2018
[ 61.075] (EE) No devices detected.


Suggests that nvidia-drivers-396.54 does not know your graphics chip.
410.57-r1 is in testing. You might want to try that.

I have not checked the nvidia website to see what version they recommend for device 10de:12b9
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Sun Oct 14, 2018 11:02 pm    Post subject: Reply with quote

There is no Optimus branding- I have been going purely on the presence of the extra Intel graphics controller. This computer was purchased to be a professional 3D CAD computer, which is why the quadro k610m and not the GeForce. So let’s assume no Optimus. Should I just emerge the ~amd64 nvidia-drivers... or directly install the driver from the nvidia website that will be newer than anything in Gentoo development?
Or should I change my tack and go with Nouveau? I was hoping to use the 3D for at very least window decorations and 3D cube effects in Gnome 3, but I can settle if need be.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Mon Oct 15, 2018 11:36 am    Post subject: Yikes! that didn't work.... Reply with quote

I turned off all of the Intel framebuffer... and all of the other framebuffer items. I installed the nvidia drivers using the ~amd64 keyword (Just for that package), and X wouldn't start- same errors.
Computer starts but I have no display- just two lines of text that appear when grub hands off to the bootloader:
Quote:
Booting `Gentoo GNU/Linux'
Loading Linux 4.14.65-gentoo ...


but I came prepared- I saved my old .config and the kernel is now rebuilding- I had sshd working under systemd before I started on this.

Any ideas what I should do next? Perhaps I disabled too many things when I turned off the framebuffer console items- Are there any specific ones that cause the conflict?

So where it stands right now-
-I deleted the xorg.conf file
-I am back to using the Intel framebuffer (The whole kernel .config is the one I pastebinned previously)
-I am using ~amd64 nVidia-drivers

Moving forward: Is there more troubleshooting to do here, or should I be switching to Nouveau? Would there be support under Nouveau for the Quadro k610M in my machine? It is about 3 years old, so I would expect there is at least rudimentary support for it as a device, and I don't need advanced acceleration features... Just not sure. I looked it up and I am pretty sure it is a Kepler, NV10 card. Let me know what you think.

Thanks again for the help!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Mon Oct 15, 2018 3:23 pm    Post subject: Reply with quote

dspahn,

You need nvidia-drivers-390.87. That's not to say that support has been dropped in newer drivers, its what nvidia offers on their site.

There is a trap for the unwary when you try to switch versions of nvidia drivers. The driver is in two parts. The kernel part and the Xorg part.
The kernel part is loaded on boot by the hardware auto detect.
When you emerge nvidia-drivers, you install the new version. Both parts. However, the old kernel part is still loaded, so without a reboot, or a
Code:
modprobe -r nvidia
You will be running different versions of the two halves of the driver. The driver checks.

Lets assume no Optimus for now.

We know that the Intel GPU works - you have the framebuffer.
Without Optimus, how do you get the picture generated by the nvidia card on the screen?
There are two answers.
a) The nvidia card can only drive external displays.
b) There is a video output multiplexer, that lets you choose graphics systems.

if its b) how do you control the video output multiplexer?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Mon Oct 15, 2018 4:06 pm    Post subject: Reply with quote

OK, my process for each iteration is to run a command line when I rebuild the kernel:

Quote:
make && make modules_install && make install && emerge -av @module-rebuild


followed immediately by a reboot- that covers any issues and makes sure that there are no failures based on issues with the kernel as well- so I know I have fixed it for real.
In answer to your question, that is the problem- I don't get a logo- I just get the xorg failure output... so for the moment, I don't control the video output multiplexer...
The kernel rebuild finished and I rebuilt the nVidia drivers, followed by my reboot. Everything came up clean... but as expected, no X.
What's the next step or direction?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41567
Location: 56N 3W

PostPosted: Mon Oct 15, 2018 4:24 pm    Post subject: Reply with quote

dspahn,

Show us your current /var/log/Xorg.0.log, so we can see what Xorg did when it started.
Show us your current kernel .config and your current dmesg.
Lets have a consistent data set to work from.

The output of
Code:
uname -a
may be of interest too.

If you have the multiplexer solution, the multiplexer is currently set to the Intel graphics.
There must be some BIOS setting to choose a default or if it was set to the wrong GPU on boot you would not see anything on the screen when the operating system loaded.
With nothing on the screen, how would you set the multiplexer from within the operating system?

It might be an Fn key combination too.

On the bottom of your laptop wlll be a part number label. Post the part number so we can download the user manual.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Mon Oct 15, 2018 5:29 pm    Post subject: your results..... Reply with quote

xorg.0.log:
https://paste.pound-python.org/show/PaXA3pRfAM4aSKLMHcKR/

dmesg:
https://paste.pound-python.org/show/zHS2lEWEpgZi6Pe8GusN/

.config:
https://paste.pound-python.org/show/3DGkOv3e14NhVUnhuHnB/

uname -a:
Quote:
Linux USMDITLT007 4.14.65-gentoo #1 SMP Mon Oct 15 07:42:04 EDT 2018 x86_64 Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz GenuineIntel GNU/Linux


This laptop is tricky- I'm not sure of the part number. Unlike most other HP laptops, it is not clear, but this is the most likely candidate:
SPS-734278-001

It's an HP Zbook 15.
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Mon Oct 15, 2018 5:31 pm    Post subject: Reply with quote

Thanks also for the wgetpaste tip- I have a new favorite utility!
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Mon Oct 15, 2018 5:43 pm    Post subject: More info... Reply with quote

I just emerged 390.87 and ran startx- here is my paste of the xorg.0.log:
https://paste.pound-python.org/show/N5rC1Gi1RC1YFJktTEgs/

and here is the dmesg under this version of NVidia-drivers:
https://paste.pound-python.org/show/Z7JhQoXhJMCV9vBl5iBU/
Back to top
View user's profile Send private message
dspahn
Guru
Guru


Joined: 22 Jun 2006
Posts: 352

PostPosted: Thu Oct 18, 2018 2:02 am    Post subject: Sort of solved it, but not completely sure.... Reply with quote

I rebuilt the system. IT was simple enough to do, and made sense given the number of things I had tried. The nVidia chip only drives certain display adapters, and not the built-in one, so I am now driving it using X's detection and it works fine with the i915 intel driver- it gets 2400fps in glxgears, so it will definitely support my need.

Thanks for all the help!
_________________
---

Since there is no admin beer, I stick to root beer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum