[Sticky] A script to change Xorg config  

Page 2 / 2 Prev
  RSS

Sebulon
(@sebulon)
Active Member
Joined: 4 weeks ago
Posts: 17
December 6, 2018 5:14 am  

@mzo

What Ubuntu version are you running?

To remove the repo:

# sudo add-apt-repository --remove ppa:karli.sjoberg/gswitch-ppa

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mzo
 mzo
(@mzo)
Active Member
Joined: 2 years ago
Posts: 13
December 12, 2018 11:44 pm  

@sebulon

Thanks, later today I'll try again. I'm running 18.10 cosmic with the latest mainline kernel.

Regarding the Nvidia drivers, I still haven't managed to have them working. However, I found several posts of people that have exactly the same problem. I will try some of the solutions suggested.

My other problem is with my AMD dGPU. The amdgpu driver is not stable on my system. The card overheats and produces frequent kernel freezes. I tried countless solutions to fix this with no luck (including fresh ubuntu reinstalls, etc). The problem is even there when I boot Ubuntu from live usb (tried 18.04 and 18.10, same problem). I had my MacBook Pro inspected by Apple to check if there were hardware issues but it looked all good. That being said, if I understand correctly, the Nvidia Prime feature uses the dGPU (or iGPU when available) to render on the screen the graphic that is being processed by the external GPU. If that is the case, if I manage to have the Nvidia drivers loading, do you think my unstable dGPU problem will persist even though I'm using the Nvidia eGPU with your script?

Finally, I tried a workaround to activate the intel iGPU and use that instead of the dGPU because by default recent Mac hardware disable the iGPU if you boot anything that is not MacOS. This worked, the iGPU was used instead of the dGPU (resolving the kernel freezes issues). However, this solution was very "invasive" as it modifies EFI stuff and MacOS boot files and rendered MacOS irreversibly un-bootable (I had to do a fresh reinstall). This solution is discussed here:  https://sourceforge.net/p/refind/discussion/general/thread/84a55c48/

My plan is to fix the Nvidia drivers problem, and, through your script, use my Nvidia eGPU as my only graphic solution for Ubuntu. Do you think it's doable to use the eGPU for everything despite the iGPU being inactive and not recognized by default and the dGPU having driver problems?

Thank you!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Sebulon
(@sebulon)
Active Member
Joined: 4 weeks ago
Posts: 17
December 13, 2018 9:55 am  
Posted by: mzo

@sebulon

Thanks, later today I'll try again. I'm running 18.10 cosmic with the latest mainline kernel.

As I thought, that explains the issues you were having with the PPA. I have only submitted packages for "bionic", as that is the long term supported version. But I can invest the time to submit packages for "cosmic" as well, if you´re interested?

Posted by: mzo

... if I manage to have the Nvidia drivers loading, do you think my unstable dGPU problem will persist even though I'm using the Nvidia eGPU with your script?

It also explains why my instructions and the commands don´t work as you´re on a different Ubuntu version than what I have tested and know work. And the kernel included in "cosmic" is 4.18, so not much difference to the mainline 4.19 kernels I wanted you to install then. See below for answer about eGPU

Posted by: mzo

Do you think it's doable to use the eGPU for everything despite the iGPU being inactive and not recognized by default and the dGPU having driver problems?

Thank you!

The driver problems comes from using the hardware. If you are only using the eGPU then I would imagine the dGPU wouldn´t bother you any more. With that said, I cannot test this for you as I have a different computer than you have.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Page 2 / 2 Prev