Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem installing my Nvidia Graphic Card

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
wpeovwei
Posts: 5
Joined: 2018-02-14 11:01

Problem installing my Nvidia Graphic Card

#1 Post by wpeovwei »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem installing my Nvidia Graphic Card

#2 Post by stevepusser »

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.
MX Linux packager and developer

wpeovwei
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

#3 Post by wpeovwei »

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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Problem installing my Nvidia Graphic Card

#4 Post by debiman »

"parrot" kernel - is this actually debian?

wpeovwei
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

#5 Post by wpeovwei »

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

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Problem installing my Nvidia Graphic Card

#6 Post by sunrat »

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 - http://forums.debian.net/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!

wpeovwei
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

#7 Post by wpeovwei »

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.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Problem installing my Nvidia Graphic Card

#8 Post by bw123 »

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
resigned by AI ChatGPT

wpeovwei
Posts: 5
Joined: 2018-02-14 11:01

Re: Problem installing my Nvidia Graphic Card

#9 Post by wpeovwei »

@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 ?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Problem installing my Nvidia Graphic Card

#10 Post by debiman »

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
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Problem installing my Nvidia Graphic Card

#11 Post by dilberts_left_nut »

debiman wrote:"based on debian" is not the same as "debian".
Yep.
Moved to Offtopic.
AdrianTM wrote:There's no hacker in my grandma...

Post Reply