Reset Graphic Mode?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Reset Graphic Mode?

Postby |Arch| on Mon Feb 11, 2013 3:13 pm

Hi,

TLDR; how to reset graphic mode / resolution with nvidia drivers.

I've been trying the native linux version of steam, and if I run native fullscreen in the game FTL, the resolution changes and my 2nd monitor is disabled. This is fine, but when I exit the game, my 2nd monitor is still disabled and the mainscreen is only showing top left corner of the desktop, hiding the menu and similar things from me. This makes me feel helpless, and my only solution for now has been to restart my computer.

I'm assuming it's just a matter of telling my display driver to reset back into previous display mode after exiting my game, but I've no clue how to do that. Any ideas?

Linux Mint 14 64bit Cinnamon, Nvidia 570 with 3.10 experimental beta drivers installed.


As a workaround, I guess I could log into another tty, startx and then launch the game from there so that it does not affect my main tty, but I think that's kind of messy. I could also play windowed mode, but that just hides the issue.
|Arch|
Level 1
Level 1
 
Posts: 16
Joined: Mon Feb 11, 2013 2:59 pm

Linux Mint is funded by ads and donations.
 

Re: Reset Graphic Mode?

Postby cecar on Mon Feb 11, 2013 3:27 pm

I dont know if this will work but try to login to another tty when that happends and check if the resolution resets back to default.

Code: Select all
xrandr -s 0
cecar
Level 4
Level 4
 
Posts: 365
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Reset Graphic Mode?

Postby |Arch| on Mon Feb 11, 2013 3:38 pm

If I log into a new tty and start xserver, it works for that instance, but if I switch back to the old tty, the view is still unchanged.
|Arch|
Level 1
Level 1
 
Posts: 16
Joined: Mon Feb 11, 2013 2:59 pm

Re: Reset Graphic Mode?

Postby passerby on Mon Feb 11, 2013 10:15 pm

You should be able to restart x using ctrl + alt + backspace. It'll log you out, but it beats rebooting.
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots
User avatar
passerby
Level 6
Level 6
 
Posts: 1375
Joined: Sun Dec 16, 2012 7:29 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Dirkoir, Reorx, Tharbad and 22 guests