Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X does not load on Xen host with NVIDIA video card.
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
KennyB77
n00b
n00b


Joined: 19 Sep 2024
Posts: 1

PostPosted: Thu Sep 19, 2024 6:33 am    Post subject: X does not load on Xen host with NVIDIA video card. Reply with quote

I'm having trouble getting X to work with Xen on my dom0 host. It works just fine without Xen, but doesn't work with Xen. The display manager doesn't show on startup, and when I call "startx" it looks like it's trying to change modes, but X still doesn't start. I checked dmesg and the kernel seems to detect my video card fine under Xen. I checked Xorg.0.log and X detects my video card and monitor, but I get an error, something about push buffer allocation.

I've included the X log file below. Is there any special settings X needs to work under Xen or is the NVIDIA card not supported or something?

Thanks.

Edit:
Plymouth also doesn't work with Xen, but that's not the main issue. I'll worry about that later.

Code:

[   487.992]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[   487.994] Current Operating System: Linux kenny-linux 6.6.47-gentoo-dist #1 SMP PREEMPT_DYNAMIC Tue Sep 17 15:18:05 EDT 2024 x86_64
[   487.994] Kernel command line: placeholder root=UUID=71fb9da0-36b7-4e3a-8793-a1766a641bc3 ro rootflags=subvol=@ softlevel=xen
[   487.995] 
[   487.995] Current version of pixman: 0.43.4
[   487.996]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   487.997] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   487.999] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 18 19:10:39 2024
[   488.000] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   488.000] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   488.000] (==) No Layout section.  Using the first Screen section.
[   488.000] (==) No screen section available. Using defaults.
[   488.000] (**) |-->Screen "Default Screen Section" (0)
[   488.000] (**) |   |-->Monitor "<default monitor>"
[   488.001] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   488.001] (**) Allowing byte-swapped clients
[   488.001] (==) Automatically adding devices
[   488.001] (==) Automatically enabling devices
[   488.001] (==) Automatically adding GPU devices
[   488.001] (==) Automatically binding GPU devices
[   488.001] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   488.001] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   488.001]    Entry deleted from font path.
[   488.001]    (Run 'mkfontdir' on "/usr/share/fonts/misc").
[   488.001] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   488.001]    Entry deleted from font path.
[   488.001] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   488.001]    Entry deleted from font path.
[   488.001] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   488.001]    Entry deleted from font path.
[   488.001] (==) FontPath set to:
   /usr/share/fonts/100dpi,
   /usr/share/fonts/75dpi
[   488.001] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   488.001] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   488.001] (II) Module ABI versions:
[   488.001]    X.Org ANSI C Emulation: 0.4
[   488.001]    X.Org Video Driver: 25.2
[   488.001]    X.Org XInput driver : 24.4
[   488.001]    X.Org Server Extension : 10.0
[   488.002] (++) using VT number 1

[   488.005] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   488.008] (II) xfree86: Adding drm device (/dev/dri/card1)
[   488.008] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[   488.009] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[   488.010] (II) xfree86: Adding drm device (/dev/dri/card0)
[   488.010] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   488.011] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   488.014] (--) PCI: (0@0:2:0) 8086:4680:1462:7d98 rev 12, Mem @ 0x6402000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64
[   488.014] (--) PCI:*(1@0:0:0) 10de:2504:1458:40e2 rev 161, Mem @ 0x81000000/16777216, 0x6000000000/17179869184, 0x6400000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   488.014] (II) LoadModule: "glx"
[   488.015] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   488.016] (II) Module glx: vendor="X.Org Foundation"
[   488.016]    compiled for 1.21.1.13, module version = 1.0.0
[   488.016]    ABI class: X.Org Server Extension, version 10.0
[   488.016] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[   488.016]    loading driver: nvidia
[   488.016] (==) Matched nvidia as autoconfigured driver 0
[   488.016] (==) Matched nouveau as autoconfigured driver 1
[   488.016] (==) Matched nv as autoconfigured driver 2
[   488.016] (==) Matched intel as autoconfigured driver 3
[   488.016] (==) Matched modesetting as autoconfigured driver 4
[   488.016] (==) Matched fbdev as autoconfigured driver 5
[   488.016] (==) Matched vesa as autoconfigured driver 6
[   488.016] (==) Assigned the driver to the xf86ConfigLayout
[   488.016] (II) LoadModule: "nvidia"
[   488.016] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   488.017] (II) Module nvidia: vendor="NVIDIA Corporation"
[   488.017]    compiled for 1.6.99.901, module version = 1.0.0
[   488.017]    Module class: X.Org Video Driver
[   488.017] (II) LoadModule: "nouveau"
[   488.018] (WW) Warning, couldn't open module nouveau
[   488.018] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   488.018] (II) LoadModule: "nv"
[   488.018] (WW) Warning, couldn't open module nv
[   488.018] (EE) Failed to load module "nv" (module does not exist, 0)
[   488.018] (II) LoadModule: "intel"
[   488.018] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   488.018] (II) Module intel: vendor="X.Org Foundation"
[   488.018]    compiled for 1.21.1.13, module version = 2.99.917
[   488.018]    Module class: X.Org Video Driver
[   488.018]    ABI class: X.Org Video Driver, version 25.2
[   488.018] (II) LoadModule: "modesetting"
[   488.018] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   488.019] (II) Module modesetting: vendor="X.Org Foundation"
[   488.019]    compiled for 1.21.1.13, module version = 1.21.1
[   488.019]    Module class: X.Org Video Driver
[   488.019]    ABI class: X.Org Video Driver, version 25.2
[   488.019] (II) LoadModule: "fbdev"
[   488.019] (WW) Warning, couldn't open module fbdev
[   488.019] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   488.019] (II) LoadModule: "vesa"
[   488.019] (WW) Warning, couldn't open module vesa
[   488.019] (EE) Failed to load module "vesa" (module does not exist, 0)
[   488.019] (II) NVIDIA dlloader X Driver  550.107.02  Wed Jul 24 23:27:47 UTC 2024
[   488.019] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   488.019] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   488.020] (II) intel: Driver for Intel(R) HD Graphics
[   488.020] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   488.020] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   488.020] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   488.020] (II) systemd-logind: releasing fd for 226:1
[   488.021] (II) Loading sub module "fb"
[   488.021] (II) LoadModule: "fb"
[   488.021] (II) Module "fb" already built-in
[   488.021] (II) Loading sub module "wfb"
[   488.021] (II) LoadModule: "wfb"
[   488.021] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   488.021] (II) Module wfb: vendor="X.Org Foundation"
[   488.021]    compiled for 1.21.1.13, module version = 1.0.0
[   488.021]    ABI class: X.Org ANSI C Emulation, version 0.4
[   488.022] (WW) Falling back to old probe method for modesetting
[   488.022] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[   488.022] (II) NVIDIA(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[   488.022] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   488.022] (==) NVIDIA(0): RGB weight 888
[   488.022] (==) NVIDIA(0): Default visual is TrueColor
[   488.022] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   488.022] (**) NVIDIA(0): Enabling 2D acceleration
[   488.022] (II) Loading sub module "glxserver_nvidia"
[   488.022] (II) LoadModule: "glxserver_nvidia"
[   488.022] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[   488.066] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   488.066]    compiled for 1.6.99.901, module version = 1.0.0
[   488.066]    Module class: X.Org Server Extension
[   488.066] (II) NVIDIA GLX Module  550.107.02  Wed Jul 24 23:31:40 UTC 2024
[   488.066] (II) NVIDIA: The X server supports PRIME Render Offload.
[   488.067] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   488.067] (--) NVIDIA(0):     DFP-0 (boot)
[   488.067] (--) NVIDIA(0):     DFP-1
[   488.067] (--) NVIDIA(0):     DFP-2
[   488.067] (--) NVIDIA(0):     DFP-3
[   488.067] (--) NVIDIA(0):     DFP-4
[   488.067] (--) NVIDIA(0):     DFP-5
[   488.067] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3060 (GA106-A) at PCI:1:0:0
[   488.067] (II) NVIDIA(0):     (GPU-0)
[   488.067] (--) NVIDIA(0): Memory: 12582912 kBytes
[   488.067] (--) NVIDIA(0): VideoBIOS: 94.06.2f.40.95
[   488.067] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   488.113] (--) NVIDIA(GPU-0): ViewSonic VX2270 SERIES (DFP-0): connected
[   488.113] (--) NVIDIA(GPU-0): ViewSonic VX2270 SERIES (DFP-0): Internal TMDS
[   488.113] (--) NVIDIA(GPU-0): ViewSonic VX2270 SERIES (DFP-0): 600.0 MHz maximum pixel clock
[   488.113] (--) NVIDIA(GPU-0):
[   488.113] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   488.113] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   488.113] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[   488.113] (--) NVIDIA(GPU-0):
[   488.114] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   488.114] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   488.114] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   488.114] (--) NVIDIA(GPU-0):
[   488.114] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   488.114] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   488.114] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   488.114] (--) NVIDIA(GPU-0):
[   488.114] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   488.114] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   488.114] (--) NVIDIA(GPU-0): DFP-4: 2670.0 MHz maximum pixel clock
[   488.114] (--) NVIDIA(GPU-0):
[   488.114] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   488.114] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   488.114] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[   488.114] (--) NVIDIA(GPU-0):
[   488.181] (==) NVIDIA(0):
[   488.181] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   488.181] (==) NVIDIA(0):     will be used as the requested mode.
[   488.181] (==) NVIDIA(0):
[   488.183] (II) NVIDIA(0): Validated MetaModes:
[   488.183] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[   488.183] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   488.250] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[   488.250] (--) NVIDIA(0):     option
[   488.250] (WW) intel(G0): Unknown chipset
[   488.250] (--) intel(G0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 1 threads
[   488.250] (==) intel(G0): Depth 24, (--) framebuffer bpp 32
[   488.250] (==) intel(G0): RGB weight 888
[   488.250] (==) intel(G0): Default visual is TrueColor
[   488.251] (II) intel(G0): Output HDMI1 has no monitor section
[   488.251] (II) intel(G0): Enabled output HDMI1
[   488.251] (II) intel(G0): Output HDMI2 has no monitor section
[   488.251] (II) intel(G0): Enabled output HDMI2
[   488.251] (II) intel(G0): Output DP1 has no monitor section
[   488.251] (II) intel(G0): Enabled output DP1
[   488.251] (II) intel(G0): Output HDMI3 has no monitor section
[   488.252] (II) intel(G0): Enabled output HDMI3
[   488.252] (II) intel(G0): Output DP2 has no monitor section
[   488.252] (II) intel(G0): Enabled output DP2
[   488.252] (II) intel(G0): Output HDMI4 has no monitor section
[   488.252] (II) intel(G0): Enabled output HDMI4
[   488.252] (--) intel(G0): Using a maximum size of 256x256 for hardware cursors
[   488.252] (II) intel(G0): Output VIRTUAL1 has no monitor section
[   488.252] (II) intel(G0): Enabled output VIRTUAL1
[   488.252] (==) intel(G0): TearFree enabled
[   488.252] (==) intel(G0): Using gamma correction (1.0, 1.0, 1.0)
[   488.252] (==) intel(G0): DPI set to (96, 96)
[   488.252] (II) Loading sub module "dri3"
[   488.252] (II) LoadModule: "dri3"
[   488.252] (II) Module "dri3" already built-in
[   488.252] (II) Loading sub module "dri2"
[   488.252] (II) LoadModule: "dri2"
[   488.252] (II) Module "dri2" already built-in
[   488.252] (II) Loading sub module "present"
[   488.252] (II) LoadModule: "present"
[   488.252] (II) Module "present" already built-in
[   488.252] (II) UnloadModule: "modesetting"
[   488.252] (II) Unloading modesetting
[   488.253] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   488.253] (II) NVIDIA:     access.
[   488.253] (EE) NVIDIA(GPU-0): Push buffer DMA allocation failed
[   488.253] (EE) NVIDIA(0): Failed to allocate push buffer
[   488.254] (EE)
Fatal server error:
[   488.254] (EE) AddScreen/ScreenInit failed for driver 0
[   488.254] (EE)
[   488.254] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   488.254] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   488.254] (EE)
[   488.258] (EE) Server terminated with error (1). Closing log file.
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