I have installed a clean install of Mint 19.2 on an ASUS TUF FX505DT laptop.
The amdgpu pro driver seems to work correctly. Prime is installed and makes the change when requested to.
The Nvidia card does not work when prime makes the transition.
Nvidia-smi reports 3911 MiB of VRAM. It’s listed as a 4G video card on the product specifications. So far the symptoms are just that I can’t get the Nvidia Card ON by using Prime, and that as a result the AMD Radeon Vega takes the helm. Prime-select query results in Nvidia, yet nvidia-smi says OFF all the time.
You misunderstood.
The nvidia gpu has 4GB vram.
The integrated AMD gpu has 128MB vram and that model had problems previously.
Since this is a hybrid graphics notebook, both gpus have to work together.
Looking at the logs again, you’re missing one config option for the nvidia gpu to take control. Please add
Option "PrimaryGpu" "true"
inside the OutputClass section of
/usr/share/X11/xorg.conf.d/10-nvidia.conf
reboot, report back.
There seem to be two Xorg sessions started on the nvidia gpu, the initial, defunct and the manually started one. Please post the output of
ps a |grep X
So, I’m having the same issue as aranthorne. I have an ASUS TUF FX505DU laptop (Ryzen 7 3750H + Geforce GTX 1660Ti), and after I managed to make the NVIDIA driver works, everytime I start up the machine I get a black screen. If I manually enter a terminal via CTRL+ALT+F1 and start a new session via startx, it works fine.
Like generix said, there’s two X sessions, the manually started one and the dead one. Switching back and forth to VT7 didn’t solved the issue nor brought the session back alive. Any solutions for this? Xorg.0.log (35 KB) nvidia-bug-report.log.gz (1.08 MB)
No if I attempt to switch back and forth the invisible session does not come to life. BUT the manually started Xsession works well enough for my purposes until a better solution is available.
I have the axact same problem but then on an asus vivobook 570zd
a laptop with a mobile ryzen 2500u and an nvidia gtx1050 2GB
if i put the Option “PrimaryGpu” “true”
into my 10-nvidia.conf
i get the black screen
if a manually start a new session it starts fine with nvidia as an renderer.
it works but i do need to start a manual session everytime i restart my machine
Another user has found a workaround by connecting an external monitor, which will work. Log in there, start control center and you will find your internal display disabled. Enable it and it should then be working fine when the external monitor is disconnected.
Ok, looking at the logs I can see that the external output is connected to the amd gpu, not the nvidia one so the workaround doesn’t work for you.
Please try this:
run
ps aux |grep X
should return something like
note down the path that comes after -auth, in my case
/run/user/111/gdm/Xauthority
get a root shell:
sudo -s
then run
DISPLAY=:0 XAUTHORITY=/run/user/111/gdm/Xauthority xrandr --output eDP-1-0 --off
DISPLAY=:0 XAUTHORITY=/run/user/111/gdm/Xauthority xrandr --output eDP-1-0 --auto
Edit: then switch to vt7 and check if the monitor came alive.
Another option would be to use render offload.
Both commands give me outputted this
oot@Client1-Linux:~# DISPLAY=:0 XAUTHORITY=/run/user/111/gdm/Xauthority xrandr --output eDP-1-0 --off
No protocol specified
Can’t open display :0
root@Client1-Linux:~# DISPLAY=:0 XAUTHORITY=/run/user/111/gdm/Xauthority xrandr --output eDP-1-0 --auto
No protocol specified
Can’t open display :0