Bitcoin Forum
May 06, 2024, 08:51:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: xorg.conf overwritten at boot  (Read 104 times)
cpmcgrat (OP)
Member
**
Offline Offline

Activity: 223
Merit: 21

DCAB


View Profile
January 17, 2018, 04:21:00 AM
 #1

Hi all,

I am migrating one of my machines over to Ubuntu 16.04 LTS. I haven't had this issue with any of my previous machines I've run on Ubuntu, but every time I reboot it, the xorg.conf gets overwritten, removing my Coolbits and inhibiting me from overclocking the cards.

I really don't understand why on some systems running a simple command like

sudo nvidia-xconfig -a --cool-bits=28

works and on this system it doesn't.

Specs are

ASRock H81
5x ASUS 1070Ti blower
1x Gigabyte Geforce 1070
Intel Pentium dual core processor

Any help would be greatly appreciated.

Member, Dero Community Advisory Board (DCAB)
1715028679
Hero Member
*
Offline Offline

Posts: 1715028679

View Profile Personal Message (Offline)

Ignore
1715028679
Reply with quote  #2

1715028679
Report to moderator
1715028679
Hero Member
*
Offline Offline

Posts: 1715028679

View Profile Personal Message (Offline)

Ignore
1715028679
Reply with quote  #2

1715028679
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715028679
Hero Member
*
Offline Offline

Posts: 1715028679

View Profile Personal Message (Offline)

Ignore
1715028679
Reply with quote  #2

1715028679
Report to moderator
cpmcgrat (OP)
Member
**
Offline Offline

Activity: 223
Merit: 21

DCAB


View Profile
January 17, 2018, 11:51:21 PM
 #2

bump

Member, Dero Community Advisory Board (DCAB)
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
January 17, 2018, 11:56:25 PM
 #3

Code:
$ sudo chmod 444 /etc/X11/xorg.conf
$ sudo chattr +i /etc/X11/xorg.conf
cpmcgrat (OP)
Member
**
Offline Offline

Activity: 223
Merit: 21

DCAB


View Profile
January 18, 2018, 01:26:26 AM
 #4

Code:
$ sudo chmod 444 /etc/X11/xorg.conf
$ sudo chattr +i /etc/X11/xorg.conf

That fix didn't work for me, ended up killing my keyboard.

What did end up working however was disabling onboard graphics and running it as a headless node.

The issue was that it was being overwritten when the HDMI cable was plugged into the IGFX (intel graphics, motherboard) HDMI port. Ubuntu 16.04 would detect this and mark it as a "Intel Hybrid System" (could be seen in /var/log/gpu-manager.log). Then, it would check the configuration, come up short on the IGFX config and reset the xorg.conf.

To solve this, I went into the BIOS, disabled IGFX, set the default display out to PCIE1, plugged the HDMI cable into the graphics card on PCIE1, then regenerated xorg.conf with nvidia-xconfig -a --cool-bits=28 with no issues.

Member, Dero Community Advisory Board (DCAB)
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
January 20, 2018, 01:08:42 AM
 #5

Code:
$ sudo chmod 444 /etc/X11/xorg.conf
$ sudo chattr +i /etc/X11/xorg.conf

That fix didn't work for me, ended up killing my keyboard.

What did end up working however was disabling onboard graphics and running it as a headless node.

The issue was that it was being overwritten when the HDMI cable was plugged into the IGFX (intel graphics, motherboard) HDMI port. Ubuntu 16.04 would detect this and mark it as a "Intel Hybrid System" (could be seen in /var/log/gpu-manager.log). Then, it would check the configuration, come up short on the IGFX config and reset the xorg.conf.

To solve this, I went into the BIOS, disabled IGFX, set the default display out to PCIE1, plugged the HDMI cable into the graphics card on PCIE1, then regenerated xorg.conf with nvidia-xconfig -a --cool-bits=28 with no issues.
chmod makes the file read-only and chattr makes it immutable although I'm not sure why it disabled your keyboard. Unlike Windows where you can use your iGPU for display, in Linux the dGPU needs to be the primary display with an Xorg instance running on each card in order to control them using nvidia-settings (which is what nvidia-xconfig -a or --enable-all-gpus does).

Code:
...
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1635    G   /usr/lib/xorg/Xorg                              31MiB |
|    0      2140    G   compiz                                          13MiB |
|    0     24518    C   /opt/bminer/bminer                             814MiB |
|    1      1635    G   /usr/lib/xorg/Xorg                               7MiB |
|    1     24518    C   /opt/bminer/bminer                             665MiB |
|    2      1635    G   /usr/lib/xorg/Xorg                               7MiB |
|    2     24518    C   /opt/bminer/bminer                             665MiB |
|    3      1635    G   /usr/lib/xorg/Xorg                               7MiB |
|    3     24518    C   /opt/bminer/bminer                             665MiB |
|    4      1635    G   /usr/lib/xorg/Xorg                               7MiB |
|    4     24518    C   /opt/bminer/bminer                             665MiB |
|    5      1635    G   /usr/lib/xorg/Xorg                               7MiB |
|    5     24518    C   /opt/bminer/bminer                             665MiB |
+-----------------------------------------------------------------------------+
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!