Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need libcuda even without nvidia GPU #2

Closed
wesraph opened this issue Aug 6, 2020 · 5 comments
Closed

Need libcuda even without nvidia GPU #2

wesraph opened this issue Aug 6, 2020 · 5 comments

Comments

@wesraph
Copy link

wesraph commented Aug 6, 2020

Hello,

The programm try to load cuda even if I don't have an nvdia gpu

 raph@LaptopdeRaph  ~  lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Iris Graphics 6100 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:15.0 DMA controller: Intel Corporation Wildcat Point-LP Serial IO DMA Controller (rev 03)
00:15.4 Serial bus controller [0c80]: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
02:00.0 Multimedia controller: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC (rev 01)
04:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev 01)
05:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
06:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
06:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
06:04.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
06:05.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
06:06.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
07:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
raph@LaptopdeRaph  ~  mpvpaper eDP-1 vid.mp4
OpenGL 4.6 context loaded
Cannot load libcuda.so.1

The programm stay stuck and nothing appear on the screen. I see it loading my cpu

I also tried it with an NVIDIA gpu and the nouveau driver on another computer and I get the same output

@GhostNaN
Copy link
Owner

GhostNaN commented Aug 6, 2020

"Cannot load libcuda.so.1" can be completely ignored. Mpv is just trying to see if it "could" load a Nvidia GPU.
For reference: https://bbs.archlinux.org/viewtopic.php?id=245961
As to why it's not loading at all. Can you please run the program with the "-o" option like so:

mpvpaper -o "-v terminal=yes" eDP-1 vid.mp4

And report back.

@wesraph
Copy link
Author

wesraph commented Aug 6, 2020

I can see the log of mpv but there is still no output, I still see my background image

^C 00:00:10 / 00:00:20 (53%)
 ✘ raph@LaptopdeRaph  ~  mpvpaper -o "-v terminal=yes" eDP-1 test.mp4
OpenGL 4.6 context loaded
Cannot load libcuda.so.1
 (+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
VO: [libmpv] 1920x1080 yuv420p
^C 00:00:09 / 00:00:20 (46%)

I'm running sway 1.5 and mpvpaper-git from AUR

@GhostNaN
Copy link
Owner

GhostNaN commented Aug 6, 2020

Ooooo you silly goose. Kill the background image. I mentioned this in the "NOTES" sections of the README.md.

killall swaybg

@wesraph
Copy link
Author

wesraph commented Aug 6, 2020

I found my mistake, you need to unset your wallpaper in your sway conf. Sorry for the inconvenience. Maybe you could add on the readme that you must unset your wallpaper before running mpvpaper ?

@wesraph
Copy link
Author

wesraph commented Aug 6, 2020

Damn, I can't properly read a REAME. Sorry again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants