Date: Mon, 24 Aug 2020 08:37:44 -0500 From: Antonio Olivares <olivares14031@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Reset xorg using lumina desktop Message-ID: <CAJ5UdcMWWbAxD%2BHFnj%2BnGHPXxVVhYSaHFrsWMF8rkFUQrveO8A@mail.gmail.com> In-Reply-To: <20200823102746.00ccd768.freebsd@edvax.de> References: <CAJ5UdcO7E-t4CG%2BO_Md8muF8eNYpNV7VCQVkhJ9Qs%2BbBT4mNRA@mail.gmail.com> <DB8PR06MB64421523A3EFEDCDC198D150F6580@DB8PR06MB6442.eurprd06.prod.outlook.com> <20200823102746.00ccd768.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Polytropon, Manish et all who have provided suggestions. I tried the Xorg -configure approach, when testing the screen is just blank. The xorg.conf.new file, the output from xrandr will be attached. olivares@e154-1$ xrandr Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192 VGA-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 434mm x 236mm 1600x900 59.98*+ 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 720x400 70.08 olivares@e154-1$ olivares@e154-1$ su - Password: root@e154-1:~ # cat xorg.conf.new Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" FontPath "catalogue:/usr/local/etc/X11/fontpath.d" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", ### <percent>: "<f>%" ### [arg]: arg optional #Option "SWcursor" # [<bool>] #Option "kmsdev" # <str> #Option "ShadowFB" # [<bool>] #Option "AccelMethod" # <str> #Option "PageFlip" # [<bool>] #Option "ZaphodHeads" # <str> #Option "DoubleShadow" # [<bool>] #Option "Atomic" # [<bool>] Identifier "Card0" Driver "modesetting" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection root@e154-1:~ # kld_list="/boot/modules/i915kms.ko" root@e154-1:~ # pciconf -lvbce hostb0@pci0:0:0:0: class=0x060000 card=0x04ad1028 chip=0x01008086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family DRAM Controller' class = bridge subclass = HOST-PCI cap 09[e0] = vendor (length 12) Intel cap 0 version 1 PCI errors = Received Master-Abort vgapci0@pci0:0:2:0: class=0x030000 card=0x04ad1028 chip=0x01028086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family Integrated Graphics Controller' class = display subclass = VGA bar [10] = type Memory, range 64, base 0xe0c00000, size 4194304, enabled bar [18] = type Prefetchable Memory, range 64, base 0xd0000000, size 268435456, enabled bar [20] = type I/O Port, range 32, base 0x3000, size 64, enabled cap 05[90] = MSI supports 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 cap 13[a4] = PCI Advanced Features: FLR TP none0@pci0:0:22:0: class=0x078000 card=0x04ad1028 chip=0x1c3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family MEI Controller' class = simple comms bar [10] = type Memory, range 64, base 0xe1ab0000, size 16, enabled cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[8c] = MSI supports 1 message, 64 bit uart2@pci0:0:22:3: class=0x070002 card=0x04ad1028 chip=0x1c3d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family KT Controller' class = simple comms subclass = UART bar [10] = type I/O Port, range 32, base 0x30e0, size 8, enabled bar [14] = type Memory, range 32, base 0xe1a90000, size 4096, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message em0@pci0:0:25:0: class=0x020000 card=0x047e1028 chip=0x15028086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82579LM Gigabit Network Connection (Lewisville)' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0xe1a00000, size 131072, enabled bar [14] = type Memory, range 32, base 0xe1a80000, size 4096, enabled bar [18] = type I/O Port, range 32, base 0x3080, size 32, enabled cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP ehci0@pci0:0:26:0: class=0x0c0320 card=0x04ad1028 chip=0x1c2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xe1a70000, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP hdac0@pci0:0:27:0: class=0x040300 card=0x04ad1028 chip=0x1c208086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family High Definition Audio Controller' class = multimedia subclass = HDA bar [10] = type Memory, range 64, base 0xe1a60000, size 16384, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR NS ecap 0002[100] = VC 1 max VC1 ecap 0005[130] = Root Complex Link Declaration 1 pcib1@pci0:0:28:0: class=0x060400 card=0x04ad1028 chip=0x1c108086 rev=0xb4 hdr=0x01 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family PCI Express Root Port 1' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1) speed 0.0(5.0) ASPM L0s/L1(L0s/L1) slot 0 power limit 100 mW cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x04ad1028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 pcib2@pci0:0:28:2: class=0x060400 card=0x04ad1028 chip=0x1c148086 rev=0xb4 hdr=0x01 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family PCI Express Root Port 3' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1) speed 0.0(5.0) ASPM L0s/L1(L0s/L1) slot 2 power limit 100 mW HotPlug(empty) surprise cap 05[80] = MSI supports 1 message enabled with 1 message cap 0d[90] = PCI Bridge card=0x04ad1028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 ehci1@pci0:0:29:0: class=0x0c0320 card=0x04ad1028 chip=0x1c268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xe1a50000, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP pcib3@pci0:0:30:0: class=0x060401 card=0x04ad1028 chip=0x244e8086 rev=0xa4 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI cap 0d[50] = PCI Bridge card=0x04ad1028 isab0@pci0:0:31:0: class=0x060100 card=0x04ad1028 chip=0x1c4c8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Q65 Express Chipset LPC Controller' class = bridge subclass = PCI-ISA cap 09[e0] = vendor (length 12) Intel cap 1 version 0 features: AMT, 4 PCI-e x1 slots ahci0@pci0:0:31:2: class=0x010601 card=0x04ad1028 chip=0x1c028086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0x30d0, size 8, enabled bar [14] = type I/O Port, range 32, base 0x30c0, size 4, enabled bar [18] = type I/O Port, range 32, base 0x30b0, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x30a0, size 4, enabled bar [20] = type I/O Port, range 32, base 0x3060, size 32, enabled bar [24] = type Memory, range 32, base 0xe1a40000, size 2048, enabled cap 05[80] = MSI supports 1 message enabled with 1 message cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 13[b0] = PCI Advanced Features: FLR TP none1@pci0:0:31:3: class=0x0c0500 card=0x04ad1028 chip=0x1c228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family SMBus Controller' class = serial bus subclass = SMBus bar [10] = type Memory, range 64, base 0xe1a30000, size 256, enabled bar [20] = type I/O Port, range 32, base 0x3040, size 32, enabled root@e154-1:~ # Maybe what I should do is refresh the question, How do I reset the screen on Lumina desktop and not xorg. Xorg is working. I just want the screen back to normal because I am not using the epson projector anymore. That is what I should have said. Thanks for all helping me and advising me. Best Regards, Antonio On Sun, Aug 23, 2020 at 3:27 AM Polytropon <freebsd@edvax.de> wrote: > > On Sun, 23 Aug 2020 04:14:17 +0530, Manish Jain wrote: > > > > > > On 2020-08-23 02:57, Antonio Olivares wrote: > > > Dear kind FreeBSD users, > > > > > > I am running FreeBSD using lumina. I was using two screens, one with HDMI > > > and one with VGA at school. Since learning is now online, I am using only > > > HDMI now, but my screen only remembers new setting. I have tried checking > > > /etc/X11/xorg.conf but it is not present. I try screen configuration, but > > > cannot reset it to only Monitor with HDMI output. > > > > > > How can I reset it so I can just have fresh desktop with all icons on the > > > screen? > > > > > > If you need output from xrandr, I can send it in on Monday. When teaching > > > online and using Google classroom, the microphone was muted, I started > > > using telefono to use and connect with it. My sister got for me a > > > Bluetooth device, but that will be a challenge to get working. > > > > > > I appreciate help/advice and suggestions to fix the screen. > > > > You have not mentioned what graphics chip you are using. > > > > Perhaps creating a new xorg.conf might take care of your problem. > > Can you try booting FreeBSD in text mode and run the following: > > > > 1) Xorg -configure > > 2) mv xorg.conf.new /etc/X11/xorg.conf > > 3) reboot > > Even though this is technically correct, it usually is no longer > needed. X's auto-magic will do everything on its own, without > a configuration file. > > Also, step 2 should be: > > mv xorg.conf.new /usr/local/etc/X11/xorg.conf > > This is the "new" location of the xorg.conf file according to > the hierarchy layout concept that all 3rd party configuration > files should reside in /usr/local/etc, and X is not part of > the OS, therefore not deserving a file in /etc - even though > this location is still supported. > > A configuration file, or a partial configuration file, as > mentioned elsewhere, still can be fully justified, especially > when you need to tell X to do something the auto-magic didn't > get right (or which it did "know better than you"), for example > if you want to force a specific display or screen size > ("resolution"). > > Such files go to the /usr/local/etc/X11/xorg.conf.d/ directory. > > By the way, certain aspects of the display configuration for > "internal / external" can often be configured in the BIOS / UEFI > setup (for laptops, that is). > > > > > Oh, and FreeBSD's "text mode", with vt, isn't any longer a > text mode, it's just a non-X graphics mode. ;-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcMWWbAxD%2BHFnj%2BnGHPXxVVhYSaHFrsWMF8rkFUQrveO8A>