-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing the xorg.conf in order to use HDMI #72
Comments
Technically you should be able to use the external monitor by copying
Because the external monitor can only be used if the card is enabled, you have to uninstall/disable Bumblebee. To disable it, run:
Set the GL path to use the nvidia libGL libraries:
Load the nvidia drivers if it was not already loaded:
Reboot/re-login to test the changes. If it fails, have a look at |
Thanks for your answer! I followed your instructions and everything went fine until I was going to load the nvidia drivers. When I wrote I tried to reboot, but it didn't work (blank screen). I had to remove the xorg.conf file in recovery mode in order to boot successfully. I cant find the word ConnectedMonitor in the log files. Do you have any idea why it doesn't work? |
If you've installed a 32-bit version you need to install the kernel headers for it using:
|
I have the 32-bit version of Ubuntu installed, but adding Do you know what I am doing wrong? Has anyone else managed to do this? If you don't have any idea what to do, do I have to write something in the terminal to reset to normal settings? Hopefully there will be an easy way to use HDMI in future releases. |
You need to rebuild the nvidia module. Try something like:
|
When I write |
Uhh, it should have been:
|
Thank you! Now I have managed to get my external monitor working via HDMI. There's just one problem. My external keyboard doesn't work. It works if I start Windows 7 so it's not a battery problem and it worked in Ubuntu when I used the laptop screen. The mouse and keyboard both use wireless connection and uses the same USB receiver. The mouse works when I use the external monitor, but the keyboard doesn't work. Do you have a solution to this problem? |
The laptop keyboard doesn't work either when I use the external monitor. |
Try removing |
Thank you! That solved the problem! If I one day would like to use the laptop screen instead of the external monitor, can I just rename the xorg.conf file to something else then? And then rename it back to xorg.conf when I want to use the external monitor again? |
yes and yes. |
Thank you very much for your excellent help! |
Hi @TomasNilsson, I have read this post, and I have same problem. I am using dell xps15 and I want to connect my laptop to external samsung monitor through HDMI on ubuntu 11.10 and debian OS. But when I am trying to configure the nvidia driver, then I am getting this error: After I run following command: It's creates the file /etc/X11/Xorg.conf. But after restart system, I am unable to get any screen, and after removing this nvidia config file, my system work. Please help me, how you made it possible to run/configure the HDMI monitor, step by step. Should I install Bumblebee-Project? Waiting for your response. Regards, |
Try this as /etc/X11/xorg.conf :
Do not install Bumblebee, and just reboot after saving this change. |
Thanks @ArchangeGabriel , I have made changes as you suggested but still not working, after restart I am unable to get login. Here is the my /etc/X11/xorg.conf file content: nvidia-xconfig: X configuration file generated by nvidia-xconfig Section "Files" Section "InputDevice" Section "InputDevice" Section "Monitor" Section "Device" Section "Screen" Please help me to configure the nvidia graphics card. Thanks & Regards, |
Could you copy the Xorg.0.log (and old) files please ? |
First of all thanks for your response. The content of Xorg.0.log file is laid below: /var/log/Xorg.0.log content : [ 19.688] 19.742 Loading /usr/lib/xorg/modules/drivers/intel_drv.so Regards & Thanks, |
Ok, then try this as xorg.conf :
Also, do not forget to connect your external screen. |
I have made modification as you suggested, but after hitting alt (left) +printscr+k keys my screen goes to blank. But at time I didn't connect the external monitor to my laptop. Second thing in serverlayout section I have following configuration : But in your above code there is only Identifier "Layout0" configuration, should I remove other configuration from it like: Thanks & Regards, |
With the setting we're currently building, you can only boot with your external monitor connected. So you can't use the laptop screen, and have to reboot after making changes. Normally, the xorg.conf I've provided should handle everything, so you don't have to put some more configuration blocks. |
Thanks for your response. Currently I don't have external monitor, I will definitely check it tomorrow, Thanks |
Yes, if you have read the posts above the "Close" line, you would have figure that this way, you can only configure your computer to use external screen instead of laptop screen. Since you've posted in this issue, I was thinking you was wanting to get the same result. So please read this page fisrt : https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup. |
Thanks @ArchangeGabriel , I am very much happy today, my external monitor is working now. Thanks once again. But there is only one problem, at time only one screen working (after this configuration my laptop screen become blank and external monitor screen is working) . Is it possible for my system is configure both screen (laptop screen and external monitor) with or without Bumblebee? Actually, I don't want to install the Bumblebee, because in some blog post I read it make system slow down and my system is mainly used for development, it has already many heavy processes are running. Please help me again to configure both screen Step by step . Waiting for response. Thanks & Regards, |
Huh? Bumblebee makes the system slow? This is the first time I hear it. Please cite your sources, having Bumblebee installed cannot slow down the machine. |
Again I am getting problem to connect the external monitor with laptop when I reinstalled the ubuntu 11.10 64bits. I did the same procedure as you suggested last time. But this time I'm getting blank screen. I am sending the xconf.org and log file please check it. File: /etc/X11/xorg.conf nvidia-xconfig: X configuration file generated by nvidia-xconfig nvidia-xconfig: version 280.13 (buildmeister@swio-display-x86-rhel47-03.nvidia.com) Wed Jul 27 17:15:58 PDT 2011 Section "ServerLayout" Section "Files" Section "InputDevice" Section "InputDevice" Section "Monitor" Section "Device" Section "Screen" Log File: /var/log/Xorg.0.log [ 24.463] 24.526 Loading /usr/lib/xorg/modules/drivers/intel_drv.so Waiting for response. Thanks & Regards, |
It looks like it can't see you xorg.conf file. Are you sure of the permissions of the file, and of it's location ? Also, you may take a look at this : http://www.webupd8.org/2012/08/get-hdmi-working-with-nvidia-optimus-on.html |
Thanks @ArchangeGabriel , Now its working, may be the issue was with permission. Regards, |
I asked the following question at https://answers.launchpad.net/ubuntu/+question/186752 and they told me to submit my question here instead.
I have a Dell XPS 15z laptop with Ubuntu 11.10 and would like to be able to use an external monitor via HDMI. I understand that Optimus is the reason why it doesn't work.
Until there is a better solution I would be happy if I could use only the external monitor and not the laptop screen. According to https://wiki.ubuntu.com/HardwareSupport/Machines/Laptops/Dell/XPS/15z this is possible:
"The HDMI is physically connected to the nVidia card -- by manually changing the xorg.conf, it is possible to start X on the nVidia card only, getting the HDMI video (at the cost of inactive main laptop screen and the Mini Displayport output). "
What should I add in my xorg.conf file in /etc/X11/ in order to use the external monitor via HDMI?
The text was updated successfully, but these errors were encountered: