Tagged: nvidia drivers; xrandr
- This topic has 8 replies, 3 voices, and was last updated Jun 1-11:04 am by caprea.
-
AuthorPosts
-
May 25, 2022 at 4:31 am #83609Member
symbol
I am using antix linux on on Macbook with (Intel/ Nvidia GT 650M Optimus) actually I found that currently I still cannot get the correct why to install nvidia-driver (maybe I need an old version)
I am trying to install nvidia-driver through Nvidia driver installer on antix Control Centre from the screenshot:
/usr/bin/ddm-mx -i nvidiaThen I can only install nvidia-legacy-390 while after the installation, I found even the nvidia-smi is not found, installed, then the installation seems not complete.
1. Nvidia-card is active:
I walked through this post to enable the nvidia connect on macbook:
https://forums.developer.nvidia.com/t/couldnt-detect-external-monitor-in-ubuntu-18-04-5-with-nvidia-driver-455-38/159919
So I am sure that the Nividia graphic card is active now: (according to this post: https://askubuntu.com/questions/68028/how-do-i-check-if-ubuntu-is-using-my-nvidia-graphics-card)lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] [10de:0fd5] (rev a1) (prog-if 00 [VGA controller])2. ppa:graphics-drivers/ppa met 404 error
However, I walked through some posts on the website but on adding **ppa:graphics-drivers/ppa** as ppa I met 404 error. Is this link archived?
$ sudo add-apt-repository --remove ppa:graphics-drivers/ppa $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye-backports InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://mirrors.rit.edu/mxlinux/mx-packages/antix/bullseye bullseye InRelease Ign:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu kinetic InRelease Hit:5 http://ftp.de.debian.org/debian bullseye InRelease Err:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu kinetic Release 404 Not Found [IP: 185.125.190.52 80] Hit:7 http://ftp.us.debian.org/debian bullseye-updates InRelease Reading package lists... Done E: The repository 'http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu kinetic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details3. xrandr only sees one graphic card
$ xrandr --listproviders Providers: number : 0Is there any way to install old nvidia driver properly and verfiy the installation.
- This topic was modified 11 months, 1 week ago by symbol. Reason: Fix the title
- This topic was modified 11 months, 1 week ago by symbol. Reason: Use a different outlink for verfication
- This topic was modified 11 months, 1 week ago by symbol.
Attachments:
May 25, 2022 at 2:33 pm #83635Moderator
Brian Masinick
::Just so you know, PPA, which are Personal Package Archives, are Ubuntu-specific archives. They are not even the standard package archives for Ubuntu and they definitely are not recommended here.
You are free to use them if you wish but unless another forum participant knows what you are doing and chooses to respond, that is the only way you are going to get an answer here.
You’re certainly welcome to do whatever you want with your system but this is not something we support.
--
Brian MasinickMay 25, 2022 at 3:29 pm #83638Moderator
caprea
::PPAs are not supported on antiX, like Brian Masinick already mentioned and it’s not needed.
I found even the nvidia-smi is not found, installed
Is nvidia-legacy-390xx-smi installed on your system?
Please post
inxi -Gxxxprimusrun inxi -GAfaik the installer from control-centre ddm-mx installs bumblebee.
To run an application using the nVidia card, you have to use in terminal eg.
primusrun firefox
or alternately
optirun firefoxMay 26, 2022 at 8:13 am #83659Membersymbol
::I see. thanks!
Just so you know, PPA, which are Personal Package Archives, are Ubuntu-specific archives. They are not even the standard package archives for Ubuntu and they definitely are not recommended here.
You are free to use them if you wish but unless another forum participant knows what you are doing and chooses to respond, that is the only way you are going to get an answer here.
You’re certainly welcome to do whatever you want with your system but this is not something we support.
- This reply was modified 11 months, 1 week ago by symbol. Reason: Quote other people's comment
May 26, 2022 at 8:25 am #83660Membersymbol
::My inxi -Gxxx shows nvidia-390 driver is installed:
$ inxi -Gxxx Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Apple driver: N/A bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 Device-2: NVIDIA GK107M [GeForce GT 650M Mac Edition] vendor: Apple driver: nvidia v: 390.144 bus-ID: 01:00.0 chip-ID: 10de:0fd5 class-ID: 0300 Device-3: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo bus-ID: 1-1.1:3 chip-ID: 05ac:8510 class-ID: 0e02 serial: DJHD41Z5F9DNYGB0 Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia note: n/a (using device driver) unloaded: fbdev resolution: 2880x1800 s-dpi: 96 OpenGL: renderer: N/A v: N/A direct render: N/AThank you so much for hints, I then installed nvidia-legacy-390xx-smi manually:
libegl-nvidia-legacy-390xx0/stable,now 390.144-1 amd64 [installed,automatic] libgl1-nvidia-legacy-390xx-glvnd-glx/stable,now 390.144-1 amd64 [installed,automatic] libglx-nvidia-legacy-390xx0/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-compiler/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-cuda1/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-eglcore/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-fatbinaryloader/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-glcore/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-ml1/stable,now 390.144-1 amd64 [installed,automatic] libnvidia-legacy-390xx-ptxjitcompiler1/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-alternative/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-driver-bin/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-driver-libs/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-driver/stable,now 390.144-1 amd64 [installed] nvidia-legacy-390xx-egl-icd/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-kernel-dkms/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-kernel-support/stable,now 390.144-1 amd64 [installed,automatic] nvidia-legacy-390xx-opencl-icd/stable,now 390.144-1 amd64 [installed] nvidia-legacy-390xx-smi/stable,now 390.144-1 amd64 [installed] nvidia-legacy-390xx-vdpau-driver/stable,now 390.144-1 amd64 [installed,automatic] nvidia-settings-legacy-390xx/stable,now 390.144-1 amd64 [installed] volumeicon-alsa-legacy/bullseye,now 0.4.6-2.4 amd64 [installed] xserver-xorg-video-nvidia-legacy-390xx/stable,now 390.144-1 amd64 [installed,automatic]I found my primusrun command crashes my screen.
primusrun inxi -GSimilarly my following command also crashes the screen
optirun glxinfo | grep "OpenGL renderer"While without optirun my glxinfo look strange now
$ glxinfo | grep "OpenGL renderer" Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Error: couldn't find RGB GLX visual or fbconfig Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0".PPAs are not supported on antiX, like Brian Masinick already mentioned and it’s not needed.
I found even the nvidia-smi is not found, installed
Is nvidia-legacy-390xx-smi installed on your system?
Please post
inxi -Gxxxprimusrun inxi -GAfaik the installer from control-centre ddm-mx installs bumblebee.
To run an application using the nVidia card, you have to use in terminal eg.
primusrun firefox
or alternately
optirun firefox- This reply was modified 11 months, 1 week ago by symbol. Reason: Manage quotes
May 26, 2022 at 8:33 am #83663Membersymbol
::My nvidia-smi output does not look good with some persistent mode being off:
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.144 Driver Version: 390.144 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GT 650M Off | 00000000:01:00.0 N/A | N/A | | N/A 57C P0 N/A / N/A | 0MiB / 981MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+PPAs are not supported on antiX, like Brian Masinick already mentioned and it’s not needed.
I found even the nvidia-smi is not found, installed
Is nvidia-legacy-390xx-smi installed on your system?
Please post
inxi -Gxxxprimusrun inxi -GAfaik the installer from control-centre ddm-mx installs bumblebee.
To run an application using the nVidia card, you have to use in terminal eg.
primusrun firefox
or alternately
optirun firefox- This reply was modified 11 months, 1 week ago by symbol.
May 27, 2022 at 5:57 pm #83719Moderator
caprea
::I’m under the impression the problems you have are due to the fact that this is mac hardware.To be honest i probably can’t help you much here and also a web search doesn’t bring up anything really useful.
If you post the /var/log/ddm.log we can look after all if the nvidia driver installation was successful and no errors showed up.
Also you can go to synaptic and search for nvidia-legacy-390 and look if everything is installed.Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Apple driver: N/A
It’s not clear to me why even the intel driver is not shown here correctly.
EDIT: You can also post the /etc/X11/xorg.conf
and the /var/log/Xorg.0.log- This reply was modified 11 months, 1 week ago by caprea.
June 1, 2022 at 7:03 am #83912Membersymbol
::I found the solution if you have a Intel/ Nvidia Optimus graphics card.
0. (Optional) Firstly we need to make sure that on Macbook Nvidia graphic card is connected to PCI Express Bridge.
Follow the instructions described in this post:
https://askubuntu.com/questions/264247/proprietary-nvidia-drivers-with-efi-on-mac-to-prevent-overheating
or this one:
https://daanberg.net/wp-content/uploads/2020/09/proprietary_nvidia_drivers_with_efi_on_mac_to_prevent_overheating_-_ask_ubuntu.pdf1. (Optional) Then install nvidia-detect to detect the correct driver version:
$ nvidia-detect Detected NVIDIA GPUs: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] [10de:0fd5] (rev a1) Checking card: NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] (rev a1) Your card is only supported up to the 390 legacy drivers series. Your card is also supported by the Tesla 418 drivers series. It is recommended to install the nvidia-legacy-390xx-driver package.2. Install the correct version of the nvidia driver through Application Centre or package manager.
3. Install libnvidia-legacy-390xx-cfg1, nvidia-settings-legacy-390xx, nvidia-legacy-390xx-smi,
nvidia-xconfig
4. Set up PRIME with instruction from this post: http://us.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/README/randr14.html
or this post https://forums.developer.nvidia.com/t/couldnt-detect-external-monitor-in-ubuntu-18-04-5-with-nvidia-driver-455-38/159919
5. Verify that the nvidia driver is working with nvidia-settingsAttachments:
June 1, 2022 at 11:04 am #83919Moderator
caprea
-
AuthorPosts
- You must be logged in to reply to this topic.

