Problem installing my Nvidia Graphic Card

If it doesn't relate to Debian, but you still want to share it, please do it here

Problem installing my Nvidia Graphic Card

Postby wpeovwei » 2018-02-14 11:32

Hi, i'm on latest Debian Testing, and i have two problems with my graphic cards. I have a MSI laptop which has a GTX 850M along with a Intel HD 4600 chipset.

First problem is when i use graphical application as normal user it runs fine, but if i launch it as root(i need it for some applications) i get :

No protocol specified
No protocol specified
java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

;

But if i run "xhost +", i can run the application as root, so the system think i'm a remote user ?

The second problem is that i can't manage to install my GTX 850M, i tried installing the official drivers from the Nvidia site, or installing the drivers from debian repository, added bumblebee-nvidia and edited the conf of bumblebee, but when using GPU tools (hashcat), it does not detect my card. Some users have the same card as me and yet don't have any problem, is it the MSI motherboard that is causing problem ? Because i noticed its really bad on linux, the MSI support is null, i have to push hold the power button to shut down the laptop, touchpad is bad etc

Any help appreciated thanks
wpeovwei
 
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

Postby stevepusser » 2018-02-14 18:19

Trying to install the .run website Nvidia drivers first may have messed things up, but if you now have the Debian versions, give the full output of

Code: Select all
# dpkg-reconfigure nvidia-kernel-dkms


which is supposed to rebuild and reinstall the driver.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.0.1, wine-staging 3.15, qBittorrent 4.1.2, Linux kernel 4.18.6, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9898
Joined: 2009-10-06 05:53

Re: Problem installing my Nvidia Graphic Card

Postby wpeovwei » 2018-02-14 19:20

Thanks, i had fresh debian install when i posted, and i need to say that my first problem is present immediatly after installation, and is not fixed after installing any drivers.

So i did as you said, installed the package "nvidia-driver" and ran the command you gave me as sudo, the ouput =>

Code: Select all
$sudo dpkg-reconfigure nvidia-kernel-dkms

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 387.34
Kernel:  4.14.0-parrot13-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 387.34
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-387.34 DKMS files...
Building for 4.14.0-parrot13-amd64
Building initial module for 4.14.0-parrot13-amd64
Done.

nvidia-current:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/

depmod...

DKMS: install completed.
wpeovwei
 
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

Postby debiman » 2018-02-14 19:30

"parrot" kernel - is this actually debian?
User avatar
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: Problem installing my Nvidia Graphic Card

Postby wpeovwei » 2018-02-14 19:31

It's a distro based on Debian testing, only the kernel is different.
wpeovwei
 
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

Postby sunrat » 2018-02-14 21:54

wpeovwei wrote:It's a distro based on Debian testing, only the kernel is different.

Highly unlikely that is the only difference. A different kernel does not really qualify as a different distro.

Nevertheless, a very similar thread today may have the answer you seek - viewtopic.php?f=7&t=136541
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem installing my Nvidia Graphic Card

Postby wpeovwei » 2018-02-14 22:06

Yes, the DE is different, there is IDS, many pre-installed applications/tools etc but theses can be added on Debian too, only the kernel makes it different from Debian.

Thanks for the link, i had already checked the recent topic about Nvidia problems, none worked in my case.
wpeovwei
 
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

Postby bw123 » 2018-02-14 22:18

wpeovwei wrote:...only the kernel makes it different from Debian.


Like sunrat said that is highly unlikely. There are also configs for just about everything, in /etc are you sure they are all the same as debian defaults?

First problem is when i use graphical application as normal user it runs fine, but if i launch it as root(i need it for some applications) i get :

No protocol specified


That's normal. There are some options to su that might help, but you're likely to trash the system before you figure it out, because running X apps as root isn't a good idea. I know you won't take my word for it, and that's fine. You can do it however you want, just research it before arguing about it, okay?

https://wiki.archlinux.org/index.php/Ru ... ps_as_root
User avatar
bw123
 
Posts: 3264
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Problem installing my Nvidia Graphic Card

Postby wpeovwei » 2018-02-14 22:38

@bw123 Thanks for the advice, my applications run as root sandboxed, i know the risk of root, but some applications need it.
I don't understand why you said it's normal, if you have any commands to tell me to try, i'm ok with that i don't mind breaking my system right now, nothing important on it.

And yes you are right, the configs in /etc and other folders are quite different, but Debian is still Debian, i also said that some users have the same card and not my problem, using the same distro, so i thought it was MSI motherboard ?
wpeovwei
 
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

Postby debiman » 2018-02-16 04:46

whenever you install a distro, your first step (ideally before installing) is to read their web pages, wiki, installation instructions and such.

First things first:

Parrot is a GNU/Linux distribution based on Debian Testing and designed with Security, Development and Privacy in mind.


mind, "based on debian" is not the same as "debian".
Testing also has its own challenges and problems.
Since the parrot folks themselves promote reading the debian docs, i suggest you do.

wpeovwei wrote:i can't manage to install my GTX 850M, i tried installing the official drivers from the Nvidia site, or installing the drivers from debian repository

yet you didn't look in the first, most obvious place: the wiki of your distro: https://docs.parrotsec.org/doku.php/nvidia-drivers
your model is right there on that page.

imho, parrot is a vanity project combining the fashionable "security, privacy and pentesting" label with a fancy UI.
their wiki has gaping holes in it, and there was at least one more forum thread that lead me to believe that parrot just isn't a finished product.

i think it's unfair that good ol' fdn should deal with parrot's developer's problems.

please, contact a "Parrot Ambassador" (sic) for further inquiries.
User avatar
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: Problem installing my Nvidia Graphic Card

Postby dilberts_left_nut » 2018-02-16 05:01

debiman wrote:"based on debian" is not the same as "debian".

Yep.
Moved to Offtopic.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4866
Joined: 2009-10-05 07:54
Location: enzed


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable