qubes-doc/NvidiaTroubleshooting.md

71 lines
2.3 KiB
Markdown
Raw Normal View History

2010-04-06 18:07:48 -04:00
---
2015-04-10 16:17:45 -04:00
layout: doc
2010-04-06 18:07:48 -04:00
title: NvidiaTroubleshooting
2015-04-10 16:17:45 -04:00
permalink: /doc/NvidiaTroubleshooting/
redirect_from: /wiki/NvidiaTroubleshooting/
2010-04-06 18:07:48 -04:00
---
NVidia Troubleshooting Guide
============================
If you have an NVidia graphics card it will probably not work under Xen out of the box. If your system freezes during boot and you don't see the graphical login manager after you installed Xen, then this problem most likely affects you. The following steps should provide a work around so that you should be able to use your NVidia with X under Xen, however without any fancy "desktop effects".
1. Boot your system using the "failsafe" boot menu, that should have been automatically added to your `grub.conf` when you installed the Dom0 kernel.
If the X Window System doesn't start now, this is probably a non-Xen related issue and this guide will probably not help you.
Assuming your X Window System works fine now when you booted from the "failsafe" configuration, do the next steps...
1. Do not log into X, but instead switch to a text console (press Ctrl-Alt-F2)
1. Log in as root
1. Switch to runlevel 3 (this should kill your X server):
```
2010-04-06 18:07:48 -04:00
init 3
```
2010-04-06 18:07:48 -04:00
1. Run X-autoconfiguration:
```
2010-04-06 18:07:48 -04:00
Xorg -configure
```
2010-04-06 18:07:48 -04:00
This should generate a file `xorg.conf.new` in the `/root` directory.
In most cases you can ignore any warning or error messages displayed by the X server, assuming it generated the xorg.conf.new file.
1. Edit this newly generated `xorg.conf.new` file and introduce the following two modifications:
- Uncomment the ShadowFB option, so that you should now have something like this:
```
2010-04-06 18:07:48 -04:00
Option "ShadowFB" # [<bool>]
```
2010-04-06 18:07:48 -04:00
- Change the driver name to `nouveau` (you will probably have `nv` written there):
```
2010-04-06 18:07:48 -04:00
Driver "nouveau"
```
2010-04-06 18:07:48 -04:00
Save the modification, exit the editor.
1. Move the file to `/etc/X11` and rename it as `xorg.conf`:
```
2010-04-06 18:07:48 -04:00
mv /root/xorg.conf.new /etc/X11/xorg.conf
```
2010-04-06 18:07:48 -04:00
1. Verify that X will work with those new settings:
```
2010-04-06 18:07:48 -04:00
xinit
```
2010-04-06 18:07:48 -04:00
If you see a terminal window in the top left corner, it means you most likely succeeded, even if your keyboard or mouse do not work now (don't worry about them).
1. Reboot and let the system boot from the normal boot configuration. You should be able to use X under Xen now.