Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
On Fri, Jul 31, 2009 at 11:28 AM, Mike Mazur wrote: > Hi, > > On Fri, Jul 31, 2009 at 11:23, Dale wrote: > > Mike Mazur wrote: > >> On Fri, Jul 31, 2009 at 05:44, Fernando Antunes > wrote: > >>> I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg > and > >>> xfce ~x86, gentoo 2.6.30 with KMS, anymore. > >>> Both kernel and X switch to 1280x800 resolution automatically, > xinerama is > >>> disable. > >>> > >> Interesting, so you don't have /etc/X11/xorg.conf file at all? > >> > > If you have hal enabled and xorg-server-1.5 or higher, then you don't > > have to have a xorg.conf file. This is from what I have read. I have > > yet to get that hal thing to work here. > > > > If you are still on the old xorg-server then you have to have a > > xorg.conf file. > > I tried this earlier, running startx without an /etc/X11/xorg.conf in > place, but X didn't start. The error message was something along the > lines of "No screen found." > > I'm running: > - x11-base/xorg-server-1.5.3-r6 > - x11-base/xorg-x11-7.2 > - sys-apps/hal-0.5.11-r9 > Iḿ running : xorg-server : 1.6.2-r1 x11 : 7.4 hal : 0.5.13-r2 kernel : 2.6.30-gentoo-r4 x11-video-intel : 2.8.0 > > Mike > >
Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Hi, On Fri, Jul 31, 2009 at 11:23, Dale wrote: > Mike Mazur wrote: >> On Fri, Jul 31, 2009 at 05:44, Fernando Antunes wrote: >>> I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg and >>> xfce ~x86, gentoo 2.6.30 with KMS, anymore. >>> Both kernel and X switch to 1280x800 resolution automatically, xinerama is >>> disable. >>> >> Interesting, so you don't have /etc/X11/xorg.conf file at all? >> > If you have hal enabled and xorg-server-1.5 or higher, then you don't > have to have a xorg.conf file. This is from what I have read. I have > yet to get that hal thing to work here. > > If you are still on the old xorg-server then you have to have a > xorg.conf file. I tried this earlier, running startx without an /etc/X11/xorg.conf in place, but X didn't start. The error message was something along the lines of "No screen found." I'm running: - x11-base/xorg-server-1.5.3-r6 - x11-base/xorg-x11-7.2 - sys-apps/hal-0.5.11-r9 Mike
Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Mike Mazur wrote: > Hi, > > On Fri, Jul 31, 2009 at 05:44, Fernando Antunes wrote: > >> I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg and >> xfce ~x86, gentoo 2.6.30 with KMS, anymore. >> Both kernel and X switch to 1280x800 resolution automatically, xinerama is >> disable. >> > > Interesting, so you don't have /etc/X11/xorg.conf file at all? > > > Thanks, > Mike > > > If you have hal enabled and xorg-server-1.5 or higher, then you don't have to have a xorg.conf file. This is from what I have read. I have yet to get that hal thing to work here. If you are still on the old xorg-server then you have to have a xorg.conf file. Dale :-) :-)
Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Hi, On Fri, Jul 31, 2009 at 05:44, Fernando Antunes wrote: > I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg and > xfce ~x86, gentoo 2.6.30 with KMS, anymore. > Both kernel and X switch to 1280x800 resolution automatically, xinerama is > disable. Interesting, so you don't have /etc/X11/xorg.conf file at all? > When I connect a external monitor, I just use this basic script to adjust my > external monitor to have a wide screen (VGA1) > > xrandr --output LVDS1 --mode 1280x800 > xrandr --output VGA1 --mode 1280x1024 --above LVDS1 > > To do this more useful, you can pass the resolution of VGA1 as a parameter. > > To disable wide screen : > > xrandr --output LVDS --mode 1280x800 > xrandr --output VGA --mode 1024x1024 --same-as LVDS I have seen examples like this, but they all start with "execute `xrandr -q` to see which displays are connected" which in my case doesn't work. I only see something like this: $ xrandr -q Screen 0: minimum 2560 x 1024, current 2560 x 1024, maximum 2560 x 1024 default connected 2560x1024+0+0 0mm x 0mm 2560x1024 50.0* I think this may be because I'm using the xorg.conf files as generated by the nvidia-settings tool. I'll try starting X without an xorg.conf file to see if this has any effect. Thanks, Mike
Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
On Tue, Jul 28, 2009 at 11:35 AM, Mike Mazur wrote: > Hello, > Hi > > I have an nVidia card, and I can use the NVIDIA X Server Settings app > to dynamically detect and configure displays I connect to my laptop. > When I'm done with the configuration, I simply apply it, and keep on > truckin' without having to restart X. > I don't use xorg.conf in my notebook Lenovo T61, Intel 965GSM , xorg and xfce ~x86, gentoo 2.6.30 with KMS, anymore. Both kernel and X switch to 1280x800 resolution automatically, xinerama is disable. > Doing this manually each time I connect/disconnect an external display > can get tiresome. I can generate an xorg.conf for each setup I > frequently use (ie: different monitors at work/home, no monitor on the > go), but that means restarting X when the display configuration > changes. This can be undesirable if I just want to move from my desk > to the living room. > > I'd like to run a single command, passing it one of my xorg.conf files > (for instance), and have my screens configured on-the-fly. I looked at > the command-line options for nvidia-settings and nvidia-xconfig but > they don't seem to do what I want. I also looked at XRandR but I'm not > sure what's the best way forward. > > Does anyone have something like this already set up? What did you use? > Will these nvidia tools do what I need or should I look to XRandR? How > do I get started with setting up XRandR? > When I connect a external monitor, I just use this basic script to adjust my external monitor to have a wide screen (VGA1) xrandr --output LVDS1 --mode 1280x800 xrandr --output VGA1 --mode 1280x1024 --above LVDS1 To do this more useful, you can pass the resolution of VGA1 as a parameter. To disable wide screen : xrandr --output LVDS --mode 1280x800 xrandr --output VGA --mode 1024x1024 --same-as LVDS > > Thanks! > Mike > >
Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Mike Mazur ha scritto: > I'd like to run a single command, passing it one of my xorg.conf files > (for instance), and have my screens configured on-the-fly. I looked at > the command-line options for nvidia-settings and nvidia-xconfig but > they don't seem to do what I want. I also looked at XRandR but I'm not > sure what's the best way forward. > > Does anyone have something like this already set up? What did you use? > Will these nvidia tools do what I need or should I look to XRandR? How > do I get started with setting up XRandR? +1. If you get to know something about that, let me know! m.
[gentoo-user] Changing xorg.conf at runtime (nVidia cards)
Hello, I have an nVidia card, and I can use the NVIDIA X Server Settings app to dynamically detect and configure displays I connect to my laptop. When I'm done with the configuration, I simply apply it, and keep on truckin' without having to restart X. Doing this manually each time I connect/disconnect an external display can get tiresome. I can generate an xorg.conf for each setup I frequently use (ie: different monitors at work/home, no monitor on the go), but that means restarting X when the display configuration changes. This can be undesirable if I just want to move from my desk to the living room. I'd like to run a single command, passing it one of my xorg.conf files (for instance), and have my screens configured on-the-fly. I looked at the command-line options for nvidia-settings and nvidia-xconfig but they don't seem to do what I want. I also looked at XRandR but I'm not sure what's the best way forward. Does anyone have something like this already set up? What did you use? Will these nvidia tools do what I need or should I look to XRandR? How do I get started with setting up XRandR? Thanks! Mike