nvidia xorg.conf issue workaround
SHOT(by)GUN
Status: New User - Welcome
Joined: 30 Jul 2015
Posts: 2
Location: Finland
Reply Quote
Issue: nvidia xorg.conf not working out of the box

Identifier Card0 to Device0 will resolve the issue.

:: Code ::
/etc/X11/xorg.conf


:: Code ::

Section "Device"
  Identifier "Card0"
  Driver "nvidia"
EndSection


change it to:

:: Code ::

Section "Device"
  Identifier "Device0"
  Driver "nvidia"
EndSection


System:
- distro: LMDE2 - Cinnamon 64bit (Based on Debian Jessie)
- kernel: 4.0-9.dmz.1-liquorix-amd64
- gpu: nvidia 960
- nvidia driver: 352.30 (current)

Thanks to kayo
Original workaround fix posted on linuxmint tutorial comment section: [new user link]

Notes:
smxi -> install graphics has worked fine before. I don't know how these scripts work, nor I know who is responsible for updating xorg.conf, nor I know what has changed since last time I used smxi.

Sorry in advance if I have posted this in wrong area. I just figured that someone might need this information.

Errors affiliated:

:: Code ::

[   764.563] (EE) NVIDIA: GPU:0: Failed to query OR info 0x1f.
[   764.593] (EE) NVIDIA(0): Failing initialization of X screen 0


:: Code ::

[ 69782.496] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 69782.496] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
If real debian has an issue with the xorg.conf generator tool, then sgfxi might have to be updated, but LMDE is too different from debian for me to spend much time worrying about it. Remember, real debian can always be upgraded from debian repositories, pseudo debian's can't be, it's a fairly reliable test, LMDE I know can't be, so it's not really debian.

I haven't heard of any such issue, but you never know, stuff changes.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Note on this issue, that fix is not adequate to tell people if what I think is happening is happening.

You have to change all instances of Card to Device in xorg.conf, not just that one device location.

I'm looking into this issue at the moment and will see if that needs updating.

Stuff like this, if it proves to be another pointless change in strings that break all existing installs is sad.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Update, the absurd dropping of support for a card identifier that has always been used, CardX shifting to DeviceX is confirmed.

Stuff like this is sad, to be honest, and totally pointless.

I've updated sgfxi to rewrite any "Card to "Device hopefully that won't break things.

You have to rewrite all of xorg.conf, not just that single line, by the way, to replace all instances.
Back to top
SHOT(by)GUN
Status: New User - Welcome
Joined: 30 Jul 2015
Posts: 2
Location: Finland
Reply Quote
Alright, thanks for info & update :3
Back to top
Display posts from previous:   

All times are GMT - 8 Hours