-
Notifications
You must be signed in to change notification settings - Fork 47
Not working on Nvidia #9
Comments
I've tried every possible way I can. no options software wise for Nvidia proprietary drivers yet, but there are hardware options: |
Having the same issue and same solution here, in that removing the file fixes it. |
I think it needs to create a specific configuration for other graphic cards. File : 20-intel.conf
|
@dianariyanto do you have any plans to make a config for Nvidia cards? |
@dianariyanto Your solution works only for intel CPUs with integrated graphics. With this setting, the integrated gpu takes care of the virtual screen, not Nvidia cards. @bocklucas I have the same problem. I found nvidia's official guide on how to set x11vnc for headless servers. It's not for a secondary virtual display, but it's the closest to the solution I could find. |
@hsparkastro awesome thanks! I'll give it a try! |
@bocklucas On a closer look, the guide I provided seems to be intended for the problem of X not loading without a physical monitor present. Not exactly what we're looking for. From what I've been reading in other forums, we might have to use nvidia-settings to work around the problem, rather than using xorg.conf or xrandr...... |
@hsparkastro ahhhh! Hmmm thats fair! Have you played around with nvidia-settings before? |
@bocklucas Sadly, no. I'm just reading the README file atm. |
@hsparkastro sweet, I'll check it out too and let you know what turns up! |
@bocklucas Hey, I found a solution! The trick is to use Nvidia's TwinView and force the graphics card to see unconnected ports as connected using Option "ConnectedMonitors". TwinView allows multiple monitors to be configured in a single X Screen, and ConnnectedMonitors is supported for old monitors that doesn't support Display Data Channel (DDC) protocols. Here's the README for TwinView. First, create a basic xorg.conf file using nvidia-xconfig in terminal:
This will create an xorg.conf in /etc/X11/.
These options are supported by the nvidia driver and not X (I think...) Logout and login to see the effect. You'll see that the cursor moves beyond the primary monitor, and if you xrandr, you'll see that HDMI-0 is seen as connected. I am using my iPad for vnc'ing, which has a 2224x1668 resolution, but it makes the screen too small, so I created a custom resolution (1080x810) for HDMI-0 using xrandr. So,
which outputs the mode configuration for my resolution. Copy the second line of the output and create the mode using newmode
the options after --newmode will be different for your configuration. Then add the mode to HDMI-0 and set it to that mode.
If you vnc now, you'll see the whole Screen (both monitors). I use x11vnc for the vnc server, which allows me to clip the output and allow multiple pointers (the server's pointer will be visible to the client, the client's will be visible to the server).
Feel free to set more secure options if necessary. Let me know how it goes. |
Holy crap @hsparkastro thats awesome!! I'll try that out and let you know how it goes!! |
@hsparkastro Awesome!! It's working! Thank you :) |
Thanks for @hsparkastro for the great and clear tutorial #9
nvidia xconfig doesnt work for some reason
|
@MissLav You'll need root permissions for it to write to sudo nvidia-xconfig |
I tried doing what @hsparkastro mentioned and I couldn't get it to work. After a reboot, it seems that Gnome crashes and it doesn't output anything anymore, to the point that the monitor enters power save mode. I could use For some reason, it seems to me that my version of PS: Before I rebooted, I tried just logged out of the system, on which the monitor turned itself off for a lack of signal. But when accessing the TTY in this session and checking My system information: Fedora 34 |
@hsparkastro |
Does it work for amd cpu? |
In case it would be useful for someone: you will have
as in https://askubuntu.com/a/380817 |
I get Bad Match when trying to add a mode to the virtual monitor, the monitor does not have any modes setup by default too. |
Hello, I'm trying to set this up accordingly to @hsparkastro instructions. However, it seems after running I tested this, and it also happens with the deafult generated Do you have any suggestions or workarounds for this? Thanks in advance! An extra question: do you think there's an alternative way of making these settings within the Nvidia X Server Settings GUI app? |
Gdm does not load after reboot, remove /usr/share/X11/xorg.conf.d/20-intel fixes it. I supposse this only work on intel cards? Any ideas for nvidia gpu's?
nvidia 750ti btw
The text was updated successfully, but these errors were encountered: