LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Help with Xorg and Ubuntu Recovery (https://www.linuxquestions.org/questions/ubuntu-63/help-with-xorg-and-ubuntu-recovery-635784/)

Rustylinux 04-16-2008 12:28 PM

Help with Xorg and Ubuntu Recovery
 
Hello,

Okay so here is what happened and I can't seem to figure out. I installed Diablo 2 and the Expansion under Wine in my Ubuntu install and had a really hard time getting it to work because of the resolution it / color depth it wanted to use. Finally I added another line into my Xorg file with the following:

Subsection
Display 1080x1024 1024x768, 800x600, 640,480
Depth 32
EndSection

After a reboot the game found the proper video mode and loaded successfully :D

The next day I loaded by Ubuntu and tried to fire up Diablo 2 and it gave me the old error stating it couldn't load a client window. The console was showing the old error of BPP couldn't set color dept 32 or 16. So I went back into my Xorg config and looked at the default setting which was set to 24 color depth. I didn't have to change this the other day so i figured lets give it ago. Upon reset i couldn't get any other resolution other then 640x480 and 800x600. Also it set it back to VERSA video mode.

At this point i booted into the recovery mode and everything was working fine. Even Diablo 2 loaded without any problems what so ever? I thought the recovery used the same xorg file to boot xserver ? doesn't it?

Also after rebooting out of recovery mode and back into normal mode, everything booted fine agian? I was able to boot back into gnome with no problems, and all the resolution was fine / back to normal. However when I load Diablo 2 now it just kills my gnome and restarts it? Anyone have any idea's on how to fix this?

or

Where does the recovery mode in Ubuntu pull its files from and how can i copy its Xorg config over my default one.

angryfirelord 04-17-2008 02:08 PM

If you ever screw up your xorg.conf, you can always run this handy tool:
Code:

sudo dpkg-reconfigure xserver-xorg
This'll take you through a step-by-step method on generating a new xorg.conf file. However, note that there is no "32-bit" depth. It is 24-bit.

Rustylinux 04-18-2008 09:10 PM

Quote:

Originally Posted by angryfirelord (Post 3124428)
If you ever screw up your xorg.conf, you can always run this handy tool:
Code:

sudo dpkg-reconfigure xserver-xorg
This'll take you through a step-by-step method on generating a new xorg.conf file. However, note that there is no "32-bit" depth. It is 24-bit.

Thanks for the response, upon the 3 hours it took me to get it up and running i ran that toolt hen ran nvidia's xconfig tool to add in the nvidia stuff and its working agian. I also had to muck around with my horizontal and vertical sync as ubuntu couldn't detect my lcd monitor.

Thanks agian,


All times are GMT -5. The time now is 06:46 PM.