You are not logged in.
Hello,
I tried to setup my EeePC1015PN for PRIME but I failed.
Currently I am using bumblebee but this project is deprecated for 7 years so I want to switch to PRIME.
Some data.
lspci | grep VGA
----------------
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
04:00.0 VGA compatible controller: NVIDIA Corporation GT218M [ION] (rev ff)sudo lsmod | grep nvidia
------------------------
nvidia 10608640 0
drm 520192 5 drm_kms_helper,nvidia,i915Installed drivers
nvidia-340xx-dkms and
nvidia-340xx-utils from AUR and
nvidia-prime from official repo
By using bumblebee I have nothing to do and the x-server works, but if I disable the bumblebee.service then the xserver doesn't start.
The Wiki https://wiki.archlinux.org/index.php/PRIME couldn't help me.
I created a xorg.conf but xserver still doesn't start.
/etc/X11/xorg.conf
------------------
Section "Device"
Identifier "iGPU"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection
Section "Device"
Identifier "dGPU"
Driver "nvidia"
EndSectionAre there any basic steps to make the system ready for PRIME? Could anybody help me?
Last edited by Lax Lexis (2020-05-25 09:40:14)
Offline
Remove that config and nvidia-prime (that is only for 435+ graphics drivers), follow: https://wiki.archlinux.org/index.php/NV … phics_only instead. You might also have an option to just switch to the dedicated card in your BIOS/UEFI in which case you wouldn't need any config.
If you actually want "PRIME" as in do normal rendering on the intel card and only add nvidia on demand you have to use bumblebee still (or opt for the nouveau drivers)
Last edited by V1del (2020-05-25 09:59:51)
Offline
Remove that config and nvidia-prime (that is only for 435+ graphics drivers)
I do so.
follow: https://wiki.archlinux.org/index.php/NV … phics_only instead.
I won't use nvidia only. I want to use the hybrid mode for power saving.
You might also have an option to just switch to the dedicated card in your BIOS/UEFI in which case you wouldn't need any config.
Unfortunately not. This old laptop uses a MUX controlled by software. With acpi_call and a systemd service I am able to write the wanted mode to the MUX. (Hybrid = '\OSGS 3')
If you actually want "PRIME" as in do normal rendering on the intel card and only add nvidia on demand you have to use bumblebee still (or opt for the nouveau drivers)
I do so. ![]()
I still have two issues with bumblebee:
1. Do you have any tips for me why tools like glxspheres und glxgears only runs with optirun?
optirun glxspheresSuccess.
This one failed with error code 1.
glxspheres64
------------
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x12c (8/8/8/0)
Visual ID of window: 0x2ed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 26And this one failed with error code 139.
optirun -b primus glxspheres64
------------------------------
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0xf5 (8/8/8/0)
Visual ID of window: 0x2ed2. Do you know why my HDMI doesn't work? Arandr isn't able to detect my monitor and there is only VGA available.
It's looks like the HDMI is related to the nvidia gpu.
Offline
The HDMI output is likely wired to the nvidia chip what means you need to keep it powered all the time you want to use the output, https://wiki.archlinux.org/index.php/Bu … VIDIA_chip and from there https://github.com/Bumblebee-Project/Bu … itor-setup
The second call requires primusrun and for the first, please post your Xorg log.
Online
The fix for HDMI as described in the Wiki doesn't work for me.
~ % intel-virtual-output
------------------------
No VIRTUAL outputs on ":0.0".Same for
~ % optirun intel-virtual-output
--------------------------------
No VIRTUAL outputs on ":0.0".If I put the HDMI in then my "Anzeige" (it's german) window pops up for 3 times.
But my xrandr doesn't list the hdmi.
~ % xrandr
----------
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS-1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
1024x600 60.00*+ 65.00
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 65.00 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 disconnected (normal left inverted right x axis y axis)Bumblebee runs the nvidia on the VirtualDisplay=:8 (whatever this means).
The brigde primus failed. Some modules couldn't load.
Xorg.8.log
-------------
[ 3010.965]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 3010.966] Build Operating System: Linux Arch Linux
[ 3010.966] Current Operating System: Linux eeepc 5.4.42-1-lts #1 SMP Wed, 20 May 2020 20:42:53 +0000 x86_64
[ 3010.966] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f8c02c07-7e95-40d6-a73d-c61e93ffe471 rw loglevel=3 quiet
[ 3010.966] Build Date: 05 May 2020 05:08:17AM
[ 3010.966]
[ 3010.966] Current version of pixman: 0.40.0
[ 3010.966] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3010.966] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3010.967] (==) Log file: "/var/log/Xorg.8.log", Time: Wed May 27 20:10:30 2020
[ 3010.967] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 3010.967] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 3010.967] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3010.968] (==) ServerLayout "Layout0"
[ 3010.968] (==) No screen section available. Using defaults.
[ 3010.968] (**) |-->Screen "Default Screen Section" (0)
[ 3010.968] (**) | |-->Monitor "<default monitor>"
[ 3010.969] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 3010.969] (**) | |-->Device "DiscreteNvidia"
[ 3010.969] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 3010.970] (**) Option "AutoAddDevices" "false"
[ 3010.970] (**) Option "AutoAddGPU" "false"
[ 3010.970] (**) Not automatically adding devices
[ 3010.970] (==) Automatically enabling devices
[ 3010.970] (**) Not automatically adding GPU devices
[ 3010.970] (==) Automatically binding GPU devices
[ 3010.970] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 3010.970] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 3010.970] Entry deleted from font path.
[ 3010.970] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 3010.970] Entry deleted from font path.
[ 3010.970] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 3010.970] Entry deleted from font path.
[ 3010.971] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 3010.971] Entry deleted from font path.
[ 3010.971] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF
[ 3010.971] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 3010.971] (==) |-->Input Device "<default pointer>"
[ 3010.971] (==) |-->Input Device "<default keyboard>"
[ 3010.971] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 3010.971] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 3010.971] (II) Module ABI versions:
[ 3010.971] X.Org ANSI C Emulation: 0.4
[ 3010.971] X.Org Video Driver: 24.1
[ 3010.971] X.Org XInput driver : 24.1
[ 3010.971] X.Org Server Extension : 10.0
[ 3010.973] (--) using VT number 1
[ 3010.974] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 3010.976] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 3010.977] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 3010.978] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 3010.983] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
[ 3010.989] (--) PCI:*(4@0:0:0) 10de:0a6f:1043:846f rev 162, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xf2000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/524288
[ 3010.989] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 3010.990] (II) LoadModule: "glx"
[ 3010.990] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 3011.028] (II) Module glx: vendor="NVIDIA Corporation"
[ 3011.028] compiled for 4.0.2, module version = 1.0.0
[ 3011.028] Module class: X.Org Server Extension
[ 3011.028] (II) NVIDIA GLX Module 340.108 Wed Dec 11 14:26:50 PST 2019
[ 3011.029] (II) LoadModule: "nvidia"
[ 3011.029] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 3011.031] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 3011.031] compiled for 4.0.2, module version = 1.0.0
[ 3011.031] Module class: X.Org Video Driver
[ 3011.031] (II) LoadModule: "mouse"
[ 3011.032] (WW) Warning, couldn't open module mouse
[ 3011.032] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 3011.032] (II) LoadModule: "kbd"
[ 3011.033] (WW) Warning, couldn't open module kbd
[ 3011.033] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 3011.033] (II) NVIDIA dlloader X Driver 340.108 Wed Dec 11 14:06:00 PST 2019
[ 3011.033] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 3011.033] (II) Loading sub module "fb"
[ 3011.033] (II) LoadModule: "fb"
[ 3011.034] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 3011.035] (II) Module fb: vendor="X.Org Foundation"
[ 3011.035] compiled for 1.20.8, module version = 1.0.0
[ 3011.035] ABI class: X.Org ANSI C Emulation, version 0.4
[ 3011.035] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 3011.035] (II) Loading sub module "wfb"
[ 3011.035] (II) LoadModule: "wfb"
[ 3011.036] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 3011.037] (II) Module wfb: vendor="X.Org Foundation"
[ 3011.037] compiled for 1.20.8, module version = 1.0.0
[ 3011.037] ABI class: X.Org ANSI C Emulation, version 0.4
[ 3011.037] (II) Loading sub module "ramdac"
[ 3011.037] (II) LoadModule: "ramdac"
[ 3011.038] (II) Module "ramdac" already built-in
[ 3011.039] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 3011.039] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 3011.039] (==) NVIDIA(0): RGB weight 888
[ 3011.039] (==) NVIDIA(0): Default visual is TrueColor
[ 3011.039] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 3011.039] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[ 3011.040] (**) NVIDIA(0): Option "NoLogo" "true"
[ 3011.040] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 3011.040] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 3011.040] (**) NVIDIA(0): Option "UseEDID" "false"
[ 3011.040] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 3011.040] (**) NVIDIA(0): Enabling 2D acceleration
[ 3011.040] (**) NVIDIA(0): Ignoring EDIDs
[ 3011.041] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 3011.041] (**) NVIDIA(0): mode
[ 3011.818] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 3011.823] (II) NVIDIA(0): NVIDIA GPU ION (GT218) at PCI:4:0:0 (GPU-0)
[ 3011.823] (--) NVIDIA(0): Memory: 524288 kBytes
[ 3011.823] (--) NVIDIA(0): VideoBIOS: 70.18.82.00.08
[ 3011.823] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 3011.824] (--) NVIDIA(0): Valid display device(s) on ION at PCI:4:0:0
[ 3011.824] (--) NVIDIA(0): none
[ 3011.824] (II) NVIDIA(0): Validated MetaModes:
[ 3011.824] (II) NVIDIA(0): "NULL"
[ 3011.824] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 3011.824] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 3011.824] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 3011.825] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 3011.839] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 3011.839] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 3011.839] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 3011.839] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 3011.839] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 3011.839] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 3011.839] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 3011.839] (II) NVIDIA(0): Config Options in the README.
[ 3011.840] (II) NVIDIA(0): Setting mode "NULL"
[ 3011.928] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 3011.928] (==) NVIDIA(0): Backing store enabled
[ 3011.928] (==) NVIDIA(0): Silken mouse disabled
[ 3011.928] (==) NVIDIA(0): DPMS enabled
[ 3011.929] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[ 3011.929] (II) Loading sub module "dri2"
[ 3011.929] (II) LoadModule: "dri2"
[ 3011.929] (II) Module "dri2" already built-in
[ 3011.929] (II) NVIDIA(0): [DRI2] Setup complete
[ 3011.930] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 3011.930] (II) Initializing extension Generic Event Extension
[ 3011.930] (II) Initializing extension SHAPE
[ 3011.931] (II) Initializing extension MIT-SHM
[ 3011.932] (II) Initializing extension XInputExtension
[ 3011.932] (II) Initializing extension XTEST
[ 3011.933] (II) Initializing extension BIG-REQUESTS
[ 3011.934] (II) Initializing extension SYNC
[ 3011.934] (II) Initializing extension XKEYBOARD
[ 3011.935] (II) Initializing extension XC-MISC
[ 3011.935] (II) Initializing extension SECURITY
[ 3011.936] (II) Initializing extension XFIXES
[ 3011.937] (II) Initializing extension RENDER
[ 3011.937] (II) Initializing extension RANDR
[ 3011.939] (II) Initializing extension COMPOSITE
[ 3011.939] (II) Initializing extension DAMAGE
[ 3011.940] (II) Initializing extension MIT-SCREEN-SAVER
[ 3011.941] (II) Initializing extension DOUBLE-BUFFER
[ 3011.941] (II) Initializing extension RECORD
[ 3011.942] (II) Initializing extension DPMS
[ 3011.943] (II) Initializing extension Present
[ 3011.943] (II) Initializing extension DRI3
[ 3011.943] (II) Initializing extension X-Resource
[ 3011.944] (II) Initializing extension XVideo
[ 3011.944] (II) Initializing extension XVideo-MotionCompensation
[ 3011.945] (II) Initializing extension XFree86-VidModeExtension
[ 3011.945] (II) Initializing extension XFree86-DGA
[ 3011.946] (II) Initializing extension XFree86-DRI
[ 3011.946] (II) Initializing extension DRI2
[ 3011.946] (II) Initializing extension GLX
[ 3011.947] (II) Initializing extension GLX
[ 3011.947] (II) Indirect GLX disabled.(II) Initializing extension NV-GLX
[ 3011.948] (II) Initializing extension NV-CONTROL
[ 3012.102] (II) LoadModule: "mouse"
[ 3012.103] (WW) Warning, couldn't open module mouse
[ 3012.103] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 3012.103] (EE) No input driver matching `mouse'
[ 3012.103] (II) Falling back to input driver `libinput'
[ 3012.103] (II) LoadModule: "libinput"
[ 3012.103] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 3012.111] (II) Module libinput: vendor="X.Org Foundation"
[ 3012.111] compiled for 1.20.8, module version = 0.30.0
[ 3012.111] Module class: X.Org XInput Driver
[ 3012.111] ABI class: X.Org XInput driver, version 24.1
[ 3012.112] (II) Using input driver 'libinput' for '<default pointer>'
[ 3012.112] (**) Option "CorePointer" "on"
[ 3012.112] (**) <default pointer>: always reports core events
[ 3012.112] (EE) PreInit returned 2 for "<default pointer>"
[ 3012.112] (II) UnloadModule: "libinput"
[ 3012.112] (II) LoadModule: "kbd"
[ 3012.113] (WW) Warning, couldn't open module kbd
[ 3012.113] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 3012.113] (EE) No input driver matching `kbd'
[ 3012.113] (II) Falling back to input driver `libinput'
[ 3012.113] (II) Using input driver 'libinput' for '<default keyboard>'
[ 3012.113] (**) Option "CoreKeyboard" "on"
[ 3012.113] (**) <default keyboard>: always reports core events
[ 3012.113] (EE) PreInit returned 2 for "<default keyboard>"
[ 3012.113] (II) UnloadModule: "libinput"
[ 3012.159] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 3012.160] (II) AutoAddDevices is off - not adding device.
[ 3012.162] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[ 3012.162] (II) AutoAddDevices is off - not adding device.
[ 3012.164] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[ 3012.165] (II) AutoAddDevices is off - not adding device.
[ 3012.167] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 3012.167] (II) AutoAddDevices is off - not adding device.
[ 3012.169] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 3012.169] (II) AutoAddDevices is off - not adding device.
[ 3012.171] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 3012.172] (II) AutoAddDevices is off - not adding device.
[ 3012.172] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 3012.172] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 3012.172] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 3012.175] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event6)
[ 3012.175] (II) AutoAddDevices is off - not adding device.
[ 3012.177] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event7)
[ 3012.177] (II) AutoAddDevices is off - not adding device.
[ 3012.181] (II) config/udev: Adding input device USB2.0 UVC VGA WebCam: USB2.0 U (/dev/input/event11)
[ 3012.181] (II) AutoAddDevices is off - not adding device.
[ 3012.184] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 3012.184] (II) AutoAddDevices is off - not adding device.
[ 3012.186] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event10)
[ 3012.186] (II) AutoAddDevices is off - not adding device.
[ 3012.188] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[ 3012.188] (II) AutoAddDevices is off - not adding device.
[ 3012.190] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[ 3012.190] (II) AutoAddDevices is off - not adding device.
[ 3016.058] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 3016.116] (II) Server terminated successfully (0). Closing log file.Last edited by Lax Lexis (2020-05-27 18:10:51)
Offline
The xorg log is from an optirun, not just "glxspheres64" - you want the xorg.0.log
The brigde primus failed. Some modules couldn't load.
Please don't paraphrase, post the actual output.
About intel-virtual-output, see https://unix.stackexchange.com/question … -bumblebee
Online
There was a misunderstanding.
The xorg log is from an optirun, not just "glxspheres64" - you want the xorg.0.log
It was the xorg log from
optirun -b primus glxspheres64Please don't paraphrase, post the actual output.
It wasn't a paraphrase. I posted the actual output immediately below.
After the command
% ~ glxspheres64
---------------
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x12c (8/8/8/0)
Visual ID of window: 0x2ed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 26There is only the error message but no xorg log (xorg.0.log) generated. :-/
Offline
but no xorg log (xorg.0.log) generated
That's not a thing. For the location of the log see https://wiki.archlinux.org/index.php/Xorg#General
It wasn't a paraphrase. I posted the actual output immediately below.
Oh, you meant
…
[ 3011.032] (EE) Failed to load module "mouse" (module does not exist, 0)
…
[ 3011.033] (EE) Failed to load module "kbd" (module does not exist, 0)
…That's meaningless, the log shows a successful server that ran for ~6 seconds.
Last edited by seth (2020-05-28 13:00:29)
Online