Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] X start without errors but nothing is displayed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Goltia
n00b
n00b


Joined: 17 Jul 2010
Posts: 25

PostPosted: Sun Jan 15, 2023 3:06 pm    Post subject: [SOLVED] X start without errors but nothing is displayed Reply with quote

Hi guys,

I have a fresh install on my new computer.
I have a weird problem and can't find any hint on what is going on.

If I login with my user (he is in the video group) and run startx, nothing is displayed. I still see my startx command with the following lines displayed :

Code:

X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux sainte-barbe 5.15.80-gentoo #6 SMP Sat Jan 14 10:58:09 CET 2023 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.80-gentoo root=UUID=e713e1b7-7d33-4138-9cce-78df84891de1 ro init=/lib/systemd/systemd
 
Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/ctruchi/.local/share/xorg/Xorg.0.log", Time: Sun Jan 15 15:58:36 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"


Here is the content of .local/share/xorg/Xorg.0.log : https://pastebin.com/VVX6svCu

For my Xorg conf, I only have this :
Code:

Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "MetaModes" "1920x1080"
Option "ConnectedMonitor" "DFP-1"
Option "ModeDebug" "true"
VendorName "NVIDIA Corporation"
EndSection


If I run xrandr, it says Can't open display

Here is the content of lspci :
Code:

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02)
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 02)
00:07.1 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #1 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 02)
00:12.0 Serial controller: Intel Corporation Device 51fc (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:16.3 Serial controller: Intel Corporation Alder Lake AMT SOL Redirection (rev 01)
00:17.0 SATA controller: Intel Corporation Alder Lake-P SATA AHCI Controller (rev 01)
00:1d.0 PCI bridge: Intel Corporation Alder Lake PCI Express x1 Root Port #10 (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (16) I219-LM (rev 01)
01:00.0 3D controller: NVIDIA Corporation TU117GLM [T600 Laptop GPU] (rev a1)
03:00.0 Non-Volatile memory controller: SK hynix Device 1959
74:00.0 SD Host controller: Genesys Logic, Inc GL9755 SD Host Controller (rev 01)


and lsmod
Code:

Module                  Size  Used by
iwlmvm                405504  0
x86_pkg_temp_thermal    20480  0
nvidia_drm             65536  2
iwlwifi               401408  1 iwlmvm
nvidia_modeset       1163264  2 nvidia_drm
nvidia              55521280  66 nvidia_modeset
efivarfs               16384  1

Does anybody have an idea on how to progress with this ?


Last edited by Goltia on Sun Jan 15, 2023 5:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 15, 2023 3:18 pm    Post subject: Reply with quote

Goltia,

Code:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
01:00.0 3D controller: NVIDIA Corporation TU117GLM [T600 Laptop GPU] (rev a1)


Intel ... nVidia ... laptop. That's a strong hint that you have an Optimus graphics system.

That mean that the nVidia GPU cannot be used on its own. Check your user manual for Optimus and follow the link above if it applies.
_________________
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
Goltia
n00b
n00b


Joined: 17 Jul 2010
Posts: 25

PostPosted: Sun Jan 15, 2023 3:40 pm    Post subject: Reply with quote

Yeah I tried first with optimus with the same result but with errors in my Xorg.0.log.

Here is the Xorg.0.log with Xorg config from nvidia-xconfig --prime.

Code:

[    29.256]
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[    29.256] Current Operating System: Linux sainte-barbe 5.15.80-gentoo #6 SMP Sat Jan 14 10:58:09 CET 2023 x86_64
[    29.256] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.80-gentoo root=UUID=e713e1b7-7d33-4138-9cce-78df84891de1 ro init=/lib/systemd/systemd
[    29.256] 
[    29.256] Current version of pixman: 0.42.2
[    29.256]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    29.256] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.256] (==) Log file: "/home/ctruchi/.local/share/xorg/Xorg.0.log", Time: Sun Jan 15 16:37:04 2023
[    29.257] (==) Using config file: "/etc/X11/xorg.conf"
[    29.257] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    29.257] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.258] (==) ServerLayout "Layout0"
[    29.258] (**) |-->Screen "Screen0" (0)
[    29.258] (**) |   |-->Monitor "Monitor0"
[    29.258] (**) |   |-->Device "Device0"
[    29.258] (**) |   |-->GPUDevice "InactiveDevice1"
[    29.258] (**) |-->Inactive Device "InactiveDevice1"
[    29.258] (**) |-->Input Device "Keyboard0"
[    29.258] (**) |-->Input Device "Mouse0"
[    29.258] (==) Automatically adding devices
[    29.258] (==) Automatically enabling devices
[    29.258] (==) Automatically adding GPU devices
[    29.258] (==) Automatically binding GPU devices
[    29.258] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.259] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    29.259]    Entry deleted from font path.
[    29.259] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    29.259]    Entry deleted from font path.
[    29.259] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    29.259]    Entry deleted from font path.
[    29.259] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[    29.259]    Entry deleted from font path.
[    29.259]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[    29.259] (==) FontPath set to:
   /usr/share/fonts/misc,
   /usr/share/fonts/75dpi
[    29.259] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    29.259] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    29.259] (WW) Disabling Keyboard0
[    29.259] (WW) Disabling Mouse0
[    29.259] (II) Module ABI versions:
[    29.259]    X.Org ANSI C Emulation: 0.4
[    29.259]    X.Org Video Driver: 25.2
[    29.259]    X.Org XInput driver : 24.4
[    29.259]    X.Org Server Extension : 10.0
[    29.260] (++) using VT number 1

[    29.262] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[    29.263] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.263] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    29.264] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    29.266] (--) PCI:*(0@0:2:0) 8086:4626:1028:0b10 rev 12, Mem @ 0x6072000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[    29.266] (--) PCI: (1@0:0:0) 10de:1fb6:1028:0b10 rev 161, Mem @ 0x8e000000/16777216, 0x6000000000/268435456, 0x6010000000/33554432, I/O @ 0x00003000/128
[    29.266] (II) LoadModule: "glx"
[    29.267] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    29.269] (II) Module glx: vendor="X.Org Foundation"
[    29.269]    compiled for 1.21.1.6, module version = 1.0.0
[    29.269]    ABI class: X.Org Server Extension, version 10.0
[    29.269] (II) LoadModule: "nvidia"
[    29.269] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    29.271] (II) Module nvidia: vendor="NVIDIA Corporation"
[    29.271]    compiled for 1.6.99.901, module version = 1.0.0
[    29.271]    Module class: X.Org Video Driver
[    29.271] (II) LoadModule: "modesetting"
[    29.271] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    29.272] (II) Module modesetting: vendor="X.Org Foundation"
[    29.272]    compiled for 1.21.1.6, module version = 1.21.1
[    29.272]    Module class: X.Org Video Driver
[    29.272]    ABI class: X.Org Video Driver, version 25.2
[    29.272] (II) NVIDIA dlloader X Driver  525.60.13  Wed Nov 30 06:47:21 UTC 2022
[    29.272] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    29.272] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    29.272] (II) systemd-logind: releasing fd for 226:0
[    29.273] (II) Loading sub module "fb"
[    29.273] (II) LoadModule: "fb"
[    29.273] (II) Module "fb" already built-in
[    29.273] (II) Loading sub module "wfb"
[    29.273] (II) LoadModule: "wfb"
[    29.274] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    29.274] (II) Module wfb: vendor="X.Org Foundation"
[    29.274]    compiled for 1.21.1.6, module version = 1.0.0
[    29.274]    ABI class: X.Org ANSI C Emulation, version 0.4
[    29.274] (II) Loading sub module "ramdac"
[    29.274] (II) LoadModule: "ramdac"
[    29.274] (II) Module "ramdac" already built-in
[    29.277] (WW) Falling back to old probe method for modesetting
[    29.277] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    29.277] (EE) Screen 1 deleted because of no matching config section.
[    29.277] (II) UnloadModule: "modesetting"
[    29.277] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    29.277] (==) NVIDIA(0): RGB weight 888
[    29.277] (==) NVIDIA(0): Default visual is TrueColor
[    29.277] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    29.277] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "True"
[    29.277] (**) NVIDIA(0): Enabling 2D acceleration
[    29.277] (II) Loading sub module "glxserver_nvidia"
[    29.277] (II) LoadModule: "glxserver_nvidia"
[    29.278] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[    29.296] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    29.296]    compiled for 1.6.99.901, module version = 1.0.0
[    29.296]    Module class: X.Org Server Extension
[    29.296] (II) NVIDIA GLX Module  525.60.13  Wed Nov 30 06:46:26 UTC 2022
[    29.296] (II) NVIDIA: The X server supports PRIME Render Offload.
[    29.302] (II) NVIDIA(0): NVIDIA GPU NVIDIA T600 Laptop GPU (TU117GL-A) at PCI:1:0:0
[    29.302] (II) NVIDIA(0):     (GPU-0)
[    29.302] (--) NVIDIA(0): Memory: 4194304 kBytes
[    29.302] (--) NVIDIA(0): VideoBIOS: 90.17.8d.40.48
[    29.302] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    29.302] (II) NVIDIA(0): Validated MetaModes:
[    29.302] (II) NVIDIA(0):     "NULL"
[    29.302] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    29.302] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    29.302] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    29.302] (WW) NVIDIA: Failed to bind sideband socket to
[    29.302] (WW) NVIDIA:     '/var/run/nvidia-xdriver-adc0aa72' Permission denied
[    29.302] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    29.302] (II) NVIDIA:     access.
[    29.320] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    29.320] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    29.320] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    29.320] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    29.320] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    29.320] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    29.320] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    29.320] (II) NVIDIA(0):     Config Options in the README.
[    29.335] (II) NVIDIA(0): Setting mode "NULL"
[    29.339] (==) NVIDIA(0): Disabling shared memory pixmaps
[    29.339] (==) NVIDIA(0): Backing store enabled
[    29.339] (==) NVIDIA(0): Silken mouse enabled
[    29.339] (**) NVIDIA(0): DPMS enabled
[    29.339] (II) Loading sub module "dri2"
[    29.339] (II) LoadModule: "dri2"
[    29.339] (II) Module "dri2" already built-in
[    29.339] (II) NVIDIA(0): [DRI2] Setup complete
[    29.339] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    29.339] (II) Initializing extension Generic Event Extension
[    29.339] (II) Initializing extension SHAPE
[    29.339] (II) Initializing extension MIT-SHM
[    29.339] (II) Initializing extension XInputExtension
[    29.339] (II) Initializing extension XTEST
[    29.339] (II) Initializing extension BIG-REQUESTS
[    29.339] (II) Initializing extension SYNC
[    29.339] (II) Initializing extension XKEYBOARD
[    29.339] (II) Initializing extension XC-MISC
[    29.339] (II) Initializing extension XFIXES
[    29.339] (II) Initializing extension RENDER
[    29.339] (II) Initializing extension RANDR
[    29.339] (II) Initializing extension COMPOSITE
[    29.339] (II) Initializing extension DAMAGE
[    29.339] (II) Initializing extension MIT-SCREEN-SAVER
[    29.339] (II) Initializing extension DOUBLE-BUFFER
[    29.339] (II) Initializing extension RECORD
[    29.339] (II) Initializing extension DPMS
[    29.339] (II) Initializing extension Present
[    29.339] (II) Initializing extension DRI3
[    29.339] (II) Initializing extension X-Resource
[    29.339] (II) Initializing extension XVideo
[    29.339] (II) Initializing extension XVideo-MotionCompensation
[    29.339] (II) Initializing extension GLX
[    29.339] (II) Initializing extension GLX
[    29.339] (II) Indirect GLX disabled.
[    29.339] (II) GLX: Another vendor is already registered for screen 0
[    29.339] (II) Initializing extension XFree86-VidModeExtension
[    29.339] (II) Initializing extension XFree86-DGA
[    29.339] (II) Initializing extension XFree86-DRI
[    29.339] (II) Initializing extension DRI2
[    29.339] (II) Initializing extension NV-GLX
[    29.339] (II) Initializing extension NV-CONTROL
[    29.361] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    29.361] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    29.361] (**) Power Button: Applying InputClass "system-keyboard"
[    29.361] (II) LoadModule: "libinput"
[    29.361] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[    29.363] (II) Module libinput: vendor="X.Org Foundation"
[    29.363]    compiled for 1.21.1.6, module version = 1.2.1
[    29.363]    Module class: X.Org XInput Driver
[    29.363]    ABI class: X.Org XInput driver, version 24.4
[    29.363] (II) Using input driver 'libinput' for 'Power Button'
[    29.363] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 33 paused 0
[    29.363] (**) Power Button: always reports core events
[    29.363] (**) Option "Device" "/dev/input/event1"
[    29.366] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    29.366] (II) event1  - Power Button: device is a keyboard
[    29.366] (II) event1  - Power Button: device removed
[    29.366] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    29.366] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    29.366] (**) Option "xkb_model" "FR"
[    29.366] (**) Option "xkb_layout" "fr"
[    29.366] (**) Option "xkb_variant" "azerty"
[    29.373] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    29.373] (II) event1  - Power Button: device is a keyboard
[    29.373] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    29.373] (II) No input driver specified, ignoring this device.
[    29.373] (II) This device may have been added with another device file.
[    29.373] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    29.373] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    29.373] (**) Sleep Button: Applying InputClass "system-keyboard"
[    29.373] (II) Using input driver 'libinput' for 'Sleep Button'
[    29.374] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 36 paused 0
[    29.374] (**) Sleep Button: always reports core events
[    29.374] (**) Option "Device" "/dev/input/event2"
[    29.374] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    29.374] (II) event2  - Sleep Button: device is a keyboard
[    29.374] (II) event2  - Sleep Button: device removed
[    29.374] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    29.374] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[    29.374] (**) Option "xkb_model" "FR"
[    29.374] (**) Option "xkb_layout" "fr"
[    29.374] (**) Option "xkb_variant" "azerty"
[    29.375] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    29.375] (II) event2  - Sleep Button: device is a keyboard
[    29.375] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    29.375] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    29.375] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    29.375] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    29.376] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 37 paused 0
[    29.376] (**) AT Translated Set 2 keyboard: always reports core events
[    29.376] (**) Option "Device" "/dev/input/event3"
[    29.376] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    29.376] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    29.376] (II) event3  - AT Translated Set 2 keyboard: device removed
[    29.376] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    29.376] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[    29.376] (**) Option "xkb_model" "FR"
[    29.376] (**) Option "xkb_layout" "fr"
[    29.376] (**) Option "xkb_variant" "azerty"
[    29.376] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    29.376] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard


Here is the Xorg config for information :

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 525.60.13

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    Inactive       "InactiveDevice1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "InactiveDevice1"
    Driver         "modesetting"
    VendorName     "Unknown"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 15, 2023 3:59 pm    Post subject: Reply with quote

Goltia,

Code:
[    29.277] (II) UnloadModule: "modesetting"


Optimus allows either GPU to draw the image into the framebuffer but only the Intel GPU can move the image to the display surface.
That requires the Inter GPU to be controlled by the modesetting driver, so unloading it is a very bad thing.

Please use wgetpaste to share your dmesg output.
_________________
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
Goltia
n00b
n00b


Joined: 17 Jul 2010
Posts: 25

PostPosted: Sun Jan 15, 2023 4:08 pm    Post subject: Reply with quote

That's seemed weird to me too.

Here is dmesg : https://dpaste.com/9FD9ZJYYM
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 15, 2023 4:30 pm    Post subject: Reply with quote

Goltia,

Code:
[    0.000000] Linux version 5.15.80-gentoo ...

[    0.899100] i915 0000:00:02.0: Your graphics device 4626 is not properly supported by the driver in this
               kernel version. To force driver probe anyway, use i915.force_probe=4626
               module parameter or CONFIG_DRM_I915_FORCE_PROBE=4626 configuration option,
               or (recommended) check for kernel updates.


Upgrade to the testing gentoo-sources. 5.15.80 is too old for your hardware.
Configure i915 as a module, if its not already.
emerge linux-firmware, so you have the firmware your Intel GPU. You may already have that.

Reboot and look at
Code:
uname -a
to make sure your new kernel it running.

The kernel support for your Intel GPU is missing, so Xorg can't use it.
_________________
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
Goltia
n00b
n00b


Joined: 17 Jul 2010
Posts: 25

PostPosted: Sun Jan 15, 2023 5:24 pm    Post subject: Reply with quote

Ok, I did and it is different now.

startx now show a black screen.
However starting gdm is working fine.

I am on the following kernel : 6.1.5-gentoo-r1

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


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

PostPosted: Sun Jan 15, 2023 5:59 pm    Post subject: Reply with quote

Goltia

startx expects to run xterm, xlock and twm by default. None of which are installed.
To make startx do something else an ~/.xinitrc file is required.
_________________
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
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