Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 170402-20:52+0300, Nikos Chantziaras wrote: ... > xorg.conf. Instead, I have an xorg.conf.d/nvidia.conf file: > >https://pastebin.com/raw/0GsxaFRj > Why not add those 30-something lines in an attachment, or straight into the body of the message? The paste don't last really, and then when people read on the web, how do they understand? It was already pointed out by others on this mailing list. And esp. this one is just 28 lines ... =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Option "TripleBuffer" "True" Option "NoLogo" "True" Option "DynamicTwinView" "False" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor"XG2703-GS" DefaultDepth 24 Option "UseEdidFreqs" "TRUE" Option "TwinView" "0" SubSection "Display" Depth 24 EndSubSection EndSection Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr signature.asc Description: Digital signature
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Neil Bothwick wrote: > On Tue, 4 Apr 2017 16:45:07 -0500, Dale wrote: > >> Until I do >> that, I won't know if I need a xorg file or just a couple files in >> xorg.conf.d or something else. That also is not to mention that I have >> no idea what needs to go into those new files at this time, if anything >> is needed. > The files in xorg.conf.d are just xorg.conf split up into manageable > chunks. It's analogous to having /etc/portage/package.use as a file or a > directory. > > That helps. At least I know if I have a mouse problem, I can copy the mouse section into its file and fix that. I sort of figured it would be something like that but wasn't sure. Knowing helps. One thing I would like to do, set up my monitor and TV properly. I'd like my TV to work separate from my monitor. I'm pretty sure I can do that with the video card I have. I use the DB15HD output for my monitor and the HDMI for my TV. I read somewhere that the card can drive each independently. In other words, one can have one picture and the other something else. I'd like to have smplayer go to the TV and my desktop be, well, what it is now. Maybe one of these days I'll get around to working on this stuff. Right now, I'm cutting trees, planting tree seeds, and planting garden stuff and building beds for the garden. Not to mention, there's always a friend needing something. Thanks for the info. Dale :-) :-)
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On Tue, 4 Apr 2017 16:45:07 -0500, Dale wrote: > Until I do > that, I won't know if I need a xorg file or just a couple files in > xorg.conf.d or something else. That also is not to mention that I have > no idea what needs to go into those new files at this time, if anything > is needed. The files in xorg.conf.d are just xorg.conf split up into manageable chunks. It's analogous to having /etc/portage/package.use as a file or a directory. -- Neil Bothwick Windows '96 artificial intelligence: Unable to FORMAT A: Having a go at C: pgpDeUb45O6_O.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Nikos Chantziaras wrote: > On 04/02/2017 07:35 AM, Dale wrote: >> Nikos Chantziaras wrote: >>> On 04/02/2017 06:55 AM, Walter Dnes wrote: My best guess is that the problem was due to a recent update to x11-base/xorg-server On both my systems it now requires USE="glamor". This may require changes to xorg.conf. On my main desktop, with no xorg.conf, X does the detection and configuration "auto-magically". The hot backup machine would have an old xorg.conf with old (i.e. wrong) settings for the updated xorg-server. >>> >>> This has been the case for many years now. Anyway, better late than >>> never :-P >>> >>> You do sometimes need some custom settings though. This goes in >>> seperate *.conf files now, which must be inside the >>> /etc/X11/xorg.conf.d/ directory. Some packages can place a config file >>> there automatically. >> >> I still have a xorg.conf file here. May have to test removing it one >> day. I also have a file in the xorg.conf.d/ directory. After it reads >> my file, will it also read the file in the directory or does it ignore >> anything else since I have the old file? The file is named >> 20opengl.conf. >> >> I seem to recall trying to run without it ages ago and something not >> working. Can't recall what it was since it was a good long while back. > > If you don't *need* an xorg.conf (and you don't, otherwise you'd know > :-P) then it's best to not have one. It's nothing dangerous to try. > Just move it somewhere else and logout/login. If something breaks, > just move the file back (or better, see what option you have in it > that seems you need to provide manually, and split that into a .conf > file inside xorg.conf.d. That's how I configure my nvidia driver. I > have no xorg.conf. Instead, I have an xorg.conf.d/nvidia.conf file: > > https://pastebin.com/raw/0GsxaFRj > > It's a good system. I can do small, "surgical" tweaks to options > without having to maintain a full xorg.conf file. > > > As I mentioned earlier, I tried it without a xorg file a while back and it didn't work. That is how I knew I had to keep my old one. Until I try it again, then I won't know if I need one or not. I didn't have anything special when I tried it last time, single monitor and a normal video card, and it was needed then. Now I have a monitor but also a TV connected that I watch shows on. My current setup is a bit more complicated now than it was then. Thing is, I don't have time to test this right now. I don't want to start to test it, get involved in getting it working and only get part way through only to find out I have something else I have to go do. If I'm going to start it, I'd like to have time to finish it. Until I do that, I won't know if I need a xorg file or just a couple files in xorg.conf.d or something else. That also is not to mention that I have no idea what needs to go into those new files at this time, if anything is needed. Maybe some day soon. Dale :-) :-)
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On Tue, 4 Apr 2017 22:27:57 +0200 (CEST), k...@aspodata.se wrote: > > I have an /etc/X11/xorg.conf.d/mouse.conf file. I use it to set the > > default acceleration profile. In your case, you should be able to > > delete your xorg.conf and instead just use this in mouse.conf: > > > >Section "InputDevice" > >Identifier "Mouse0" > >Driver "mouse" > >Option "Device" "/dev/whatever_you_use_currently" > >Option "Protocol" "MouseMan" > >EndSection > > Thanks for the idea, will check how xorg.conf and xorg.conf.d relate to > each other. They are the same thing. One approach puts everything in one file, one puts it in separate files that are easier to maintain. The system doesn't care, it's there for your convenience. However using both is not documented and probably not a good idea for that reason. -- Neil Bothwick Nothing is illegal if one hundred businessmen decide to do it. pgpvnrCNDs_Pm.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Nikos: > On 04/04/2017 12:11 AM, k...@aspodata.se wrote: > > Walter Dnes: > > ... > >> This state of affairs seems to have evolved slowly. There wasn't one > >> version where it worked for nobody, immediately followed by the next > >> version that worked for everybody. Years ago, X would not run without > >> an xorg.conf file. Then X started being able to properly autoconfigure > >> without an xorg.conf file for 10% of users... then 20%... then 30%, > >> etc. Today it works for just about everybody. > > > > No for me, I still use a serial mouse with mman protocol. > > I have an /etc/X11/xorg.conf.d/mouse.conf file. I use it to set the > default acceleration profile. In your case, you should be able to delete > your xorg.conf and instead just use this in mouse.conf: > >Section "InputDevice" >Identifier "Mouse0" >Driver "mouse" >Option "Device" "/dev/whatever_you_use_currently" >Option "Protocol" "MouseMan" >EndSection Thanks for the idea, will check how xorg.conf and xorg.conf.d relate to each other. Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57
[gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 04/04/2017 12:11 AM, k...@aspodata.se wrote: Walter Dnes: ... This state of affairs seems to have evolved slowly. There wasn't one version where it worked for nobody, immediately followed by the next version that worked for everybody. Years ago, X would not run without an xorg.conf file. Then X started being able to properly autoconfigure without an xorg.conf file for 10% of users... then 20%... then 30%, etc. Today it works for just about everybody. No for me, I still use a serial mouse with mman protocol. I have an /etc/X11/xorg.conf.d/mouse.conf file. I use it to set the default acceleration profile. In your case, you should be able to delete your xorg.conf and instead just use this in mouse.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/whatever_you_use_currently" Option "Protocol" "MouseMan" EndSection
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Walter Dnes: ... > This state of affairs seems to have evolved slowly. There wasn't one > version where it worked for nobody, immediately followed by the next > version that worked for everybody. Years ago, X would not run without > an xorg.conf file. Then X started being able to properly autoconfigure > without an xorg.conf file for 10% of users... then 20%... then 30%, > etc. Today it works for just about everybody. No for me, I still use a serial mouse with mman protocol. Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On Sun, Apr 02, 2017 at 08:52:57PM +0300, Nikos Chantziaras wrote > If you don't *need* an xorg.conf (and you don't, otherwise you'd know > :-P) then it's best to not have one. This state of affairs seems to have evolved slowly. There wasn't one version where it worked for nobody, immediately followed by the next version that worked for everybody. Years ago, X would not run without an xorg.conf file. Then X started being able to properly autoconfigure without an xorg.conf file for 10% of users... then 20%... then 30%, etc. Today it works for just about everybody. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Nikos Chantziaras wrote: > On 04/02/2017 12:18 PM, Neil Bothwick wrote: >> On Sat, 1 Apr 2017 23:35:59 -0500, Dale wrote: >> You do sometimes need some custom settings though. This goes in seperate *.conf files now, which must be inside the /etc/X11/xorg.conf.d/ directory. Some packages can place a config file there automatically. >> >> Packages shouldn't do that, /etc/X11/xorg.conf.d is for local >> configuration files. Packages are supposed to use >> /usr/share/X11/xorg.conf.d > > Oh. Then I guess some runtime program generates files there. I have two: > > 00-keyboard.conf > 20opengl.conf > > It seems eselect generates the opengl one, but the other I don't now > where it came from: > > # Read and parsed by systemd-localed. It's probably wise not > # to edit this file manually too freely. > Section "InputClass" > Identifier "system-keyboard" > MatchIsKeyboard "on" > Option "XkbLayout" "us" > Option "XkbModel" "pc105+inet" > Option "XkbOptions" "terminate:ctrl_alt_bksp" > EndSection > > I assumed the systemd package installed it there. (I don't use > systemd, but I have it installed.) Now I see that "qfile" doesn't find > a package this belongs to, so it's been put there by some daemon or > other program probably. > > > . > If it helps narrow the options down, I don't have systemd here. I think it was Neil that suggested eselect generates it and puts it there, or just puts it there. Dale :-) :-)
[gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 04/02/2017 07:35 AM, Dale wrote: Nikos Chantziaras wrote: On 04/02/2017 06:55 AM, Walter Dnes wrote: My best guess is that the problem was due to a recent update to x11-base/xorg-server On both my systems it now requires USE="glamor". This may require changes to xorg.conf. On my main desktop, with no xorg.conf, X does the detection and configuration "auto-magically". The hot backup machine would have an old xorg.conf with old (i.e. wrong) settings for the updated xorg-server. This has been the case for many years now. Anyway, better late than never :-P You do sometimes need some custom settings though. This goes in seperate *.conf files now, which must be inside the /etc/X11/xorg.conf.d/ directory. Some packages can place a config file there automatically. I still have a xorg.conf file here. May have to test removing it one day. I also have a file in the xorg.conf.d/ directory. After it reads my file, will it also read the file in the directory or does it ignore anything else since I have the old file? The file is named 20opengl.conf. I seem to recall trying to run without it ages ago and something not working. Can't recall what it was since it was a good long while back. If you don't *need* an xorg.conf (and you don't, otherwise you'd know :-P) then it's best to not have one. It's nothing dangerous to try. Just move it somewhere else and logout/login. If something breaks, just move the file back (or better, see what option you have in it that seems you need to provide manually, and split that into a .conf file inside xorg.conf.d. That's how I configure my nvidia driver. I have no xorg.conf. Instead, I have an xorg.conf.d/nvidia.conf file: https://pastebin.com/raw/0GsxaFRj It's a good system. I can do small, "surgical" tweaks to options without having to maintain a full xorg.conf file.
[gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 04/02/2017 12:18 PM, Neil Bothwick wrote: On Sat, 1 Apr 2017 23:35:59 -0500, Dale wrote: You do sometimes need some custom settings though. This goes in seperate *.conf files now, which must be inside the /etc/X11/xorg.conf.d/ directory. Some packages can place a config file there automatically. Packages shouldn't do that, /etc/X11/xorg.conf.d is for local configuration files. Packages are supposed to use /usr/share/X11/xorg.conf.d Oh. Then I guess some runtime program generates files there. I have two: 00-keyboard.conf 20opengl.conf It seems eselect generates the opengl one, but the other I don't now where it came from: # Read and parsed by systemd-localed. It's probably wise not # to edit this file manually too freely. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "us" Option "XkbModel" "pc105+inet" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection I assumed the systemd package installed it there. (I don't use systemd, but I have it installed.) Now I see that "qfile" doesn't find a package this belongs to, so it's been put there by some daemon or other program probably.
[gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 04/02/2017 09:40 AM, Dale wrote: > Neil Bothwick wrote: >> On Sat, 1 Apr 2017 23:35:59 -0500, Dale wrote: >> You do sometimes need some custom settings though. This goes in seperate *.conf files now, which must be inside the /etc/X11/xorg.conf.d/ directory. Some packages can place a config file there automatically. >> Packages shouldn't do that, /etc/X11/xorg.conf.d is for local >> configuration files. Packages are supposed to use >> /usr/share/X11/xorg.conf.d > > According to this, nothing put it there. I know I didn't put it there. > > > root@fireball / # equery b /etc/X11/xorg.conf.d/20opengl.conf > * Searching for /etc/X11/xorg.conf.d/20opengl.conf ... > root@fireball / # > > > Makes one wonder, where did that come from? > It is automatically generated by eselect-opengl, which means it does need to be in /etc. It is used to tell Xorg which OpenGL libraries to use, so that it doesn't have to make a bunch of symlinks in /usr anymore. If you aren't using proprietary xorg drivers, then it doesn't actually change any settings. -- Jonathan Callen signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Neil Bothwick wrote: > On Sat, 1 Apr 2017 23:35:59 -0500, Dale wrote: > >>> You do sometimes need some custom settings though. This goes in >>> seperate *.conf files now, which must be inside the >>> /etc/X11/xorg.conf.d/ directory. Some packages can place a config file >>> there automatically. > Packages shouldn't do that, /etc/X11/xorg.conf.d is for local > configuration files. Packages are supposed to use > /usr/share/X11/xorg.conf.d According to this, nothing put it there. I know I didn't put it there. root@fireball / # equery b /etc/X11/xorg.conf.d/20opengl.conf * Searching for /etc/X11/xorg.conf.d/20opengl.conf ... root@fireball / # Makes one wonder, where did that come from? >> I still have a xorg.conf file here. May have to test removing it one >> day. I also have a file in the xorg.conf.d/ directory. After it reads >> my file, will it also read the file in the directory or does it ignore >> anything else since I have the old file? The file is named >> 20opengl.conf. > Both are read. I believe the xorg.conf.d files have higher precedence > but the xorg.conf man page is unclear on this. > > H. Well at least everything works, so far. Dale :-) :-)
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On Sat, 1 Apr 2017 23:35:59 -0500, Dale wrote: > > You do sometimes need some custom settings though. This goes in > > seperate *.conf files now, which must be inside the > > /etc/X11/xorg.conf.d/ directory. Some packages can place a config file > > there automatically. Packages shouldn't do that, /etc/X11/xorg.conf.d is for local configuration files. Packages are supposed to use /usr/share/X11/xorg.conf.d > I still have a xorg.conf file here. May have to test removing it one > day. I also have a file in the xorg.conf.d/ directory. After it reads > my file, will it also read the file in the directory or does it ignore > anything else since I have the old file? The file is named > 20opengl.conf. Both are read. I believe the xorg.conf.d files have higher precedence but the xorg.conf man page is unclear on this. -- Neil Bothwick In possession of a mind not merely twisted, but actually sprained. pgpLiCD6SHbf0.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
Nikos Chantziaras wrote: > On 04/02/2017 06:55 AM, Walter Dnes wrote: >> My best guess is that the problem was due to a recent update to >> x11-base/xorg-server On both my systems it now requires USE="glamor". >> This may require changes to xorg.conf. On my main desktop, with no >> xorg.conf, X does the detection and configuration "auto-magically". The >> hot backup machine would have an old xorg.conf with old (i.e. wrong) >> settings for the updated xorg-server. > > This has been the case for many years now. Anyway, better late than > never :-P > > You do sometimes need some custom settings though. This goes in > seperate *.conf files now, which must be inside the > /etc/X11/xorg.conf.d/ directory. Some packages can place a config file > there automatically. > > > I still have a xorg.conf file here. May have to test removing it one day. I also have a file in the xorg.conf.d/ directory. After it reads my file, will it also read the file in the directory or does it ignore anything else since I have the old file? The file is named 20opengl.conf. I seem to recall trying to run without it ages ago and something not working. Can't recall what it was since it was a good long while back. Dale :-) :-)
[gentoo-user] Re: Heads up: A reason *NOT* to have xorg.conf file
On 04/02/2017 06:55 AM, Walter Dnes wrote: My best guess is that the problem was due to a recent update to x11-base/xorg-server On both my systems it now requires USE="glamor". This may require changes to xorg.conf. On my main desktop, with no xorg.conf, X does the detection and configuration "auto-magically". The hot backup machine would have an old xorg.conf with old (i.e. wrong) settings for the updated xorg-server. This has been the case for many years now. Anyway, better late than never :-P You do sometimes need some custom settings though. This goes in seperate *.conf files now, which must be inside the /etc/X11/xorg.conf.d/ directory. Some packages can place a config file there automatically.